MOAB: Mesh Oriented datABase  (version 5.2.1)
moab::Tqdcfr::MetaDataContainer Class Reference

#include <Tqdcfr.hpp>

Classes

class  MetaDataEntry

Public Member Functions

void print ()
int get_md_entry (const unsigned int owner, const std::string &name)
 MetaDataContainer ()

Public Attributes

unsigned int mdSchema
unsigned int compressFlag
std::vector< MetaDataEntrymetadataEntries

Detailed Description

Definition at line 91 of file Tqdcfr.hpp.


Constructor & Destructor Documentation


Member Function Documentation

int moab::Tqdcfr::MetaDataContainer::get_md_entry ( const unsigned int  owner,
const std::string &  name 
)

Definition at line 2977 of file Tqdcfr.cpp.

Referenced by moab::Tqdcfr::get_names(), moab::Tqdcfr::load_file(), moab::Tqdcfr::read_group(), and moab::Tqdcfr::read_nodes().

{
    for( unsigned int i = 0; i < metadataEntries.size(); i++ )
    {
        if( owner == metadataEntries[i].mdOwner && name == metadataEntries[i].mdName ) return i;
    }

    return -1;
}

Definition at line 2966 of file Tqdcfr.cpp.

References compressFlag, mdSchema, and metadataEntries.

Referenced by moab::Tqdcfr::read_meta_data().

{
    std::cout << "MetaDataContainer:mdSchema, compressFlag, numDatums = " << mdSchema << ", " << compressFlag << ", "
              << metadataEntries.size() << std::endl;

    for( unsigned int i = 0; i < metadataEntries.size(); i++ )
        metadataEntries[i].print();
}

Member Data Documentation

Definition at line 94 of file Tqdcfr.hpp.

Referenced by print(), and moab::Tqdcfr::read_meta_data().

Definition at line 94 of file Tqdcfr.hpp.

Referenced by print(), and moab::Tqdcfr::read_meta_data().

List of all members.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines