|
IODA Bundle
|
#include <MetaData.h>
Public Member Functions | |
| MetaData () | |
| MetaData (int) | |
| MetaData (int, Column *) | |
| MetaData (const MetaData &) | |
| MetaData * | clone () const |
| unsigned long long | rowsNumber () const |
| void | rowsNumber (unsigned long long n) |
| unsigned long long | dataSize () const |
| void | dataSize (unsigned long long n) |
| MetaData & | operator= (const MetaData &) |
| MetaData & | operator+= (const MetaData &) |
| MetaData | operator+ (const MetaData &) |
| bool | operator== (const MetaData &) const |
| Check if number of columns, column names and column types are equal. Values not checked. More... | |
| bool | equals (const MetaData &md, bool compareDataSizes=true) const |
| bool | equalsIncludingConstants (const MetaData &, const std::vector< std::string > &constColumns) const |
| bool | operator!= (const MetaData &other) const |
| bool | compatible (const MetaData &other) const |
| void | operator|= (const MetaData &other) |
| template<typename ByteStream > | |
| void | save (DataStream< ByteStream > &ds) const |
| template<typename ByteStream > | |
| void | load (DataStream< ByteStream > &ds) |
| void | setSize (size_t) |
| MetaData & | addColumn (const std::string &name, const std::string &type) |
| template<typename ByteOrder > | |
| MetaData & | addColumnPrivate (const std::string &name, const std::string &type) |
| bool | allColumnsInitialised () const |
| MetaData & | addBitfield (const std::string &name, const eckit::sql::BitfieldDef &) |
| template<typename ByteOrder > | |
| MetaData & | addBitfieldPrivate (const std::string &name, const eckit::sql::BitfieldDef &) |
| bool | hasColumn (const std::string &) const |
| Column * | columnByName (const std::string &) const |
| size_t | columnIndex (const std::string &) const |
| void | resetStats () |
| template<typename ByteOrder > | |
| void | resetCodecs () |
| virtual | ~MetaData () |
| virtual void | print (std::ostream &s) const |
| template<typename ByteOrder > | |
| void | save (DataStream< ByteOrder > &ds) const |
| template<typename ByteOrder > | |
| void | load (DataStream< ByteOrder > &ds) |
Static Public Member Functions | |
| static api::ColumnType | convertType (const std::string &) |
Private Attributes | |
| unsigned long long | rowsNumber_ |
| unsigned long long | dataSize_ |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const MetaData &p) |
Definition at line 31 of file MetaData.h.
| odc::core::MetaData::MetaData | ( | ) |
| odc::core::MetaData::MetaData | ( | int | i | ) |
Definition at line 24 of file MetaData.cc.
| odc::core::MetaData::MetaData | ( | int | i, |
| Column * | p | ||
| ) |
Definition at line 25 of file MetaData.cc.
| odc::core::MetaData::MetaData | ( | const MetaData & | md | ) |
Definition at line 28 of file MetaData.cc.
|
virtual |
Definition at line 77 of file MetaData.cc.
| MetaData & odc::core::MetaData::addBitfield | ( | const std::string & | name, |
| const eckit::sql::BitfieldDef & | bf | ||
| ) |
| MetaData & odc::core::MetaData::addBitfieldPrivate | ( | const std::string & | name, |
| const eckit::sql::BitfieldDef & | bd | ||
| ) |
Definition at line 152 of file MetaData.h.
| MetaData & odc::core::MetaData::addColumn | ( | const std::string & | name, |
| const std::string & | type | ||
| ) |
| MetaData & odc::core::MetaData::addColumnPrivate | ( | const std::string & | name, |
| const std::string & | type | ||
| ) |
| bool odc::core::MetaData::allColumnsInitialised | ( | ) | const |
| MetaData * odc::core::MetaData::clone | ( | ) | const |
| Column * odc::core::MetaData::columnByName | ( | const std::string & | name | ) | const |
Definition at line 84 of file MetaData.cc.
| size_t odc::core::MetaData::columnIndex | ( | const std::string & | name | ) | const |
| bool odc::core::MetaData::compatible | ( | const MetaData & | other | ) | const |
|
static |
Definition at line 35 of file MetaData.cc.
|
inline |
|
inline |
Definition at line 43 of file MetaData.h.
| bool odc::core::MetaData::equals | ( | const MetaData & | md, |
| bool | compareDataSizes = true |
||
| ) | const |
| bool odc::core::MetaData::equalsIncludingConstants | ( | const MetaData & | other, |
| const std::vector< std::string > & | constColumns | ||
| ) | const |
| bool odc::core::MetaData::hasColumn | ( | const std::string & | name | ) | const |
| void odc::core::MetaData::load | ( | DataStream< ByteOrder > & | ds | ) |
| void odc::core::MetaData::load | ( | DataStream< ByteStream > & | ds | ) |
|
inline |
Definition at line 55 of file MetaData.h.
Definition at line 164 of file MetaData.cc.
Definition at line 136 of file MetaData.cc.
Definition at line 112 of file MetaData.cc.
| bool odc::core::MetaData::operator== | ( | const MetaData & | other | ) | const |
Check if number of columns, column names and column types are equal. Values not checked.
Definition at line 212 of file MetaData.cc.
| void odc::core::MetaData::operator|= | ( | const MetaData & | other | ) |
Definition at line 151 of file MetaData.cc.
|
virtual |
Definition at line 272 of file MetaData.cc.
|
inline |
| void odc::core::MetaData::resetStats | ( | ) |
|
inline |
|
inline |
Definition at line 40 of file MetaData.h.
| void odc::core::MetaData::save | ( | DataStream< ByteOrder > & | ds | ) | const |
| void odc::core::MetaData::save | ( | DataStream< ByteStream > & | ds | ) | const |
| void odc::core::MetaData::setSize | ( | size_t | n | ) |
|
friend |
Definition at line 102 of file MetaData.h.
|
private |
Definition at line 107 of file MetaData.h.
|
private |
Definition at line 106 of file MetaData.h.