Specialization of Sequence for tables of data.
More...
#include <TabularSequence.h>
|
void | load_prototypes_with_values (libdap::BaseTypeRow &btr, bool safe=true) |
|
Assumes that the data are loaded into the Sequence using set_value()
Definition at line 59 of file TabularSequence.h.
◆ TabularSequence() [1/2]
functions::TabularSequence::TabularSequence |
( |
const string & |
n | ) |
|
|
inline |
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.
- Parameters
-
n | A string containing the name of the variable to be created. |
Definition at line 74 of file TabularSequence.h.
◆ TabularSequence() [2/2]
functions::TabularSequence::TabularSequence |
( |
const string & |
n, |
|
|
const string & |
d |
|
) |
| |
|
inline |
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.
- Parameters
-
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 86 of file TabularSequence.h.
◆ dump()
void functions::TabularSequence::dump |
( |
ostream & |
strm | ) |
const |
|
virtual |
Displays the pointer value of this instance and information about this instance.
- Parameters
-
strm | C++ i/o stream to dump the information to |
- Returns
- void
Definition at line 250 of file TabularSequence.cc.
◆ intern_data()
void functions::TabularSequence::intern_data |
( |
libdap::ConstraintEvaluator & |
eval, |
|
|
libdap::DDS & |
dds |
|
) |
| |
|
virtual |
Specialized intern_data(). This version copies data from the TabularSequence's local store and filters it. Because callers of intern_data() expect that the object will, after calling this method, hold only data to be sent, this version performs both projection and selection operations.
- Parameters
-
Definition at line 194 of file TabularSequence.cc.
◆ serialize()
bool functions::TabularSequence::serialize |
( |
libdap::ConstraintEvaluator & |
eval, |
|
|
libdap::DDS & |
dds, |
|
|
libdap::Marshaller & |
m, |
|
|
bool |
ce_eval = true |
|
) |
| |
|
virtual |
Specialized version of Sequence::serialize() for tables that already hold their data. This will not work for nested Sequences.
- Note
- The ce_eval parameter was being set to false in BESDapResponseBuilder when the code was processing a response from a function. I changed that to 'true' in that code to avoid the special case here. Our tests for the functions are pretty thin at this point, however, so the change should be reviewed when those tests are improved.
- Parameters
-
- Returns
Definition at line 141 of file TabularSequence.cc.
The documentation for this class was generated from the following files: