|
IODA
|
#include <Attributes.hpp>
Public Member Functions | |
| Has_Attributes () | |
| ~Has_Attributes () | |
| std::shared_ptr< Attribute > | create (const std::string &name, const ioda::ObsStore::ObsTypes &dtype, const std::vector< std::size_t > &dims) |
| create a new attribute More... | |
| std::shared_ptr< Attribute > | open (const std::string &name) const |
| open an exsiting attribute (throws exception if not found) More... | |
| bool | exists (const std::string &name) const |
| returns true if attribute is in the container More... | |
| void | remove (const std::string &name) |
| remove attribtute from container More... | |
| void | rename (const std::string &oldName, const std::string &newName) |
| rename attribtute in container More... | |
| std::vector< std::string > | list () const |
| returns a list of the names of attributes in the container More... | |
Private Attributes | |
| std::map< std::string, std::shared_ptr< Attribute > > | attributes_ |
| container of attributes More... | |
Definition at line 71 of file Attributes.hpp.
|
inline |
Definition at line 77 of file Attributes.hpp.
|
inline |
Definition at line 78 of file Attributes.hpp.
| std::shared_ptr< Attribute > ioda::ObsStore::Has_Attributes::create | ( | const std::string & | name, |
| const ioda::ObsStore::ObsTypes & | dtype, | ||
| const std::vector< std::size_t > & | dims | ||
| ) |
create a new attribute
Definition at line 79 of file Attributes.cpp.
| bool ioda::ObsStore::Has_Attributes::exists | ( | const std::string & | name | ) | const |
returns true if attribute is in the container
| name | name of attribute |
Definition at line 95 of file Attributes.cpp.
| std::vector< std::string > ioda::ObsStore::Has_Attributes::list | ( | ) | const |
returns a list of the names of attributes in the container
Definition at line 107 of file Attributes.cpp.
| std::shared_ptr< Attribute > ioda::ObsStore::Has_Attributes::open | ( | const std::string & | name | ) | const |
open an exsiting attribute (throws exception if not found)
| name | name of attribute |
Definition at line 87 of file Attributes.cpp.


| void ioda::ObsStore::Has_Attributes::remove | ( | const std::string & | name | ) |
remove attribtute from container
| name | name of attribute |
Definition at line 99 of file Attributes.cpp.
| void ioda::ObsStore::Has_Attributes::rename | ( | const std::string & | oldName, |
| const std::string & | newName | ||
| ) |
rename attribtute in container
| oldName | current name of attribute |
| newName | new name for attribute |
Definition at line 101 of file Attributes.cpp.

|
private |
container of attributes
Definition at line 74 of file Attributes.hpp.