SST/macro
Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
sstmac::sw::dumpi_meta Class Reference

#include <dumpi_meta.h>

Collaboration diagram for sstmac::sw::dumpi_meta:
Collaboration graph

Public Member Functions

 dumpi_meta (const std::string &filename)
 
void parse_numprocs (const std::deque< std::string > &token)
 
void parse_fileprefix (const std::deque< std::string > &token)
 
void parsemeta ()
 
bool openfile ()
 
int getnumprocs ()
 
virtual std::string to_string () const
 
int num_procs () const
 
virtual ~dumpi_meta () throw ()
 

Public Attributes

std::string fileprefix_
 
std::string dirplusfileprefix_
 

Protected Types

typedef void(dumpi_meta::* parsefun_t) (const std::deque< std::string > &)
 
typedef std::map< std::string, parsefun_tCallMap_t
 

Protected Member Functions

void init_callbacks ()
 

Protected Attributes

std::string metafile_
 
std::ifstream infile_
 
CallMap_t callback_
 
int numprocs_
 
bool numprocscheck_
 
bool fileprefixcheck_
 

Detailed Description

Definition at line 23 of file dumpi_meta.h.

Member Typedef Documentation

typedef std::map<std::string, parsefun_t> sstmac::sw::dumpi_meta::CallMap_t
protected

Definition at line 56 of file dumpi_meta.h.

typedef void(dumpi_meta::* sstmac::sw::dumpi_meta::parsefun_t) (const std::deque< std::string > &)
protected

Definition at line 54 of file dumpi_meta.h.

Constructor & Destructor Documentation

sstmac::sw::dumpi_meta::dumpi_meta ( const std::string &  filename)
virtual sstmac::sw::dumpi_meta::~dumpi_meta ( )
throw (
)
virtual

Member Function Documentation

int sstmac::sw::dumpi_meta::getnumprocs ( )
void sstmac::sw::dumpi_meta::init_callbacks ( )
protected
int sstmac::sw::dumpi_meta::num_procs ( ) const
inline

Definition at line 40 of file dumpi_meta.h.

References numprocs_.

bool sstmac::sw::dumpi_meta::openfile ( )
void sstmac::sw::dumpi_meta::parse_fileprefix ( const std::deque< std::string > &  token)
void sstmac::sw::dumpi_meta::parse_numprocs ( const std::deque< std::string > &  token)
void sstmac::sw::dumpi_meta::parsemeta ( )
virtual std::string sstmac::sw::dumpi_meta::to_string ( ) const
inlinevirtual

Definition at line 36 of file dumpi_meta.h.

Member Data Documentation

CallMap_t sstmac::sw::dumpi_meta::callback_
protected

Definition at line 57 of file dumpi_meta.h.

std::string sstmac::sw::dumpi_meta::dirplusfileprefix_

Definition at line 45 of file dumpi_meta.h.

std::string sstmac::sw::dumpi_meta::fileprefix_

Definition at line 44 of file dumpi_meta.h.

bool sstmac::sw::dumpi_meta::fileprefixcheck_
protected

Definition at line 60 of file dumpi_meta.h.

std::ifstream sstmac::sw::dumpi_meta::infile_
protected

Definition at line 51 of file dumpi_meta.h.

std::string sstmac::sw::dumpi_meta::metafile_
protected

Definition at line 50 of file dumpi_meta.h.

int sstmac::sw::dumpi_meta::numprocs_
protected

Definition at line 58 of file dumpi_meta.h.

Referenced by num_procs().

bool sstmac::sw::dumpi_meta::numprocscheck_
protected

Definition at line 59 of file dumpi_meta.h.


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