class CStoreableOverrideSettings : public CCommDbOverrideSettings |
Creates override settings for the columns of specific tables, and stores and retrieves the override sets to and from both streams and buffers.
The buffer is a convenient way of passing this information across thread or process boundaries.
The CCommDbOverrideSettings base class provides the member functions for setting and fetching override values. Overrides are deprecated from v9.1
Public Member Functions | |
---|---|
~CStoreableOverrideSettings () | |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
CBufStore * | GetStore () |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C CStoreableOverrideSettings * | NewL ( TParamList ) |
IMPORT_C CStoreableOverrideSettings * | NewL ( TParamList , TCommDbDatabaseType ) |
IMPORT_C void | RestoreL ( HBufC8 *) |
IMPORT_C CBufFlat * | StoreLC () |
Protected Member Functions | |
---|---|
CStoreableOverrideSettings ( TParamList ) | |
void | ConstructL () |
Inherited Enumerations | |
---|---|
CCommDbOverrideSettings:TParamList | |
CCommDbOverrideSettings:TValueType |
Private Attributes | |
---|---|
CBufStore * | iStore |
Inherited Attributes | |
---|---|
CCommDbOverrideSettings::iDb | |
CCommDbOverrideSettings::iIapOverrides | |
CCommDbOverrideSettings::iOverrides | |
CCommDbOverrideSettings::iPartialFull |
CStoreableOverrideSettings | ( | TParamList | aParamList | ) | [protected] |
Constructor
TParamList aParamList |
IMPORT_C | ~CStoreableOverrideSettings | ( | ) |
Frees all resources owned by this object, prior to its destruction.
Specifically, it deletes the memory store.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalises override settings to a stream.
RWriteStream & aStream | The stream to write to. |
CBufStore * | GetStore | ( | ) | const [inline] |
Accesses the buffer store. 7.0 There is no need for this store - none of the above functions use this store. If a client needs a store it should create its own.
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Internalises the override settings from a stream.
RReadStream & aStream | The stream to read from. |
IMPORT_C CStoreableOverrideSettings * | NewL | ( | TParamList | aParamList | ) | [static] |
Allocates and constructs a storable 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
This member function was withdrawn in release 6.0, but re-introduced in 7.0
TParamList aParamList | An enumerator which indicates whether the override settings are partial or full. |
IMPORT_C CStoreableOverrideSettings * | NewL | ( | TParamList | aParamList, |
TCommDbDatabaseType | aDbType | |||
) | [static] |
Allocates and constructs a storable 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
Re-instated override variant of NewL function in order to maintain BC with 6.1. Disgards a TCommDbDatabaseType value and calls NewL(TParamList aParamList) .
TParamList aParamList | |
TCommDbDatabaseType aDbType | Whether Database is IAP or ISP version. All Db's are IAP type now. |
IMPORT_C void | RestoreL | ( | HBufC8 * | aBuf | ) |
Restores the override settings from the buffer memory store hosted by the specified 8-bit descriptor.
HBufC8 * aBuf | A pointer to an 8 bit memory descriptor containing the data to be restored. |
IMPORT_C CBufFlat * | StoreLC | ( | ) |
Constructs a flat buffer and stores the override settings in it.
The function returns a pointer to the buffer; the pointer to this object is placed on the cleanup stack.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.