urbi::UValue Class Reference

Container for a value that handles all types known to URBI. More...

#include <uvalue.hh>

List of all members.

Public Member Functions

 UValue ()
 Class UValue implementation.
 UValue (const UValue &)
 UValue (ufloat doubleValue)
 UValue (int intValue)
 UValue (long intValue)
 UValue (unsigned int intValue)
 UValue (unsigned long intValue)
 UValue (char *val)
 UValue (void *val)
 UValue (const std::string &str)
 UValue (const UBinary &b)
 UValue (const UList &l)
 UValue (const UObjectStruct &o)
 UValue (const USound &)
 UValue (const UImage &)
 operator ufloat () const
 operator std::string () const
 operator int () const
 operator unsigned int () const
 operator long () const
 operator unsigned long () const
 operator bool () const
 operator UBinary () const
 deep copy
 operator UList () const
 deep copy
 operator UImage () const
 ptr copy
 operator USound () const
 ptr copy
UValueoperator= (const UValue &)
 ~UValue ()
int parse (const char *message, int pos, std::list< BinaryData > &bins, std::list< BinaryData >::iterator &binpos)
 Parse an uvalue in current message+pos, returns pos of end of match -pos of error if error.
std::ostream & print (std::ostream &s) const
 Print itself on s, and return it.

Public Attributes

UDataType type
ufloat val
 value if of type DATA_DOUBLE
union {
   std::string *   stringValue
 value if of type DATA_STRING
   UBinary *   binary
 value if of type DATA_BINARY
   UList *   list
 value if of type DATA_LIST
   UObjectStruct *   object
 value if of type DATA_OBJ
   void *   storage
 internal
}; 


Detailed Description

Container for a value that handles all types known to URBI.

Definition at line 81 of file uvalue.hh.


The documentation for this class was generated from the following files:
Generated on Tue Apr 10 17:45:47 2007 for URBISDK by  doxygen 1.5.1