CommsDat::CMDBGenericRecord Class Reference

class CommsDat::CMDBGenericRecord : public CommsDat::CMDBRecordBase

Container for data and type information in a MetaDatabase record For use to contain user-defined records as an alternative to declaring a specific record class of type CCDRecordBase

Public Member Functions
CMDBGenericRecord(TMDBElementId)
~CMDBGenericRecord()
IMPORT_C CMDBElement *GetFieldByIdL(TMDBElementId)
IMPORT_C CMDBElement *GetFieldByNameL(const TPtrC &, TInt &)
IMPORT_C voidInitializeL(const TDesC &, const SGenericRecordTypeInfo *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CommsDat::CMDBElement::Attributes()const
CommsDat::CMDBElement::CMDBElement()
CommsDat::CMDBElement::CMDBElement(TMDBElementId)
CommsDat::CMDBElement::ClearAttributes(TMDBAttributeFlags)
CommsDat::CMDBElement::Data()
CommsDat::CMDBElement::ElementId()const
CommsDat::CMDBElement::IsNull()const
CommsDat::CMDBElement::IsSetAttribute(TMDBAttributeFlags)const
CommsDat::CMDBElement::RecordId()const
CommsDat::CMDBElement::SetAttributes(TMDBAttributeFlags)
CommsDat::CMDBElement::SetElementId(TMDBElementId)
CommsDat::CMDBElement::SetRecordId(TInt)
CommsDat::CMDBElement::SetTypeId(TMDBElementId)
CommsDat::CMDBElement::TableId()const
CommsDat::CMDBElement::TypeId()const
CommsDat::CMDBElement::~CMDBElement()
CommsDat::CMDBNumFieldBase::CMDBNumFieldBase()
CommsDat::CMDBNumFieldBase::CMDBNumFieldBase(TMDBElementId)
CommsDat::CMDBNumFieldBase::GetL()
CommsDat::CMDBNumFieldBase::SetMaxLengthL(TInt)
CommsDat::CMDBNumFieldBase::operator=(const TInt)
CommsDat::CMDBRecordBase::CMDBRecordBase()
CommsDat::CMDBRecordBase::CMDBRecordBase(TMDBElementId)
CommsDat::CMDBRecordBase::GetRecordInfo()
Private Attributes
RPointerArray< CMDBElement >iFields
RArray< SGenericRecordTypeInfo >iRecordInfo
TBuf< KCDMaxFieldNameLength >iRecordType
Inherited Attributes
CommsDat::CMDBElement::iElementId
CommsDat::CMDBElement::iValue

Constructor & Destructor Documentation

CMDBGenericRecord(TMDBElementId)

EXP_DATA_VTABLECMDBGenericRecord(TMDBElementIdaElementId)[inline, explicit]

Parameters

TMDBElementId aElementId

~CMDBGenericRecord()

IMPORT_C~CMDBGenericRecord()

Member Functions Documentation

GetFieldByIdL(TMDBElementId)

IMPORT_C CMDBElement *GetFieldByIdL(TMDBElementIdaId)[virtual]

Parameters

TMDBElementId aId

GetFieldByNameL(const TPtrC &, TInt &)

IMPORT_C CMDBElement *GetFieldByNameL(const TPtrC &aFieldName,
TInt &aValType
)[virtual]

Parameters

const TPtrC & aFieldName
TInt & aValType

InitializeL(const TDesC &, const SGenericRecordTypeInfo *)

IMPORT_C voidInitializeL(const TDesC &aTableName,
const SGenericRecordTypeInfo *aNewTableInfo
)

Parameters

const TDesC & aTableName
const SGenericRecordTypeInfo * aNewTableInfo

Member Data Documentation

RPointerArray< CMDBElement > iFields

RPointerArray< CMDBElement >iFields[private]

RArray< SGenericRecordTypeInfo > iRecordInfo

RArray< SGenericRecordTypeInfo >iRecordInfo[private]

TBuf< KCDMaxFieldNameLength > iRecordType

TBuf< KCDMaxFieldNameLength >iRecordType[private]