111 virtual int initialize(
const vector<string> &paths,
const std::vector<string> &options);
149 virtual std::vector<string>
getAuxVarNames()
const {
return (vector<string>()); }
165 virtual bool getAtt(
string varname,
string attname, vector<double> &values)
const;
166 virtual bool getAtt(
string varname,
string attname, vector<long> &values)
const;
167 virtual bool getAtt(
string varname,
string attname,
string &values)
const;
179 virtual int getDimLensAtLevel(
string varname,
int level, std::vector<size_t> &dims_at_level, std::vector<size_t> &bs_at_level)
const;
183 virtual int openVariableRead(
size_t ts,
string varname,
int,
int) {
return (DCBOV::openVariableRead(ts, varname)); }
193 virtual int readRegion(
int fd,
const vector<size_t> &min,
const vector<size_t> &max,
float *region) {
return (_readRegionTemplate(fd, min, max, region)); }
194 virtual int readRegion(
int fd,
const vector<size_t> &min,
const vector<size_t> &max,
double *region) {
return (_readRegionTemplate(fd, min, max, region)); }
195 virtual int readRegion(
int fd,
const vector<size_t> &min,
const vector<size_t> &max,
int *region) {
return (_readRegionTemplate(fd, min, max, region)); }
199 virtual bool variableExists(
size_t ts,
string varname,
int reflevel = 0,
int lod = 0)
const;
207 std::map<string, DC::Dimension> _dimsMap;
208 std::map<string, DC::CoordVar> _coordVarsMap;
209 std::map<string, DC::Mesh> _meshMap;
210 std::map<string, DC::DataVar> _dataVarsMap;
211 std::map<string, string> _coordVarKeys;
213 void _InitCoordinates();
215 void _InitDimensions();
219 int _isCoordinateVariable(std::string variable)
const;
221 template<
class T>
void _generateCoordinates(
int dim,
const vector<size_t> &min,
const vector<size_t> &max, T *region)
const;
223 template<
class T>
int _readRegionTemplate(
int fd,
const vector<size_t> &min,
const vector<size_t> &max, T *region);
Class for reading a "Brick of Values", explained in section 3.1 (page 11) in the following VisIt docu...
virtual bool getCoordVarInfo(string varname, DC::CoordVar &cvar) const
virtual XType getAttType(string varname, string attname) const
virtual int initialize(const vector< string > &paths, const std::vector< string > &options)
virtual std::vector< string > getDataVarNames() const
virtual size_t getNumRefLevels(string varname) const
virtual int closeVariable(int fd)
virtual std::vector< string > getAttNames(string varname) const
virtual bool getMesh(string mesh_name, DC::Mesh &mesh) const
virtual std::vector< string > getAuxVarNames() const
std::vector< string > getMeshNames() const
virtual bool getDataVarInfo(string varname, DC::DataVar &datavar) const
virtual int readRegion(int fd, const vector< size_t > &min, const vector< size_t > &max, int *region)
virtual bool getDimension(string dimname, DC::Dimension &dimension) const
virtual int getDimLensAtLevel(string varname, int level, std::vector< size_t > &dims_at_level, std::vector< size_t > &bs_at_level) const
virtual bool variableExists(size_t ts, string varname, int reflevel=0, int lod=0) const
virtual std::vector< string > getDimensionNames() const
virtual string getMapProjection() const
virtual int openVariableRead(size_t ts, string varname)
virtual std::vector< string > getCoordVarNames() const
virtual bool getAuxVarInfo(string varname, DC::AuxVar &var) const
virtual int openVariableRead(size_t ts, string varname, int, int)
virtual bool getAtt(string varname, string attname, vector< double > &values) const
virtual bool getAtt(string varname, string attname, string &values) const
virtual bool getAtt(string varname, string attname, vector< long > &values) const
virtual int readRegion(int fd, const vector< size_t > &min, const vector< size_t > &max, float *region)
virtual bool getBaseVarInfo(string varname, DC::BaseVar &var) const
virtual int readRegion(int fd, const vector< size_t > &min, const vector< size_t > &max, double *region)
Auxiliary variable metadata.
Base class for storing variable metadata.
Coordinate variable metadata.
Metadata describing a named dimension length.
Metadata describing a computational mesh.
A Template Method design pattern for reading a collection of data.
XType
External storage types for primitive data.