|
IODA
|
#include <ObsSpace.h>
Public Member Functions | |
| ObsDimInfo () | |
| ObsDimensionId | get_dim_id (const std::string &dimName) const |
| return the standard id value for the given dimension name More... | |
| std::string | get_dim_name (const ObsDimensionId dimId) const |
| return the dimension name for the given dimension id More... | |
| std::size_t | get_dim_size (const ObsDimensionId dimId) const |
| return the dimension size for the given dimension id More... | |
| void | set_dim_size (const ObsDimensionId dimId, std::size_t dimSize) |
| set the dimension size for the given dimension id More... | |
Private Attributes | |
| std::map< ObsDimensionId, std::string > | dim_id_name_ |
| map going from dim id to dim name More... | |
| std::map< ObsDimensionId, std::size_t > | dim_id_size_ |
| map going from dim id to dim size More... | |
| std::map< std::string, ObsDimensionId > | dim_name_id_ |
| map going from dim name to id More... | |
Definition at line 66 of file src/ObsSpace.h.
| ioda::ObsDimInfo::ObsDimInfo | ( | ) |
Definition at line 66 of file ObsSpace.cc.
| ObsDimensionId ioda::ObsDimInfo::get_dim_id | ( | const std::string & | dimName | ) | const |
return the standard id value for the given dimension name
Definition at line 80 of file ObsSpace.cc.

| std::string ioda::ObsDimInfo::get_dim_name | ( | const ObsDimensionId | dimId | ) | const |
return the dimension name for the given dimension id
Definition at line 84 of file ObsSpace.cc.

| std::size_t ioda::ObsDimInfo::get_dim_size | ( | const ObsDimensionId | dimId | ) | const |
return the dimension size for the given dimension id
Definition at line 88 of file ObsSpace.cc.

| void ioda::ObsDimInfo::set_dim_size | ( | const ObsDimensionId | dimId, |
| std::size_t | dimSize | ||
| ) |
set the dimension size for the given dimension id
Definition at line 92 of file ObsSpace.cc.

|
private |
map going from dim id to dim name
Definition at line 84 of file src/ObsSpace.h.
|
private |
map going from dim id to dim size
Definition at line 87 of file src/ObsSpace.h.
|
private |
map going from dim name to id
Definition at line 90 of file src/ObsSpace.h.