Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

rvalue Class Reference

#include <RValue.h>

Collaboration diagram for rvalue:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< rvalue
* >::const_iterator 
Args_citer
typedef std::vector< rvalue
* >::iterator 
Args_iter

Public Member Functions

BaseTypebvalue (const string &dataset, DDS &dds)
 rvalue ()
 rvalue (btp_func f, vector< rvalue * > *a)
 rvalue (BaseType *bt)
string value_name ()
virtual ~rvalue ()

Detailed Description

Holds the rvalues for the parser, Clause objects and evaluator.

See also:
Clause.h

DDS.h

expr.y

Definition at line 41 of file RValue.h.


Member Typedef Documentation

typedef std::vector<rvalue *>::const_iterator rvalue::Args_citer
 

Definition at line 50 of file RValue.h.

typedef std::vector<rvalue *>::iterator rvalue::Args_iter
 

Definition at line 49 of file RValue.h.


Constructor & Destructor Documentation

rvalue::rvalue BaseType bt  ) 
 

Definition at line 115 of file RValue.cc.

rvalue::rvalue btp_func  f,
vector< rvalue * > *  a
 

Definition at line 118 of file RValue.cc.

rvalue::rvalue  ) 
 

Definition at line 121 of file RValue.cc.

rvalue::~rvalue  )  [virtual]
 

Definition at line 124 of file RValue.cc.


Member Function Documentation

BaseType * rvalue::bvalue const string &  dataset,
DDS dds
 

Return the BaseType * for a given rvalue. If the rvalue is a func_rvalue, evaluates the func_rvalue and returns the result. The functions referenced by func_rvalues must encapsulate their return values in BaseType *s.

Parameters:
dataset The dataset name to pass to a function (which may call BaseType::read() using that arguemnt).
dds The dds to pass to a function.

Definition at line 150 of file RValue.cc.

References build_btp_args().

Referenced by Clause::value().

Here is the call graph for this function:

string rvalue::value_name  ) 
 

Definition at line 133 of file RValue.cc.

References BaseType::name().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu Aug 2 06:47:17 2007 for libdap++ by  doxygen 1.3.9.1