|
|
|
Location:
cdbstore.h
Link against: commdb.lib
class CStoreableOverrideSettings : public CCommDbOverrideSettings;
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:
CStoreableOverrideSettings(), ConstructL(), ExternalizeL(), GetStore(), InternalizeL(), NewL(), NewL(), RestoreL(), StoreLC(), iStore, ~CStoreableOverrideSettings()
Inherited from CBase:
operator new()
Inherited from CCommDbOverrideSettings:
CheckL(),
Compare(),
EBoolValue,
EDes16Value,
EDes8Value,
EIntValue,
ELongDesValue,
EParamListFull,
EParamListPartial,
EUnknownType,
FindOverride(),
GetBoolOverride(),
GetConnectionPreferenceOverride(),
GetDesOverride(),
GetIntOverride(),
GetLongDesOverride(),
GetLongDesOverrideLength(),
IllegalOverride(),
IsOverridden(),
MatchIapOverride(),
PartialFull(),
SetBoolOverride(),
SetConnectionPreferenceOverride(),
SetDesOverride(),
SetIntOverride(),
SetLongDesOverride(),
TParamList,
TValueType,
Type(),
iDb,
iIapOverrides,
iOverrides,
iPartialFull
static CStoreableOverrideSettings* NewL(TParamList aParamList);
Supported from 7.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, TCommDbDatabaseType aType);
Supported from 6.0
Withdrawn in 7.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;
This member function has been depricated in release 7.0. Gets a pointer to the memory store object.
|
protected: CStoreableOverrideSettings(TParamList aParamList);
This member is internal and not intended for use.
private: CBufStore* iStore;
This member is internal and not intended for use.