PlasCom2  1.0
XPACC Multi-physics simluation application
metadataset Class Reference

Detailed Description

Definition at line 275 of file PCPPFieldData.H.

#include <PCPPFieldData.H>

Public Member Functions

metadatasetoperator= (const metadataset &inMetaData)
 
void Append (const metadataset &inMetaData)
 
void Copy (const metadataset &inMetaData)
 
void ReadFromStream (std::istream &InStr)
 
void WriteToStream (std::ostream &OutStr)
 
void AddField (const std::string &name, char loc, unsigned int ncomp, unsigned int dsize, const std::string &unit)
 
void AddField (const std::string &name, metadata &inMeta)
 
std::string Report () const
 

Friends

std::istream & operator>> (std::istream &IStr, metadataset &md)
 
std::ostream & operator<< (std::ostream &OStr, const metadataset &md)
 
Inheritance diagram for metadataset:
Collaboration diagram for metadataset:

Member Function Documentation

◆ AddField() [1/2]

void AddField ( const std::string &  name,
char  loc,
unsigned int  ncomp,
unsigned int  dsize,
const std::string &  unit 
)
inline

Definition at line 333 of file PCPPFieldData.H.

References metadata::dsize, metadata::loc, metadata::name, metadata::ncomp, and metadata::unit.

Referenced by pcpp::util::ConfigureDataDictionary(), and pcpp::io::hdf5::LegacyFileInfo().

Here is the caller graph for this function:

◆ AddField() [2/2]

void AddField ( const std::string &  name,
metadata inMeta 
)
inline

Definition at line 345 of file PCPPFieldData.H.

References metadata::name.

◆ Append()

void Append ( const metadataset inMetaData)
inline

Definition at line 290 of file PCPPFieldData.H.

◆ Copy()

void Copy ( const metadataset inMetaData)
inline

Definition at line 298 of file PCPPFieldData.H.

References databuffer::resize().

Referenced by dataset::Copy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

metadataset& operator= ( const metadataset inMetaData)
inline

Definition at line 284 of file PCPPFieldData.H.

References databuffer::Copy().

Here is the call graph for this function:

◆ ReadFromStream()

void ReadFromStream ( std::istream &  InStr)
inline

Definition at line 307 of file PCPPFieldData.H.

References databuffer::resize().

Referenced by TestHDF5PBSGridIO().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Report()

std::string Report ( ) const
inline

Definition at line 352 of file PCPPFieldData.H.

References metadata::dsize, metadata::loc, metadata::name, metadata::ncomp, and metadata::unit.

Referenced by base< GridT, StateT >::Report(), and pcpp::report::SimFileInfo().

Here is the caller graph for this function:

◆ WriteToStream()

void WriteToStream ( std::ostream &  OutStr)
inline

Definition at line 324 of file PCPPFieldData.H.

References databuffer::size().

Referenced by TestHDF5PBSGridIO().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  OStr,
const metadataset md 
)
friend

Definition at line 106 of file PCPPFieldData.C.

◆ operator>>

std::istream& operator>> ( std::istream &  IStr,
metadataset md 
)
friend

Definition at line 85 of file PCPPFieldData.C.


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