|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <AsciiSequence.h>


Public Member Functions | |
| AsciiSequence (const string &n) | |
| AsciiSequence (Sequence *bt) | |
| virtual int | element_count (bool leaves=false) |
| string | get_full_name () |
| Get the fully qualified name of this object. More... | |
| bool | increment_state (vector< int > *state, const vector< int > &shape) |
| Increment #state# to the next value given #shape#. More... | |
| virtual int | length () const |
| virtual void | print_ascii (ostream &strm, bool print_name) throw (InternalErr) |
| Print an ASCII representation for an instance of BaseType's children. More... | |
| virtual void | print_ascii_row (ostream &strm, int row, BaseTypeRow out_vars) |
| virtual void | print_ascii_rows (ostream &strm, BaseTypeRow out_vars) |
| virtual void | print_header (ostream &strm) |
| virtual void | print_leading_vars (ostream &strm, BaseTypeRow &outer_vars) |
| virtual BaseType * | ptr_duplicate () |
| virtual | ~AsciiSequence () |
Protected Attributes | |
| BaseType * | _redirect |
Definition at line 43 of file AsciiSequence.h.
| AsciiSequence::AsciiSequence | ( | const string & | n | ) |
Definition at line 58 of file AsciiSequence.cc.
| AsciiSequence::AsciiSequence | ( | Sequence * | bt | ) |
Definition at line 62 of file AsciiSequence.cc.
References dap_asciival::basetype_to_asciitype().

|
virtual |
Definition at line 78 of file AsciiSequence.cc.
|
virtual |
Definition at line 92 of file AsciiSequence.cc.
Referenced by print_ascii_row().
|
inherited |
Get the fully qualified name of this object.
Names of nested constructor types are separated by dots (.).
Definition at line 49 of file AsciiOutput.cc.
|
inherited |
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.
Definition at line 98 of file AsciiOutput.cc.
|
virtual |
Definition at line 83 of file AsciiSequence.cc.
|
virtual | ||||||||||||||||||||
Print an ASCII representation for an instance of BaseType's children.
Print values as ASCII Prints the values of this in ASCII suitable for import into a spreadsheet.
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. |
This version prints only the values of simple types; other types such as Array specialize this method (see AsciiArray::print_ascii()).
| strm | Output stream for values Name of this variable to include in the ASCII output. |
Reimplemented from AsciiOutput.
Definition at line 237 of file AsciiSequence.cc.
References dap_asciival::basetype_to_asciitype(), and BESDEBUG.
Referenced by print_ascii_row(), and print_leading_vars().

|
virtual |
Definition at line 107 of file AsciiSequence.cc.
References AsciiOutput::_redirect, dap_asciival::basetype_to_asciitype(), BESDEBUG, element_count(), print_ascii(), and print_ascii_rows().
Referenced by print_ascii_rows().

|
virtual |
Definition at line 181 of file AsciiSequence.cc.
References AsciiOutput::_redirect, BESDEBUG, print_ascii_row(), and print_leading_vars().
Referenced by print_ascii_row().

|
virtual |
Definition at line 206 of file AsciiSequence.cc.
|
virtual |
Definition at line 159 of file AsciiSequence.cc.
References dap_asciival::basetype_to_asciitype(), BESDEBUG, and print_ascii().
Referenced by print_ascii_rows().

|
virtual |
Definition at line 53 of file AsciiSequence.cc.
|
protectedinherited |
Definition at line 52 of file AsciiOutput.h.
Referenced by print_ascii_row(), print_ascii_rows(), and AsciiArray::print_row().