class CCommDbOverrideSettings : public CBase |
Repository of override settings for columns in tables. Overrides are deprecated from v9.1
Holds all information about CommDb overrides. Allows the client to store, retrieve and test the existence of overrides.
Protected Member Functions | |
---|---|
CCommDbOverrideSettings(TParamList) | |
void | CheckL(const TDesC &, const TDesC &, TValueType) |
void | ConstructL() |
TInt | FindOverride(const TDesC &, const TDesC &, TValueType) |
TBool | IllegalOverride(const TDesC &, const TDesC &) |
TBool | MatchIapOverride(const TCommDbIapConnectionPrefOverride &, const TCommDbIapConnectionPrefOverride &) |
Public Member Enumerations | |
---|---|
enum | TParamList { EParamListPartial, EParamListFull } |
enum | TValueType { EIntValue, EBoolValue, EDes8Value, EDes16Value, ELongDesValue, EUnknownType } |
Protected Attributes | |
---|---|
CCommsDatabase * | iDb |
RArray< TCommDbIapConnectionPrefOverride > | iIapOverrides |
RPointerArray< CCommDbOverride > | iOverrides |
TParamList | iPartialFull |
CCommDbOverrideSettings | ( | TParamList | aParamList | ) | [protected] |
TParamList aParamList |
void | CheckL | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TValueType | aType | |||
) | const [protected] |
const TDesC & aTableName | |
const TDesC & aColumnName | |
TValueType aType |
IMPORT_C TBool | Compare | ( | CCommDbOverrideSettings * | aOverrides | ) | const |
CCommDbOverrideSettings * aOverrides |
TInt | FindOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TValueType | aType | |||
) | const [protected] |
const TDesC & aTableName | |
const TDesC & aColumnName | |
TValueType aType |
IMPORT_C TInt | GetBoolOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TBool & | aValue | |||
) |
IMPORT_C TInt | GetConnectionPreferenceOverride | ( | CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref & | aPref | ) |
CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref & aPref |
IMPORT_C TInt | GetConnectionPreferenceOverride | ( | CCommsDbConnectionPrefTableView::TCommDbIspConnectionPref & | aPref | ) |
CCommsDbConnectionPrefTableView::TCommDbIspConnectionPref & aPref |
IMPORT_C TInt | GetDesOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TDes8 & | aValue | |||
) |
IMPORT_C TInt | GetDesOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TDes16 & | aValue | |||
) |
IMPORT_C TInt | GetIntOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TUint32 & | aValue | |||
) |
IMPORT_C TInt | GetLongDesOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TDes & | aValue | |||
) |
IMPORT_C TInt | GetLongDesOverrideLength | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TInt & | aLength | |||
) |
TBool | IllegalOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName | |||
) | const [protected] |
IMPORT_C TBool | IsOverridden | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TValueType | aType | |||
) |
const TDesC & aTableName | |
const TDesC & aColumnName | |
TValueType aType |
TBool | MatchIapOverride | ( | const TCommDbIapConnectionPrefOverride & | aFirst, |
const TCommDbIapConnectionPrefOverride & | aSecond | |||
) | [protected, static] |
const TCommDbIapConnectionPrefOverride & aFirst | |
const TCommDbIapConnectionPrefOverride & aSecond |
IMPORT_C CCommDbOverrideSettings * | NewL | ( | TParamList | aParamList | ) | [static] |
TParamList aParamList |
IMPORT_C CCommDbOverrideSettings * | NewL | ( | TParamList | aParamList, |
TCommDbDatabaseType | aDbType | |||
) | [static] |
TParamList aParamList | |
TCommDbDatabaseType aDbType |
TParamList | PartialFull | ( | ) | const [inline] |
Returns the value set in the constructor.
An enumeration which determines whether this set of override values is full or partial.
IMPORT_C TInt | SetBoolOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TBool | aValue | |||
) |
IMPORT_C TInt | SetConnectionPreferenceOverride | ( | const CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref & | aPref | ) |
const CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref & aPref |
IMPORT_C TInt | SetConnectionPreferenceOverride | ( | const CCommsDbConnectionPrefTableView::TCommDbIspConnectionPref & | aPref | ) |
const CCommsDbConnectionPrefTableView::TCommDbIspConnectionPref & aPref |
IMPORT_C TInt | SetDesOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
const TDesC8 & | aValue | |||
) |
IMPORT_C TInt | SetDesOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
const TDesC16 & | aValue | |||
) |
IMPORT_C TInt | SetIntOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
TUint32 | aValue | |||
) |
IMPORT_C TInt | SetLongDesOverride | ( | const TDesC & | aTableName, |
const TDesC & | aColumnName, | |||
const TDesC & | aValue | |||
) |
v7.0
Override setting flags returned by PartialFull(). The only use of TParamList is during the comparison of two override sets.
EParamListPartial |
The override settings are partial; the CCommDbOverrideSettings object maintains override values for only some of the columns. |
EParamListFull |
The override settings are full; the CCommDbOverrideSettings object maintains override values for all columns |
The value types that may be stored in as overrides Overrides are deprecated from v9.1 "Could just use TDbColType"
RArray< TCommDbIapConnectionPrefOverride > | iIapOverrides | [protected] |