VTK
Public Member Functions | Protected Attributes | List of all members
ADIOS::Scalar Class Reference

#include <ADIOSScalar.h>

Inheritance diagram for ADIOS::Scalar:
[legend]
Collaboration diagram for ADIOS::Scalar:
[legend]

Public Member Functions

 Scalar (ADIOS_FILE *f, ADIOS_VARINFO *v)
 
virtual ~Scalar (void)
 
template<typename T >
const T & GetValue (size_t step, size_t block) const
 
- Public Member Functions inherited from ADIOS::VarInfo
 VarInfo (ADIOS_FILE *f, ADIOS_VARINFO *v)
 
virtual ~VarInfo (void)
 
void SetName (const std::string &name)
 
const intGetId () const
 
const ADIOS_DATATYPES & GetType () const
 
const std::string & GetName (void) const
 
size_t GetNumSteps (void) const
 
size_t GetNumBlocks (size_t step) const
 
StepBlockGetNewestBlockIndex (size_t step, size_t pid) const
 
void GetDims (std::vector< size_t > &dims, size_t step, size_t pid) const
 

Protected Attributes

void * Values
 
- Protected Attributes inherited from ADIOS::VarInfo
int Id
 
ADIOS_DATATYPES Type
 
std::string Name
 
size_t NumSteps
 
size_t NumPids
 
std::vector< std::vector< size_t > > Dims
 
std::vector< StepBlock * > StepBlockIndex
 

Detailed Description

Definition at line 31 of file ADIOSScalar.h.

Constructor & Destructor Documentation

ADIOS::Scalar::Scalar ( ADIOS_FILE *  f,
ADIOS_VARINFO *  v 
)
virtual ADIOS::Scalar::~Scalar ( void  )
virtual

Member Function Documentation

template<typename T >
const T& ADIOS::Scalar::GetValue ( size_t  step,
size_t  block 
) const
inline

Definition at line 38 of file ADIOSScalar.h.

Member Data Documentation

void* ADIOS::Scalar::Values
protected

Definition at line 49 of file ADIOSScalar.h.


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