libdap  Updated for version 3.17.0
libdap::D4RValue Class Reference

#include <D4RValue.h>

List of all members.

Public Member Functions

 D4RValue (BaseType *btp)
 D4RValue (D4Function f, D4RValueList *args)
 D4RValue (unsigned long long ui)
 D4RValue (long long i)
 D4RValue (double r)
 D4RValue (std::string s)
 D4RValue (std::vector< dods_byte > &byte_args)
 D4RValue (std::vector< dods_int8 > &byte_int8)
 D4RValue (std::vector< dods_uint16 > &byte_uint16)
 D4RValue (std::vector< dods_int16 > &byte_int16)
 D4RValue (std::vector< dods_uint32 > &byte_uint32)
 D4RValue (std::vector< dods_int32 > &byte_int32)
 D4RValue (std::vector< dods_uint64 > &byte_uint64)
 D4RValue (std::vector< dods_int64 > &byte_int64)
 D4RValue (std::vector< dods_float32 > &byte_float32)
 D4RValue (std::vector< dods_float64 > &byte_float64)
BaseTypevalue (DMR &dmr)

Friends

class D4RValueList

Detailed Description

Holds the RValues for the D4 function parser

Definition at line 72 of file D4RValue.h.


Member Function Documentation

Return the BaseType * for a given RValue.

Note:
Unlike the DAP2 functions, we have an easier-to-follow memory model for function values. The values (BaseType*) returned by this method will be packaged up in a RValueList and deleted when that list is deleted. Constant values and function result values will be deleted at that time; variables will not. Thus Server Functions should always allocate storage for their return values.
Parameters:
dmrThe DMR to pass to a function.
Returns:
A BaseType* that holds the value.

Definition at line 198 of file D4RValue.cc.


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