moab
moab::Tqdcfr::MetaDataContainer Class Reference

#include <Tqdcfr.hpp>

List of all members.

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 94 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 2879 of file Tqdcfr.cpp.

{
  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 2866 of file Tqdcfr.cpp.

{
  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 97 of file Tqdcfr.hpp.

Definition at line 97 of file Tqdcfr.hpp.


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