OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
libdap::TabularSequence Class Reference

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

#include <TabularSequence.h>

Inheritance diagram for libdap::TabularSequence:
Inheritance graph
Collaboration diagram for libdap::TabularSequence:
Collaboration graph

Public Member Functions

virtual void dump (ostream &strm) const
 dumps information about this object More...
 
virtual void intern_data (ConstraintEvaluator &eval, DDS &dds)
 Specialized intern_data(). More...
 
TabularSequenceoperator= (const TabularSequence &rhs)
 
virtual BaseType * ptr_duplicate ()
 
virtual bool serialize (ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
 Specialized version of Sequence::serialize() for tables that already hold their data. More...
 
 TabularSequence (const string &n)
 
 TabularSequence (const string &n, const string &d)
 
 TabularSequence (const TabularSequence &rhs)
 
virtual ~TabularSequence ()
 

Protected Member Functions

void load_prototypes_with_values (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 56 of file TabularSequence.h.

Constructor & Destructor Documentation

libdap::TabularSequence::TabularSequence ( const string &  n)
inline

Definition at line 63 of file TabularSequence.h.

Referenced by ptr_duplicate().

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

Definition at line 64 of file TabularSequence.h.

libdap::TabularSequence::TabularSequence ( const TabularSequence rhs)
inline

Definition at line 66 of file TabularSequence.h.

virtual libdap::TabularSequence::~TabularSequence ( )
inlinevirtual

Definition at line 68 of file TabularSequence.h.

Member Function Documentation

void libdap::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 306 of file TabularSequence.cc.

void libdap::TabularSequence::intern_data ( ConstraintEvaluator &  eval,
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 247 of file TabularSequence.cc.

References load_prototypes_with_values().

Here is the call graph for this function:

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

Definition at line 74 of file TabularSequence.cc.

Referenced by intern_data(), and serialize().

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

Definition at line 72 of file TabularSequence.h.

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

Definition at line 70 of file TabularSequence.h.

References TabularSequence().

Here is the call graph for this function:

bool libdap::TabularSequence::serialize ( ConstraintEvaluator &  eval,
DDS &  dds,
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 195 of file TabularSequence.cc.

References load_prototypes_with_values().

Here is the call graph for this function:


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