bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Public Member Functions | |
AsciiGrid (const string &n) | |
AsciiGrid (Grid *grid) | |
string | get_full_name () |
bool | increment_state (vector< int > *state, const vector< int > &shape) |
virtual void | print_ascii (ostream &strm, bool print_name=true) throw (InternalErr) |
virtual BaseType * | ptr_duplicate () |
Protected Attributes | |
BaseType * | _redirect |
Definition at line 42 of file AsciiGrid.h.
AsciiGrid::AsciiGrid | ( | const string & | n | ) |
Definition at line 61 of file AsciiGrid.cc.
AsciiGrid::AsciiGrid | ( | Grid * | grid | ) |
Definition at line 66 of file AsciiGrid.cc.
|
virtual |
Definition at line 92 of file AsciiGrid.cc.
|
inherited |
Get the fully qualified name of this object. Names of nested constructor types are separated by dots (.).
Increment #state# to the next value given #shape#. This method uses simple modulo arithmetic to provide a way to iterate over all combinations of dimensions of an Array or Grid. The vector #shape# holds the maximum sizes of each of N dimensions. The vector #state# holds the current index values of those N dimensions. Calling this method increments #state# to the next dimension, varying the rightmost fastest.
To print DODS Array and Grid objects according to the DAP 2.0 specification, #state# and #shape# should be vectors of length N-1 for an object of dimension N.
Print an ASCII representation for an instance of BaseType's children. This version prints the suggested output only for simple types. Complex types should overload this with their own definition.
The caller of this method is responsible for adding a trialing comma where appropriate.
strm | Write to this stream. |
print_name | If True, write the name of the variable, a comma and then the value. If False, simply write the value. |
Reimplemented from AsciiOutput.
Definition at line 96 of file AsciiGrid.cc.
|
virtual |
Definition at line 56 of file AsciiGrid.cc.
|
protectedinherited |
Definition at line 51 of file AsciiOutput.h.