rtl::Value Class Reference

encapsulates an ARValueStruct More...

#include <Value.h>

Inheritance diagram for rtl::Value:

rtl::AssignableT< ARValueStruct > List of all members.

Public Member Functions

AssignableT< ARValueStruct > & operator= (const ARValueStruct &src)
 Assign an AR System C API structure to this class.

Classes

class  AttachValueImpl
 an attachment value (AR_DATA_TYPE_ATTACH) More...
class  BitmaskValueImpl
 a bitmask value (AR_DATA_TYPE_BITMASK) More...
class  BytesValueImpl
 a binary value (AR_DATA_TYPE_BYTES) More...
class  CharValueImpl
 a character string value (AR_DATA_TYPE_CHAR) More...
class  CoordListValueImpl
 a coordinate list value (AR_DATA_TYPE_COORDS) More...
class  CurrencyValueImpl
 a currency value (AR_DATA_TYPE_CURRENCY) More...
class  DateValueImpl
 a date value (AR_DATA_TYPE_DATE) More...
class  DecimalValueImpl
 a decimal value (AR_DATA_TYPE_DECIMAL) More...
class  DiaryValueImpl
 a diary value (AR_DATA_TYPE_DIARY) More...
class  EnumValueImpl
 an enum value (AR_DATA_TYPE_ENUM) More...
class  IntegerValueImpl
 an integer value (AR_DATA_TYPE_INTEGER) More...
class  KeywordValueImpl
 a keyword value (AR_DATA_TYPE_KEYWORD) More...
class  NullValueImpl
 a null value (AR_DATA_TYPE_NULL) More...
class  RealValueImpl
 a real value (AR_DATA_TYPE_REAL) More...
class  TimeOfDayValueImpl
 a time of day value (AR_DATA_TYPE_TIME_OF_DAY) More...
class  TimeValueImpl
 a time value (AR_DATA_TYPE_TIME) More...
class  ULongValueImpl
 an unsigned long value (AR_DATA_TYPE_ULONG) More...
class  ValueImpl
 abstract value type, containing the actual value in a Value instance. More...

Detailed Description

encapsulates an ARValueStruct

Value represents an ARValueStruct. It uses an internal pointer to an implementation of the abstract class Value::ValueImpl to contain the value. To construct a new value, simply create an instance of a Value::ValueImpl. For example:


 Value fieldValue = CharValueImpl("my value");

 // for characters values (AR_DATA_TYPE_CHAR) you can also do this
 Value fieldValue("my value");
 
See also:
AssignableT


Member Function Documentation

AssignableT<ARValueStruct>& rtl::Value::operator= const ARValueStruct &  src  )  [inline, virtual]
 

Assign an AR System C API structure to this class.

The structure is copied in its entirety, with no dependence on the C API structure once the operation is complete.

Implements rtl::AssignableT< ARValueStruct >.


The documentation for this class was generated from the following file:
Generated on Thu Dec 29 16:20:28 2005 for RTL by  doxygen 1.4.5