#include <gridpp.hh>
Public Member Functions | |
GridDC (string const &_protohdr, string const &_protodata, grid const &_protog, string const &_data_format, string data_type, bool incore=false, ostream &_outfile=cerr) | |
standalone constructor takes prototype RSF header filename. | |
~GridDC () | |
destructor | |
bool | isInCore () const |
string | getProtohdr () const |
ostream & | write (ostream &str) const |
Protected Member Functions | |
void | open_p () const |
private file access method - used in reset | |
ContentPackage< ireal, RARR > & | get (bool &more) |
ContentPackage< ireal, RARR > const & | get (bool &more) const |
void | put () const |
void | reset () const |
Definition at line 55 of file gridpp.hh.
TSOpt::GridDC::GridDC | ( | string const & | _protohdr, | |
string const & | _protodata, | |||
grid const & | _protog, | |||
string const & | _data_format, | |||
string | data_type, | |||
bool | incore = false , |
|||
ostream & | _outfile = cerr | |||
) |
standalone constructor takes prototype RSF header filename.
NOTE: in this version, prototype RSF data file must also exist and have correct length. Since all internal data depend on this file, consistency is guaranteed.
If incore flag is set, then g.dim = g.gdim and entire data volume is read/written, rather than panel-by-panel.
TSOpt::GridDC::~GridDC | ( | ) |
destructor
void TSOpt::GridDC::open_p | ( | ) | const [protected] |
private file access method - used in reset
void TSOpt::GridDC::put | ( | ) | const [protected] |
void TSOpt::GridDC::reset | ( | ) | const [protected] |
bool TSOpt::GridDC::isInCore | ( | ) | const |
string TSOpt::GridDC::getProtohdr | ( | ) | const |
ostream& TSOpt::GridDC::write | ( | ostream & | str | ) | const |