ESock::RConnPrefList Class Reference

class ESock::RConnPrefList

This class will be used as a handle to TConnPrefList . During construction of the stack this class will be sent in messages as TConnPrefList cannot be sent in every message. The overhead of this would be too great (as it would have to be serialized and deserialized every time the message was sent). A reference cannot be sent as this would not work across processes.

Public Member Functions
RConnPrefList ()
IMPORT_C void AppendL (SMetaDataECom *)
IMPORT_C void Close ()
IMPORT_C TInt Count ()
IMPORT_C void Open ( RConnPrefList &)
IMPORT_C void Remove ( TInt )
RConnPrefList::TIter < TYPE > getIter ()
IMPORT_C SMetaData * operator[] ( TInt )
Private Member Functions
TInt Open ( TConnPrefList *)
Private Attributes
TConnPrefList * iObject

Constructor & Destructor Documentation

RConnPrefList()

IMPORT_C RConnPrefList ( )

Member Functions Documentation

AppendL(SMetaDataECom *)

IMPORT_C void AppendL ( SMetaDataECom * aFamily )
Append a preference to connection preferences list
leave
System wide error code.

Parameters

SMetaDataECom * aFamily Preference to append

Close()

IMPORT_C void Close ( )

Close the RConnPrefList object

Count()

IMPORT_C TInt Count ( )

Open(RConnPrefList &)

IMPORT_C void Open ( RConnPrefList & aPrefList )

Open and initialise with data from passed in RConnPrefList

Parameters

RConnPrefList & aPrefList RConnPrefList to copy data from. The copy is shallow.

Open(TConnPrefList *)

TInt Open ( TConnPrefList * aObject ) [private]

Parameters

TConnPrefList * aObject

Remove(TInt)

IMPORT_C void Remove ( TInt aIndex )

Remove an object from the RConnPrefList

Parameters

TInt aIndex the index of the object to remove

getIter()

RConnPrefList::TIter < TYPE > getIter ( ) [inline]

Create an iterator for template parameter TYPE. The iterator will be able to iterate over all the members of the RConnPrefList which match the type specified.

operator[](TInt)

IMPORT_C SMetaData * operator[] ( TInt aIndex )

Parameters

TInt aIndex index of requested object

Member Data Documentation

TConnPrefList * iObject

TConnPrefList * iObject [private]