bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Specialization of Sequence for cached responses. More...
#include <CachedSequence.h>
Public Member Functions | |
CachedSequence (const CachedSequence &rhs) | |
The Sequence copy constructor. | |
CachedSequence (const string &n) | |
The Sequence constructor. | |
CachedSequence (const string &n, const string &d) | |
The Sequence server-side constructor. | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual void | intern_data (libdap::ConstraintEvaluator &eval, libdap::DDS &dds) |
Specialization that resets CachedSequence's 'value index' state variable. | |
CachedSequence & | operator= (const CachedSequence &rhs) |
virtual BaseType * | ptr_duplicate () |
virtual bool | read_row (int row, libdap::DDS &dds, libdap::ConstraintEvaluator &eval, bool ce_eval) |
Read row number row of the Sequence. | |
virtual bool | serialize (libdap::ConstraintEvaluator &eval, libdap::DDS &dds, libdap::Marshaller &m, bool ce_eval=true) |
Specialization that resets CachedSequence's 'value index' state variable. | |
Protected Member Functions | |
void | load_prototypes_with_values (libdap::BaseTypeRow &btr, bool safe=true) |
Protected Attributes | |
unsigned int | d_value_index |
Specialization of Sequence for cached responses.
Assumes that the data are loaded into the Sequence using set_value()
Definition at line 42 of file CachedSequence.h.
|
inline |
The Sequence constructor.
The Sequence constructor requires only the name of the variable to be created. The name may be omitted, which will create a nameless variable. This may be adequate for some applications.
n | A string containing the name of the variable to be created. |
Definition at line 59 of file CachedSequence.h.
The Sequence server-side constructor.
The Sequence server-side constructor requires the name of the variable to be created and the dataset name from which this variable is being created.
n | A string containing the name of the variable to be created. |
d | A string containing the name of the dataset from which this variable is being created. |
Definition at line 71 of file CachedSequence.h.
|
inline |
The Sequence copy constructor.
Definition at line 74 of file CachedSequence.h.
|
inlinevirtual |
Definition at line 76 of file CachedSequence.h.
|
virtual |
dumps information about this object
Displays the pointer value of this instance and information about this instance.
strm | C++ i/o stream to dump the information to |
Definition at line 232 of file CachedSequence.cc.
|
virtual |
Specialization that resets CachedSequence's 'value index' state variable.
This specialization resets the index into the 'value' field and calls the parent class' method.
eval | |
dds |
Definition at line 216 of file CachedSequence.cc.
|
protected |
Definition at line 59 of file CachedSequence.cc.
|
inline |
Definition at line 80 of file CachedSequence.h.
|
inlinevirtual |
Definition at line 78 of file CachedSequence.h.
|
virtual |
Read row number row of the Sequence.
This version of read_row() gets the next row of data from the internal 'values' of the Sequence (d_values field) and loads them into the prototype variables so that the stock serialize() code can be used to write them out.
row | The row number to read. |
dds | A reference to the DDS for this dataset. |
eval | Use this as the constraint expression evaluator. |
ce_eval | If True, evaluate any CE, otherwise do not. |
Definition at line 142 of file CachedSequence.cc.
|
virtual |
Specialization that resets CachedSequence's 'value index' state variable.
This specialization resets the index into the 'value' field and calls the parent class' method.
eval | |
dds | |
m | |
ce_eval |
Definition at line 199 of file CachedSequence.cc.
|
protected |
Definition at line 46 of file CachedSequence.h.