Mesh Oriented datABase  (version 5.5.0)
An array-based unstructured mesh library
moab::Tqdcfr::MetaDataContainer Class Reference

#include <Tqdcfr.hpp>

+ Collaboration diagram for moab::Tqdcfr::MetaDataContainer:

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

◆ MetaDataContainer()

moab::Tqdcfr::MetaDataContainer::MetaDataContainer ( )

Definition at line 3028 of file Tqdcfr.cpp.

3028 : mdSchema( 0 ), compressFlag( 0 ) {}

Member Function Documentation

◆ get_md_entry()

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

Definition at line 3030 of file Tqdcfr.cpp.

3031 {
3032  for( unsigned int i = 0; i < metadataEntries.size(); i++ )
3033  {
3034  if( owner == metadataEntries[i].mdOwner && name == metadataEntries[i].mdName ) return i;
3035  }
3036 
3037  return -1;
3038 }

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

◆ print()

void moab::Tqdcfr::MetaDataContainer::print ( )

Definition at line 3019 of file Tqdcfr.cpp.

3020 {
3021  std::cout << "MetaDataContainer:mdSchema, compressFlag, numDatums = " << mdSchema << ", " << compressFlag << ", "
3022  << metadataEntries.size() << std::endl;
3023 
3024  for( unsigned int i = 0; i < metadataEntries.size(); i++ )
3025  metadataEntries[i].print();
3026 }

References compressFlag, mdSchema, and metadataEntries.

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

Member Data Documentation

◆ compressFlag

unsigned int moab::Tqdcfr::MetaDataContainer::compressFlag

Definition at line 94 of file Tqdcfr.hpp.

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

◆ mdSchema

unsigned int moab::Tqdcfr::MetaDataContainer::mdSchema

Definition at line 94 of file Tqdcfr.hpp.

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

◆ metadataEntries

std::vector< MetaDataEntry > moab::Tqdcfr::MetaDataContainer::metadataEntries

The documentation for this class was generated from the following files: