CommsDat::CMDBField< TDesC > Class Template Reference

#include <metadatabase.h>

Link against: ConnectionUiUtilities.lib

template <>
class CommsDat::CMDBField< TDesC > : public CommsDat::CMDBTextFieldBase

Inherits from

  • CommsDat::CMDBField< TDesC >

    Detailed Description

    A thin template that guards typed data access in a single CMDBElement This class describes a single field in the database

    Constructor & Destructor Documentation

    CMDBField ( )

    CMDBField()[inline]

    Default Constructor

    CMDBField ( TMDBElementId )

    CMDBField(TMDBElementIdaFieldId)[inline]

    Constructor setting Field's ElementId

    Member Function Documentation

    GetL ( )

    TDesC &GetL()[inline]

    Conversion operator for field value

    SetL ( const TDesC & )

    voidSetL(const TDesC &aValue)[inline]

    Function for setting a value

    SetMaxLengthL ( TInt )

    voidSetMaxLengthL(TIntaLength)[inline]

    operator const TDesC & ( )

    operator const TDesC &()[inline]

    Conversion operator for field value

    operator= ( const TDesC & )

    CMDBField< TDesC > &operator=(const TDesC &aValue)[inline]

    Assignment Operator setting Field's value

    operator= ( CMDBField< TDesC > & )

    CMDBField< TDesC > &operator=(CMDBField< TDesC > &aValue)[inline]