![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behaviour. |
CParserProperty |
Base class for versit properties. |
vcard.h
versit.lib
Encapsulates a grouped property.
A grouped property is a parser property, derived from CParserProperty, which is a member of a property group. It owns an array of descriptors, each of which specifies the name of a group to which the property belongs.
CParserGroupedProperty* NewL(CParserPropertyValue* aPropertyValue, const TDesC& aName, CDesCArray* aArrayOfGroups, CArrayPtr<CParserParam>* aArrayOfParams);
Use this function to allocate and construct a new grouped property from the value, name, property parameters and groups specified.
CParserPropertyValue* aPropertyValue |
Pointer to the property value. |
const TDesC& aName |
The property name. |
CDesCArray* aArrayOfGroups |
Pointer to an array of descriptors. Each descriptor in the array is a group name (a grouped property can be a member of more than one group). The grouped property object takes ownership of the array of groups. May be NULL if the property is not a member of a group. |
CArrayPtr<CParserParam>* aArrayOfParams |
The property parameters. The grouped property object takes ownership of the array of parameters. May be NULL if the property has no parameters. |
CParserGroupedProperty* |
Pointer to the newly created grouped property. |
CParserGroupedProperty* NewLC(CParserPropertyValue* aPropertyValue, const TDesC& aName, CDesCArray* aArrayOfGroups, CArrayPtr<CParserParam>* aArrayOfParams);
Use this function to allocate and construct a new property group from the value, name, property parameters and groups specified. The grouped property is left on the cleanup stack.
CParserPropertyValue* aPropertyValue |
Pointer to the property value. |
const TDesC& aName |
The property name. |
CDesCArray* aArrayOfGroups |
Pointer to an array of descriptors. Each descriptor in the array is a group name (a grouped property can be a member of more than one group). The grouped property object takes ownership of the array of groups. May be NULL if the property is not a member of a group. |
CArrayPtr<CParserParam>* aArrayOfParams |
The property parameters. The grouped property object takes ownership of the array of parameters. May be NULL if the property has no parameters. |
CParserGroupedProperty* |
Pointer to the newly created grouped property. |
~CParserGroupedProperty();
The destructor frees all resources owned by the property, prior to its destruction.
TBool Group(const TDesC& aGroup) const;
Use this function to test whether the grouped property is a member of the specified property group.
const TDesC& aGroup |
The name of the property group. |
TBool |
ETrue if the grouped property is a member of the specified property group. EFalse if not. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |