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

#include <Tqdcfr.hpp>

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

Public Member Functions

 MetaDataEntry ()
 
void print ()
 

Public Attributes

unsigned int mdOwner
 
unsigned int mdDataType
 
unsigned int mdIntValue
 
std::string mdName
 
std::string mdStringValue
 
std::vector< unsigned int > mdIntArrayValue
 
double mdDblValue
 
std::vector< double > mdDblArrayValue
 

Detailed Description

Definition at line 96 of file Tqdcfr.hpp.

Constructor & Destructor Documentation

◆ MetaDataEntry()

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

Definition at line 2994 of file Tqdcfr.cpp.

2995  : mdOwner( 0 ), mdDataType( 0 ), mdIntValue( 0 ), mdName( "(uninit)" ), mdStringValue( "(uninit)" ), mdDblValue( 0 )
2996 {
2997 }

Member Function Documentation

◆ print()

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

Definition at line 2999 of file Tqdcfr.cpp.

3000 {
3001  std::cout << "MetaDataEntry:own, typ, name, I, D, S = " << mdOwner << ", " << mdDataType << ", " << mdName << ", "
3002  << mdIntValue << ", " << mdDblValue << ", " << mdStringValue;
3003  unsigned int i;
3004  if( mdIntArrayValue.size() )
3005  {
3006  std::cout << std::endl << "IArray = " << mdIntArrayValue[0];
3007  for( i = 1; i < mdIntArrayValue.size(); i++ )
3008  std::cout << ", " << mdIntArrayValue[i];
3009  }
3010  if( mdDblArrayValue.size() )
3011  {
3012  std::cout << std::endl << "DArray = " << mdDblArrayValue[0];
3013  for( i = 1; i < mdDblArrayValue.size(); i++ )
3014  std::cout << ", " << mdDblArrayValue[i];
3015  }
3016  std::cout << std::endl;
3017 }

Member Data Documentation

◆ mdDataType

unsigned int moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdDataType

Definition at line 99 of file Tqdcfr.hpp.

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

◆ mdDblArrayValue

std::vector< double > moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdDblArrayValue

Definition at line 103 of file Tqdcfr.hpp.

◆ mdDblValue

double moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdDblValue

Definition at line 102 of file Tqdcfr.hpp.

◆ mdIntArrayValue

std::vector< unsigned int > moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdIntArrayValue

Definition at line 101 of file Tqdcfr.hpp.

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

◆ mdIntValue

unsigned int moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdIntValue

Definition at line 99 of file Tqdcfr.hpp.

◆ mdName

std::string moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdName

Definition at line 100 of file Tqdcfr.hpp.

◆ mdOwner

unsigned int moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdOwner

Definition at line 99 of file Tqdcfr.hpp.

◆ mdStringValue

std::string moab::Tqdcfr::MetaDataContainer::MetaDataEntry::mdStringValue

Definition at line 100 of file Tqdcfr.hpp.

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


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