CESMRICalPropertyParam Class Reference
class CESMRICalPropertyParam : public CBase
|
Class representing a property parameter.
Constructor & Destructor Documentation
CESMRICalPropertyParam()
CESMRICalPropertyParam
|
(
|
)
|
[private]
|
CESMRICalPropertyParam(CESMRICalValue *)
~CESMRICalPropertyParam()
~CESMRICalPropertyParam
|
(
|
)
|
|
Member Functions Documentation
AddValueL(const TDesC &)
IMPORT_C void
|
AddValueL
|
(
|
const
TDesC
&
|
aValue
|
)
|
|
Adds a string to the parameter's list of values. Any quotes are removed from the value as they are only used to escape other characters and are not a valid parameter value character in themselves.
-
leave
-
Leaves if there is an error adding a value.
Parameters
const
TDesC
& aValue
|
The value to add.
|
AddValueL(CESMRICalValue *)
Adds a value to the parameter's list of values, taking ownership. Note that the value is deleted if this function leaves.
-
leave
-
Leaves with KErrParameterHasNoValue if aValue is NULL.
ConstructL(const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aType
|
)
|
[private]
|
Parameters
const
TDesC
& aType
|
The type of parameter.
|
ConstructL(const TDesC &, const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC
&
|
aType,
|
|
const
TDesC
&
|
aValue
|
|
)
|
[private]
|
Parameters
const
TDesC
& aType
|
The type of parameter.
|
const
TDesC
& aValue
|
A value of the parameter.
|
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 parameter.
|
CESMRICalValue
* aValue
|
A value of the parameter - this class takes ownership.
|
EqualsL(const CESMRICalPropertyParam &, const CESMRICalPropertyParam &)
Determines if two property parameters are equal. Comparison is case-sensitive.
ExternalizeL(CESMRICalContentLineWriter &)
Export this property parameter using the given line writer. Values are quoted if they contain characters that need to be escaped. Assumes it contains at least one value from the check in
CESMRICalProperty::ExternalizeL()
.
NewL(const TDesC &, CESMRICalValue *)
Static factory constructor. 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 KErrParameterHasNoValue if aValue is NULL.
Parameters
const
TDesC
& aType
|
The type of parameter.
|
CESMRICalValue
* aValue
|
A value of the parameter - this class takes ownership.
|
NewL(const TDesC &, const TDesC &)
Static factory constructor. Note that other values may be added later. The constructed object is pushed onto the Cleanup Stack.
Parameters
const
TDesC
& aType
|
The type of parameter.
|
const
TDesC
& aValue
|
A value of the parameter passed as a descriptor.
|
NewLC(const TDesC &, CESMRICalValue *)
Static factory constructor. Takes ownership of the passed value pointer and deletes it if this function leaves. Note that other values may be added later. The constructed object is pushed onto the Cleanup Stack.
-
leave
-
Leaves with KErrParameterHasNoValue if aValue is NULL.
Parameters
const
TDesC
& aType
|
The type of parameter.
|
CESMRICalValue
* aValue
|
A value of the parameter - this class takes ownership.
|
NewLC(const TDesC &, const TDesC &)
Static factory constructor. Note that other values may be added later. The constructed object is pushed onto the Cleanup Stack.
Parameters
const
TDesC
& aType
|
The type of parameter.
|
const
TDesC
& aValue
|
A value of the parameter passed as a descriptor.
|
NewLC()
Static factory construction. The constructed object is pushed onto the Cleanup Stack. Note that this constructor is not exported.
SetTypeL(const TDesC &)
void
|
SetTypeL
|
(
|
const
TDesC
&
|
aType
|
)
|
|
Sets the type of the parameter to a string value
Parameters
const
TDesC
& aType
|
the type of the property parameter
|
Type()
IMPORT_C const
TDesC
&
|
Type
|
(
|
)
|
const
|
Gets the type of the parameter
Values()
Access method for the value array.
Member Data Documentation
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.