DiskMeta Class Reference

DiskMeta - reads in information in an r1 "DiscField" meta file, which is a file in the format. More...

#include <DiskMeta.h>

Collaboration diagram for DiskMeta:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DiskMeta (const char *basename)
 ~DiskMeta ()
bool open (bool abortOnError=false)
bool read (bool abortOnError=false)
const std::string & filename () const
const std::string & type () const
int dimension () const
const Interval< 1 > & domain (int d) const
int fieldsPerRecord () const
int numRecords () const
int numFileSets () const
const std::vector< int > & patchesPerRecord () const
const std::vector< int > & patchTally () const
std::string errorMessage () const


Detailed Description

DiskMeta - reads in information in an r1 "DiscField" meta file, which is a file in the format.

   # comment line
   keyword [=] value
   keyword [=] value
   ...
 

An optional = may separate the single-word keyword and the value. This class parses the file, storing the state, and allowing access to that state via the various accessors.

NOTE: The DiskMeta class is only useful on an "IO Context". The mutators check and are protected so that they'll only run on an IO context, but the accessors are not.


Constructor & Destructor Documentation

DiskMeta::DiskMeta ( const char *  basename  ) 

DiskMeta::~DiskMeta (  ) 


Member Function Documentation

bool DiskMeta::open ( bool  abortOnError = false  ) 

bool DiskMeta::read ( bool  abortOnError = false  ) 

const std::string& DiskMeta::filename (  )  const [inline]

const std::string& DiskMeta::type (  )  const [inline]

int DiskMeta::dimension (  )  const [inline]

const Interval<1>& DiskMeta::domain ( int  d  )  const

int DiskMeta::fieldsPerRecord (  )  const [inline]

int DiskMeta::numRecords (  )  const [inline]

int DiskMeta::numFileSets (  )  const [inline]

const std::vector<int>& DiskMeta::patchesPerRecord (  )  const [inline]

const std::vector<int>& DiskMeta::patchTally (  )  const [inline]

std::string DiskMeta::errorMessage (  )  const [inline]


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

Generated on Wed Mar 16 06:19:49 2011 for FreePOOMA by  doxygen 1.5.9