25#ifndef GOBY_MOOS_TRANSITIONAL_MESSAGE_VAL_H 
   26#define GOBY_MOOS_TRANSITIONAL_MESSAGE_VAL_H 
   83    void set(std::string sval);
 
  100    bool get(std::string& s) 
const;
 
  112    bool get(
double& d) 
const;
 
  116    operator double() 
const;
 
  124    operator std::string() 
const;
 
  128    operator long() 
const;
 
  132    operator int() 
const;
 
  136    operator unsigned() 
const;
 
  140    operator float() 
const;
 
  142    operator std::vector<DCCLMessageVal>() 
const;
 
 
  181std::ostream& operator<<(std::ostream& os, 
const std::vector<DCCLMessageVal>& vm);
 
DCCLMessageVal(int i)
construct with int value
 
bool get(long &t) const
extract as long (all reasonable casts are done)
 
DCCLMessageVal(long l)
construct with long value
 
bool operator==(double d) const
 
bool operator==(long l) const
 
void set(double dval, int precision=MAX_DBL_PRECISION)
set the value with a double (overwrites previous value regardless of type)
 
DCCLMessageVal(const std::vector< DCCLMessageVal > &vm)
construct with vector
 
DCCLMessageVal(const std::string &s)
construct with string value
 
unsigned precision() const
 
bool get(bool &b) const
extract as bool (all reasonable casts are done)
 
DCCLMessageVal(bool b)
construct with bool value
 
void set(bool bval)
set the value with a bool (overwrites previous value regardless of type)
 
bool get(std::string &s) const
extract as std::string (all reasonable casts are done)
 
bool get(double &d) const
extract as double (all reasonable casts are done)
 
DCCLMessageVal(double d, int p=MAX_DBL_PRECISION)
construct with double value, optionally givig the precision of the double (number of decimal places) ...
 
bool operator==(const std::string &s) const
 
bool empty() const
was this just constructed with DCCLMessageVal() ?
 
void set(long lval)
set the value with a long (overwrites previous value regardless of type)
 
bool operator==(const DCCLMessageVal &mv) const
 
void set(std::string sval)
set the value with a string (overwrites previous value regardless of type)
 
friend std::ostream & operator<<(std::ostream &os, const DCCLMessageVal &mv)
 
bool operator==(bool b) const
 
DCCLMessageVal(float f)
construct with float value
 
DCCLMessageVal(const char *s)
construct with char* value
 
DCCLCppType type() const
what type is the original type of this DCCLMessageVal?
 
DCCLCppType
Enumeration of C++ types used in DCCL.
 
The global namespace for the Goby project.