VTK  9.1.0
Public Member Functions | Public Attributes | List of all members
PIO_DATA Class Reference

#include <PIOData.h>

Public Member Functions

 PIO_DATA (const char *piofile=0, const std::list< std::string > *fields_to_read=0, bool _defer_read_data=true, const std::set< const char *, Cstring_less > *rdata=0, const std::set< const char *, Cstring_less > *cdata=0)
 
 ~PIO_DATA ()
 
bool GetPIOfileTime (const char *, double &)
 
void print (std::ostream &)
 
void print (const char *)
 
bool set_scalar_field (std::valarray< int > &, const char *)
 
bool set_scalar_field (std::valarray< int64_t > &, const char *)
 
bool set_scalar_field (std::valarray< uint64_t > &, const char *)
 
bool set_scalar_field (std::valarray< double > &, const char *)
 
bool set_vector_field (std::valarray< std::valarray< double > > &, const char *)
 
bool good_read ()
 
const char * get_name () const
 
bool get_reverse_endian () const
 
int get_PIO_VERSION () const
 
int get_PIO_NAME_LENGTH () const
 
int get_PIO_HEADER_LENGTH () const
 
int get_PIO_INDEX_LENGTH () const
 
const char * get_pio_dandt () const
 
int get_pio_num () const
 
int get_pio_num_with_size (int64_t n) const
 
int get_pio_signature () const
 
PIO_FIELDget_pio_field () const
 
void GetPIOData (PIO_FIELD &, const double *&, const char *&)
 
void GetPIOData (PIO_FIELD &, const double *&)
 
void GetPIOData (PIO_FIELD &, const char *&)
 
const double * GetPIOData (PIO_FIELD &)
 
void GetPIOData (const char *, const double *&, const char *&)
 
void GetPIOData (const char *, const double *&)
 
void GetPIOData (const char *, const char *&)
 
const double * GetPIOData (const char *)
 
double GetPIOData (const char *, int)
 
void AddRealData (const char *_name)
 
void AddCharData (const char *_name)
 
void FreePIOData (PIO_FIELD &pio_field)
 

Public Attributes

VAR_MAP VarMMap
 
bool verbose
 

Detailed Description

Definition at line 49 of file PIOData.h.

Constructor & Destructor Documentation

◆ PIO_DATA()

PIO_DATA::PIO_DATA ( const char *  piofile = 0,
const std::list< std::string > *  fields_to_read = 0,
bool  _defer_read_data = true,
const std::set< const char *, Cstring_less > *  rdata = 0,
const std::set< const char *, Cstring_less > *  cdata = 0 
)

◆ ~PIO_DATA()

PIO_DATA::~PIO_DATA ( )

Member Function Documentation

◆ GetPIOfileTime()

bool PIO_DATA::GetPIOfileTime ( const char *  ,
double &   
)

◆ print() [1/2]

void PIO_DATA::print ( std::ostream &  )

◆ print() [2/2]

void PIO_DATA::print ( const char *  )

◆ set_scalar_field() [1/4]

bool PIO_DATA::set_scalar_field ( std::valarray< int > &  ,
const char *   
)

◆ set_scalar_field() [2/4]

bool PIO_DATA::set_scalar_field ( std::valarray< int64_t > &  ,
const char *   
)

◆ set_scalar_field() [3/4]

bool PIO_DATA::set_scalar_field ( std::valarray< uint64_t > &  ,
const char *   
)

◆ set_scalar_field() [4/4]

bool PIO_DATA::set_scalar_field ( std::valarray< double > &  ,
const char *   
)

◆ set_vector_field()

bool PIO_DATA::set_vector_field ( std::valarray< std::valarray< double > > &  ,
const char *   
)

◆ good_read()

bool PIO_DATA::good_read ( )
inline

Definition at line 64 of file PIOData.h.

◆ get_name()

const char * PIO_DATA::get_name ( ) const
inline

Definition at line 66 of file PIOData.h.

◆ get_reverse_endian()

bool PIO_DATA::get_reverse_endian ( ) const
inline

Definition at line 67 of file PIOData.h.

◆ get_PIO_VERSION()

int PIO_DATA::get_PIO_VERSION ( ) const
inline

Definition at line 68 of file PIOData.h.

◆ get_PIO_NAME_LENGTH()

int PIO_DATA::get_PIO_NAME_LENGTH ( ) const
inline

Definition at line 69 of file PIOData.h.

◆ get_PIO_HEADER_LENGTH()

int PIO_DATA::get_PIO_HEADER_LENGTH ( ) const
inline

Definition at line 70 of file PIOData.h.

◆ get_PIO_INDEX_LENGTH()

int PIO_DATA::get_PIO_INDEX_LENGTH ( ) const
inline

Definition at line 71 of file PIOData.h.

◆ get_pio_dandt()

const char * PIO_DATA::get_pio_dandt ( ) const
inline

Definition at line 72 of file PIOData.h.

◆ get_pio_num()

int PIO_DATA::get_pio_num ( ) const
inline

Definition at line 73 of file PIOData.h.

◆ get_pio_num_with_size()

int PIO_DATA::get_pio_num_with_size ( int64_t  n) const

◆ get_pio_signature()

int PIO_DATA::get_pio_signature ( ) const
inline

Definition at line 75 of file PIOData.h.

◆ get_pio_field()

PIO_FIELD * PIO_DATA::get_pio_field ( ) const
inline

Definition at line 76 of file PIOData.h.

◆ GetPIOData() [1/9]

void PIO_DATA::GetPIOData ( PIO_FIELD ,
const double *&  ,
const char *&   
)

◆ GetPIOData() [2/9]

void PIO_DATA::GetPIOData ( PIO_FIELD ,
const double *&   
)

◆ GetPIOData() [3/9]

void PIO_DATA::GetPIOData ( PIO_FIELD ,
const char *&   
)

◆ GetPIOData() [4/9]

const double * PIO_DATA::GetPIOData ( PIO_FIELD )

◆ GetPIOData() [5/9]

void PIO_DATA::GetPIOData ( const char *  ,
const double *&  ,
const char *&   
)

◆ GetPIOData() [6/9]

void PIO_DATA::GetPIOData ( const char *  ,
const double *&   
)

◆ GetPIOData() [7/9]

void PIO_DATA::GetPIOData ( const char *  ,
const char *&   
)

◆ GetPIOData() [8/9]

const double * PIO_DATA::GetPIOData ( const char *  )

◆ GetPIOData() [9/9]

double PIO_DATA::GetPIOData ( const char *  ,
int   
)

◆ AddRealData()

void PIO_DATA::AddRealData ( const char *  _name)
inline

Definition at line 86 of file PIOData.h.

◆ AddCharData()

void PIO_DATA::AddCharData ( const char *  _name)
inline

Definition at line 91 of file PIOData.h.

◆ FreePIOData()

void PIO_DATA::FreePIOData ( PIO_FIELD pio_field)

Member Data Documentation

◆ VarMMap

VAR_MAP PIO_DATA::VarMMap

Definition at line 65 of file PIOData.h.

◆ verbose

bool PIO_DATA::verbose

Definition at line 97 of file PIOData.h.


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