![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behavior |
CCommDbOverrideSettings |
Override settings |
CStoreableOverrideSettings |
Storable override settings |
cdbstore.h
commdb.lib
Use an object of this type to make override settings for the columns of specific tables and stream this object to a buffer. The buffer is a convenient way of passing this information across thread or process boundaries.
The class also provides behavior which allows the settings to be streamed in.
The CCommDbOverrideSettings base class provide the member functions for setting and fetching override values.
static CStoreableOverrideSettings * NewL(TParamList aParamList);
Use this static function to allocate and construct a storeable override settings object.
The construction process automatically opens the communications database and connects to the DBMS. The database is closed and the connection to the DBMS severed when this override object is destroyed
TParamList aParamList |
An enumerator which indicates whether the override settings are partial or full. |
CStoreableOverrideSettings* |
A pointer to the override settings object. |
~CStoreableOverrideSettings;
The destructor frees all resources owned by this object, prior to its destruction.
Specifically, it deletes the memory store.
void InternalizeL(RReadStream& aStream);
Use this function to internalize the override settings from a stream.
RReadStream& aStream |
The stream to read from |
void ExternalizeL(RWriteStream& aStream) const;
Use this function to externalize override settings to a stream.
RWriteStream& aStream |
The stream to write to |
CBufFlat* StoreLC();
Use this function to construct a flat buffer and to store the override settings in it.
The function returns a pointer to the buffer; the pointer to to this object is placed on the cleanup stack.
CBufFlat* |
A pointer to a flat buffer in which this object is stored. |
void RestoreL(HBufC8* aBuf);
Use this function to retore the override settings from the buffer memory store hosted by the 8 bit descriptor aBuf.
HBufC8* aBuf |
A pointer to an 8 bit memory descriptor containing the data to be restored. |
CBufStore* GetStore() const;
Uses this function to fetch a pointer to the memory store object.
CBufStore* |
The pointer to the memory store object |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |