|
Public Member Functions |
| TAiwVariant () |
| Default constructor.
|
| TAiwVariant (TInt32 aValue) |
| Constructor from a value.
|
| TAiwVariant (const TUid &aValue) |
| Constructor from a value.
|
| TAiwVariant (const TTime &aValue) |
| Constructor from a value.
|
| TAiwVariant (const TDesC &aValue) |
| Constructor from a value.
|
| TAiwVariant (const HBufC *aValue) |
| Constructor from a value.
|
| TAiwVariant (const TDesC8 &aValue) |
| Constructor from a value.
|
| TAiwVariant (const RFile &aValue) |
| Constructor from a value.
|
IMPORT_C | TAiwVariant (const TAiwVariant &aSrc) |
| Copy constructor.
|
IMPORT_C TAiwVariant & | operator= (const TAiwVariant &aValue) |
| Assignment operator.
|
TVariantTypeId | TypeId () const |
| Returns the type id of data this variant object is holding.
|
TBool | IsEmpty () const |
| Returns ETrue if this variant is empty (it does not hold any value).
|
IMPORT_C TBool | Get (TInt32 &aValue) const |
| Retrieves the value held by this variant.
|
IMPORT_C TBool | Get (TUid &aValue) const |
| Retrieves the value held by this variant.
|
IMPORT_C TBool | Get (TPtrC &aValue) const |
| Retrieves the value held by this variant.
|
IMPORT_C TBool | Get (TTime &aValue) const |
| Retrieves the value held by this variant.
|
IMPORT_C TBool | Get (TPtrC8 &aValue) const |
| Retrieves the value held by this variant.
|
IMPORT_C TBool | Get (RFile &aValue) const |
| Retrieves the value held by this variant.
|
IMPORT_C TInt32 | AsTInt32 () const |
| Returns the value held by this variant.
|
IMPORT_C TUid | AsTUid () const |
| Returns the value held by this variant.
|
IMPORT_C TPtrC | AsDes () const |
| Returns the value held by this variant.
|
IMPORT_C TTime | AsTTime () const |
| Returns the value held by this variant.
|
IMPORT_C TPtrC8 | AsData () const |
| Returns the value held by this variant.
|
IMPORT_C RFile | AsFileHandle () const |
| Returns the value held by this variant.
|
IMPORT_C void | Reset () |
| Deletes possibly set value and resets this variant to empty.
|
IMPORT_C void | Set (TInt32 aValue) |
| Sets integer value to this variant.
|
IMPORT_C void | Set (const TUid &aValue) |
| Sets unique ID value to this variant.
|
IMPORT_C void | Set (const TTime &aValue) |
| Sets date and time value to this variant.
|
IMPORT_C void | Set (const TDesC &aValue) |
| Sets constant text reference to this variant.
|
void | Set (const HBufC *aValue) |
| Sets constant text reference to this variant.
|
IMPORT_C void | Set (const TDesC8 &aValue) |
| Sets constant 8-bit text reference to this variant.
|
IMPORT_C void | Set (const RFile &aValue) |
| Sets RFile file handle to this variant.
|
TAiwVariant & | operator= (const TTime &aValue) |
| Assignment operator for the variant.
|
TAiwVariant & | operator= (const TUid &aValue) |
| Assignment operator for the variant.
|
TAiwVariant & | operator= (TInt32 aValue) |
| Assignment operator for the variant.
|
TAiwVariant & | operator= (const TDesC &aValue) |
| Assignment operator for the variant.
|
TAiwVariant & | operator= (const HBufC *aValue) |
| Assignment operator for the variant.
|
TAiwVariant & | operator= (const TDesC8 &aValue) |
| Assignment operator for the variant.
|
TAiwVariant & | operator= (const RFile &aValue) |
| Assignment operator for the variant.
|
Friends |
class | TAiwGenericParam |
| TAiwGenericParam needs access to private streaming and copying methods.
|
IMPORT_C TBool | operator== (const TAiwVariant &aLhs, const TAiwVariant &aRhs) |
| Returns ETrue if two variants are equal.
|
Data Structures |
struct | SInt64 |
| POD storage for a 64-bit integer.
|
union | UData |