CESMRICalProperty Class Reference
class CESMRICalProperty : public CBase
|
Class representing a property.
Constructor & Destructor Documentation
CESMRICalProperty()
CESMRICalProperty
|
(
|
)
|
[private]
|
CESMRICalProperty(CESMRICalValue *)
Member Functions Documentation
AddPropertyParamL(const TDesC &, CESMRICalValue *)
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.
|
CESMRICalValue
* 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(CESMRICalValue *)
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.
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 &, CESMRICalValue *)
Internal construction. Takes ownership of the passed value pointer and deletes it if this function leaves.
Parameters
const
TDesC
& aType
|
The type of property.
|
CESMRICalValue
* aValue
|
A value of the property - this class takes ownership.
|
ExternalizeL(CESMRICalContentLineWriter &)
Export this property using the given line writer, escaping any necessary characters. Assumes it contains at least one value from the check in
CESMRICalBase::ExternalizeL()
.
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
CESMRICalProperty
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 &, CESMRICalValue *)
Constructs a new
CESMRICalProperty
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.
|
CESMRICalValue
* 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
CESMRICalProperty
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 &, CESMRICalValue *)
Constructs a new
CESMRICalProperty
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.
|
CESMRICalValue
* aValue
|
The value of the property.
|
NewLC(const TDesC &)
Constructs a new
CESMRICalProperty
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 CESMRICalPropertyParam &)
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< CESMRICalPropertyParam > iParams
RPointerArray< CESMRICalValue > 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.