Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: syncmltransportproperties.h
Link against: smlclient.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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

Members

Defined in CSyncMLTransportPropertiesArray:
AddL(), At(), At(), CSyncMLTransportPropertiesArray(), Count(), Delete(), ExternalizeL(), Find(), InternalizeL(), TPropertyInfo, operator[](), operator[]()

Inherited from CBase:
Extension_(), operator new()

See also:


Construction and destruction


CSyncMLTransportPropertiesArray()

IMPORT_C CSyncMLTransportPropertiesArray(TInt aGranularity);

Description

Constructor.

Parameters

TInt aGranularity

granularity

See also:

[Top]


Member functions


InternalizeL()

IMPORT_C void InternalizeL(RReadStream &);

Description

Internalises the object from a stream.

Parameters

RReadStream &

Stream from which to read the object.

Leave codes

Stream

leave codes


ExternalizeL()

IMPORT_C void ExternalizeL(RWriteStream &) const;

Description

Externalises the object to a stream.

Parameters

RWriteStream &

Stream to which to write the object.

Leave codes

Stream

leave codes


AddL()

IMPORT_C TInt AddL(const TPropertyInfo &);

Description

Adds a property to the array.

Parameters

const TPropertyInfo &

Property to add

Return value

TInt

Index of the new array element.

Leave codes

CArrayFixFlat::AppendL()


Delete()

IMPORT_C void Delete(TInt aIndex);

Description

Deletes a property from the array.

Parameters

TInt aIndex

Index of the array element to delete.


Find()

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.


Count()

IMPORT_C TInt Count() const;

Description

Gets the number of properties in the array.

Return value

TInt

Number of properties in the array


At()

IMPORT_C TPropertyInfo &At(TInt aIndex);

Description

Gets the member of the array with the specified index value.

Parameters

TInt aIndex

Index value

Return value

TPropertyInfo &

Property value at array index aIndex


At()

IMPORT_C const TPropertyInfo &At(TInt aIndex) const;

Description

Gets the member of the array with the specified index value (const overload).

Parameters

TInt aIndex

Index value

Return value

const TPropertyInfo &

Property value at array index aIndex


operator[]()

inline TPropertyInfo &operator[](TInt aIndex);

Description

Gets the member of the array with the specified index value.

Parameters

TInt aIndex

Index value

Return value

TPropertyInfo &

Property value at array index aIndex


operator[]()

inline const TPropertyInfo &operator[](TInt aIndex) const;

Description

Gets the member of the array with the specified index value (const overload).

Parameters

TInt aIndex

Index value

Return value

const TPropertyInfo &

Property value at array index aIndex

[Top]


Member type definitions


Typedef TPropertyInfo

typedef TSyncMLTransportPropertyInfo CSyncMLTransportPropertiesArray::TPropertyInfo;

Description

Information about a property.