Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#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

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

[Top]


Member functions


InternalizeL(RReadStream &)

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(RWriteStream &)const

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(const TPropertyInfo &)

IMPORT_C TInt AddL(const TPropertyInfo &);

Description

Adds a property to the array.

Parameters

const TSyncMLTransportPropertyInfo &

Property to add

Return value

TInt

Index of the new array element.

Leave codes

CArrayFixFlat::AppendL()


Delete(TInt)

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.


Count()const

IMPORT_C TInt Count() const;

Description

Gets the number of properties in the array.

Return value

TInt

Number of properties in the array


At(TInt)

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

TSyncMLTransportPropertyInfo &

Property value at array index aIndex


At(TInt)const

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 TSyncMLTransportPropertyInfo &

Property value at array index aIndex


operator[](TInt)

inline TPropertyInfo& operator[](TInt aIndex);

Description

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

Parameters

TInt aIndex

Index value

Return value

TSyncMLTransportPropertyInfo &

Property value at array index aIndex


operator[](TInt)const

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 TSyncMLTransportPropertyInfo &

Property value at array index aIndex

[Top]


Member type definitions


Typedef TPropertyInfo

typedef TSyncMLTransportPropertyInfo CSyncMLTransportPropertiesArray::TPropertyInfo;

Description

Information about a property.