Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VarInfo_HDF4 Struct Reference

Struct containing necessary information about an attribute in a window. More...

#include <rocin_block.h>

Collaboration diagram for VarInfo_HDF4:

Public Member Functions

 VarInfo_HDF4 (const std::string &name, char pos, COM_Type dType, const std::string &units, int nc, int32 i, int nitems, int ng, bool is_null)
 Constructor for quick initialization. More...
 

Public Attributes

std::string m_name
 Name of variable. More...
 
char m_position
 Location, 'w', 'p', 'n', or 'e'. More...
 
COM_Type m_dataType
 Roccom datatype. More...
 
std::string m_units
 Units of measurement. More...
 
std::vector< int32 > m_indices
 HDF4 dataset indices for each component. More...
 
int m_nitems
 Total number of items. More...
 
int m_ng
 Number of ghost items. More...
 
std::vector< bool > m_is_null
 Whether or not a component in NULL. More...
 

Detailed Description

Struct containing necessary information about an attribute in a window.

Definition at line 33 of file rocin_block.h.

Constructor & Destructor Documentation

VarInfo_HDF4 ( const std::string &  name,
char  pos,
COM_Type  dType,
const std::string &  units,
int  nc,
int32  i,
int  nitems,
int  ng,
bool  is_null 
)
inline

Constructor for quick initialization.

Definition at line 35 of file rocin_block.h.

38  : m_name(name), m_position(pos), m_dataType(dType), m_units(units),
39  m_indices(nc, i), m_nitems( nitems), m_ng(ng), m_is_null(nc,is_null)
40  {}
std::vector< int32 > m_indices
HDF4 dataset indices for each component.
Definition: rocin_block.h:46
int m_ng
Number of ghost items.
Definition: rocin_block.h:48
std::vector< bool > m_is_null
Whether or not a component in NULL.
Definition: rocin_block.h:49
char m_position
Location, &#39;w&#39;, &#39;p&#39;, &#39;n&#39;, or &#39;e&#39;.
Definition: rocin_block.h:43
std::string m_name
Name of variable.
Definition: rocin_block.h:42
COM_Type m_dataType
Roccom datatype.
Definition: rocin_block.h:44
blockLoc i
Definition: read.cpp:79
std::string m_units
Units of measurement.
Definition: rocin_block.h:45
int m_nitems
Total number of items.
Definition: rocin_block.h:47

Member Data Documentation

COM_Type m_dataType

Roccom datatype.

Definition at line 44 of file rocin_block.h.

std::vector<int32> m_indices

HDF4 dataset indices for each component.

Definition at line 46 of file rocin_block.h.

Referenced by scan_files_HDF4().

std::vector<bool> m_is_null

Whether or not a component in NULL.

Definition at line 49 of file rocin_block.h.

Referenced by scan_files_HDF4().

std::string m_name

Name of variable.

Definition at line 42 of file rocin_block.h.

Referenced by scan_files_HDF4().

int m_ng

Number of ghost items.

Definition at line 48 of file rocin_block.h.

int m_nitems

Total number of items.

Definition at line 47 of file rocin_block.h.

char m_position

Location, 'w', 'p', 'n', or 'e'.

Definition at line 43 of file rocin_block.h.

std::string m_units

Units of measurement.

Definition at line 45 of file rocin_block.h.


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