bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
functions::TabularSequence Class Reference

Specialization of Sequence for tables of data. More...

#include <TabularSequence.h>

Inheritance diagram for functions::TabularSequence:
Inheritance graph
Collaboration diagram for functions::TabularSequence:
Collaboration graph

Public Member Functions

virtual void dump (ostream &strm) const
 dumps information about this object
 
virtual void intern_data (libdap::ConstraintEvaluator &eval, libdap::DDS &dds)
 
TabularSequenceoperator= (const TabularSequence &rhs)
 
virtual BaseType * ptr_duplicate ()
 
virtual bool serialize (libdap::ConstraintEvaluator &eval, libdap::DDS &dds, libdap::Marshaller &m, bool ce_eval=true)
 
 TabularSequence (const string &n)
 The Sequence constructor.
 
 TabularSequence (const string &n, const string &d)
 The Sequence server-side constructor.
 
 TabularSequence (const TabularSequence &rhs)
 The Sequence copy constructor.
 

Protected Member Functions

void load_prototypes_with_values (libdap::BaseTypeRow &btr, bool safe=true)
 

Detailed Description

Specialization of Sequence for tables of data.

Assumes that the data are loaded into the Sequence using set_value()

Definition at line 59 of file TabularSequence.h.

Constructor & Destructor Documentation

◆ TabularSequence() [1/3]

functions::TabularSequence::TabularSequence ( const string & n)
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.

Parameters
nA string containing the name of the variable to be created.

Definition at line 74 of file TabularSequence.h.

◆ TabularSequence() [2/3]

functions::TabularSequence::TabularSequence ( const string & n,
const string & d )
inline

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.

Parameters
nA string containing the name of the variable to be created.
dA string containing the name of the dataset from which this variable is being created.

Definition at line 86 of file TabularSequence.h.

◆ TabularSequence() [3/3]

functions::TabularSequence::TabularSequence ( const TabularSequence & rhs)
inline

The Sequence copy constructor.

Definition at line 89 of file TabularSequence.h.

◆ ~TabularSequence()

virtual functions::TabularSequence::~TabularSequence ( )
inlinevirtual

Definition at line 91 of file TabularSequence.h.

Member Function Documentation

◆ dump()

void functions::TabularSequence::dump ( ostream & strm) const
virtual

dumps information about this object

Displays the pointer value of this instance and information about this instance.

Parameters
strmC++ i/o stream to dump the information to
Returns
void

Definition at line 251 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
eval
dds

Definition at line 195 of file TabularSequence.cc.

◆ load_prototypes_with_values()

void functions::TabularSequence::load_prototypes_with_values ( libdap::BaseTypeRow & btr,
bool safe = true )
protected

Definition at line 76 of file TabularSequence.cc.

◆ operator=()

TabularSequence & functions::TabularSequence::operator= ( const TabularSequence & rhs)
inline

Definition at line 95 of file TabularSequence.h.

◆ ptr_duplicate()

virtual BaseType * functions::TabularSequence::ptr_duplicate ( )
inlinevirtual

Definition at line 93 of file TabularSequence.h.

◆ 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
eval
dds
m
ce_eval
Returns

Definition at line 142 of file TabularSequence.cc.


The documentation for this class was generated from the following files: