#include <SyncMLTransportProperties.h>
Link against:
smlclient.lib
This item is not part of the S60 5th Edition SDK
Class CSyncMLTransportPropertiesArray
class CSyncMLTransportPropertiesArray : public CBase;
Description
An array of SyncML
transport property information.
This is used to store information about the properties supported by a transport type.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CSyncMLTransportPropertiesArray
- An array of SyncML transport property information.
Members
Defined in CSyncMLTransportPropertiesArray
:
Inherited from CBase
:
See also:
Construction and destruction
CSyncMLTransportPropertiesArray(TInt)
IMPORT_C CSyncMLTransportPropertiesArray(TInt aGranularity);
Description
Constructor.
Parameters
TInt aGranularity |
granularity
|
|
InternalizeL(RReadStream &)
IMPORT_C void InternalizeL(RReadStream &);
Description
Internalises the object from a stream.
Parameters
Leave codes
ExternalizeL(RWriteStream &)const
IMPORT_C void ExternalizeL(RWriteStream &) const;
Description
Externalises the object to a stream.
Parameters
Leave codes
AddL(const TPropertyInfo &)
IMPORT_C TInt AddL(const TPropertyInfo &);
Description
Adds a property to the array.
Parameters
Return value
TInt
|
Index of the new array element.
|
|
Leave codes
IMPORT_C void Delete(TInt aIndex);
Description
Deletes a property from the array.
Parameters
TInt aIndex |
Index of the array element to delete.
|
|
Find(const TDesC8 &)const
IMPORT_C TInt Find(const TDesC8 &aPropertyName) const;
Description
Searches the array for a specified property.
Parameters
const TDesC8 &aPropertyName |
Name of the property to find
|
|
Return value
TInt
|
Index of the property in the array. Zero if not found.
|
|
IMPORT_C TInt Count() const;
Description
Gets the number of properties in the array.
Return value
TInt
|
Number of properties in the array
|
|
IMPORT_C TPropertyInfo& At(TInt aIndex);
Description
Gets the member of the array with the specified index value.
Parameters
Return value
IMPORT_C const TPropertyInfo& At(TInt aIndex) const;
Description
Gets the member of the array with the specified index value (const overload).
Parameters
Return value
inline TPropertyInfo& operator[](TInt aIndex);
Description
Gets the member of the array with the specified index value.
Parameters
Return value
inline const TPropertyInfo& operator[](TInt aIndex) const;
Description
Gets the member of the array with the specified index value (const overload).
Parameters
Return value
typedef TSyncMLTransportPropertyInfo CSyncMLTransportPropertiesArray::TPropertyInfo;
Description
Information about a property.