CICalProperty Class Reference
class CICalProperty : public CBase |
Class representing a property.
Constructor & Destructor Documentation
CICalProperty(CICalValue *)
Member Functions Documentation
AddPropertyParamL(const TDesC &, CICalValue *)
Adds a parameter with given type and value to the property, taking ownership of the value. Note that further values may be added later.
- leave
- Leaves with KErrParameterHasNoValue if aValue is NULL.
Parameters
const TDesC & aType | The type of property parameter. |
CICalValue * aValue | A value of the property parameter - this will be deleted if this function leaves. |
AddPropertyParamL(const TDesC &, const TDesC &)
Adds a parameter with given type and value to the property. Note that further values may be added later.
- leave
- Leaves with if there is an error adding a parameter.
Parameters
const TDesC & aType | The type of property parameter. |
const TDesC & aValue | A value of the property parameter. |
AddPropertyParamL()
Adds an empty parameter to the property.
- leave
- Leaves if there is an error adding a parameter.
AddValueL(const TDesC &)
IMPORT_C void | AddValueL | ( | const TDesC & | aValue | ) | |
Adds a value to the property. Any escaped characters in the value string are translated to the actual characters.
- leave
- Leaves if there is an error adding a value.
Parameters
const TDesC & aValue | The text string of the value, as would be entered into an iCalendar file. |
AddValueL(CICalValue *)
Adds value to this property, taking ownership of the passed value pointer and deleting it if this function leaves.
- leave
- Leaves with KErrPropertyHasNoValue if aValue is NULL.
Parameters
CICalValue * aValue | The value to add - this must not be NULL. |
ConstructL(const TDesC &)
void | ConstructL | ( | const TDesC & | aType | ) | [private] |
Parameters
const TDesC & aType | The type of property. |
ConstructL(const TDesC &, const TDesC &)
void | ConstructL | ( | const TDesC & | aType, |
| const TDesC & | aValue |
| ) | [private] |
Parameters
const TDesC & aType | The type of property. |
const TDesC & aValue | A value of the property. |
ConstructL(const TDesC &, CICalValue *)
Internal construction. Takes ownership of the passed value pointer and deletes it if this function leaves.
Parameters
const TDesC & aType | The type of property. |
CICalValue * aValue | A value of the property - this class takes ownership. |
ExternalizeL(CICalContentLineWriter &)
void | ExternalizeL | ( | CICalContentLineWriter & | aWriter | ) | |
Export this property using the given line writer, escaping any necessary characters. Assumes it contains at least one value from the check in CICalBase::ExternalizeL().
Parameters
CICalContentLineWriter & aWriter | The content line writer to export to. |
FindParam(const TDesC &)
Find a parameter with the given name. Ownership is not passed out.
Parameters
const TDesC & aType | The type of the parameter to search for |
NewL(const TDesC &, const TDesC &)
Constructs a new CICalProperty with given type and value and returns it. Note that other values may be added later.
Parameters
const TDesC & aType | The type of the property. |
const TDesC & aValue | The value of the property. |
NewL(const TDesC &, CICalValue *)
Constructs a new
CICalProperty with given type and value and returns it. Takes ownership of the passed value pointer and deletes it if this function leaves. Note that other values may be added later.
- leave
- Leaves with KErrPropertyHasNoValue if aValue is NULL.
Parameters
const TDesC & aType | The type of the property. |
CICalValue * aValue | The value of the property. |
NewL(const TDesC &)
Parameters
const TDesC & aType | The type of the property. |
NewLC(const TDesC &, const TDesC &)
Constructs a new CICalProperty with given type and value, pushes it onto the Cleanup Stack, and returns it. Note that other values may be added later.
Parameters
const TDesC & aType | The type of the property. |
const TDesC & aValue | The value of the property. |
NewLC(const TDesC &, CICalValue *)
Constructs a new
CICalProperty with given type and value, pushes it onto the Cleanup Stack, and returns it. Takes ownership of the passed value pointer and deletes it if this function leaves. Note that other values may be added later.
- leave
- Leaves with KErrPropertyHasNoValue if aValue is NULL.
Parameters
const TDesC & aType | The type of the property. |
CICalValue * aValue | The value of the property. |
NewLC(const TDesC &)
Constructs a new CICalProperty with given type, pushes it onto the Cleanup Stack, and returns it.
Parameters
const TDesC & aType | The type of the property. |
Parameters()
Access method for the array of parameters.
RemovePropertyParamL(const CICalPropertyParam &)
Removes the given parameter from the property.
- leave
- Leaves in debug mode if the parameter is not found (release mode ignores this).
Type()
IMPORT_C const TDesC & | Type | ( | ) | const |
Gets the type of the property.
Values()
Access method for the array of properties.
Member Data Documentation
RPointerArray< CICalPropertyParam > iParams
RPointerArray< CICalValue > iValues
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.