Location:
cdbstore.h
Link against: commdb.lib
CStoreableOverrideSettings
Supported from 5.0
Creates override settings for the columns of specific tables and streams this object to a buffer. The buffer is a convenient way of passing this information across thread or process boundaries.
The class also provides behaviour which allows the settings to be streamed in.
The CCommDbOverrideSettings
base class provide the
member functions for setting and fetching override values.
|
Defined in CStoreableOverrideSettings
:
ExternalizeL()
, GetStore()
, InternalizeL()
, NewL()
, RestoreL()
, StoreLC()
, ~CStoreableOverrideSettings()
Inherited from CBase
:
operator new()
Inherited from CCommDbOverrideSettings
:
EParamListFull
,
EParamListPartial
,
GetBoolOverride()
,
GetConnectionPreferenceOverride()
,
GetDesOverride()
,
GetIntOverride()
,
GetLongDesOverride()
,
GetLongDesOverrideLength()
,
IsOverridden()
,
PartialFull()
,
SetBoolOverride()
,
SetConnectionPreferenceOverride()
,
SetDesOverride()
,
SetIntOverride()
,
SetLongDesOverride()
,
TParamList
,
Type()
static CStoreableOverrideSettings* NewL(TParamList aParamList, TCommDbDatabaseType aType);
Supported from 6.0
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
|
|
static CStoreableOverrideSettings* NewL(TParamList aParamList);
Withdrawn in 6.0
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
|
|
~CStoreableOverrideSettings;
Frees all resources owned by this object, prior to its destruction.
Specifically, it deletes the memory store.
void InternalizeL(RReadStream& aStream);
Internalises the override settings from a stream.
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises override settings to a stream.
|
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.
|
void RestoreL(HBufC8* aBuf);
Restores the override settings from the buffer memory store hosted by the specified 8 bit descriptor.
|
CBufStore* GetStore() const;
Gets a pointer to the memory store object.
|