TDbCol Class Reference
Defines a column in a table or rowset.
The data members are public because this is really a structure to group the attributes of the column together.
Three non-default constructors are provided for convenience.
Constructor & Destructor Documentation
TDbCol()
Constructs an uninitialised
TDbCol
. It is necessary because there are also non-default constructors in this class.
TDbCol(const TDbCol &)
TDbCol
|
(
|
const
TDbCol
&
|
|
)
|
[inline]
|
Parameters
const
TDbCol
&
|
This TDbCol object will be constructed as an exact copy of aSrcCol object.
|
TDbCol(const TDesC &, TDbColType)
IMPORT_C
|
TDbCol
|
(
|
const
TDesC
&
|
aName,
|
|
TDbColType
|
aType
|
|
)
|
|
Parameters
const
TDesC
& aName
|
|
TDbColType
aType
|
|
TDbCol(const TDesC &, TDbColType, TInt)
IMPORT_C
|
TDbCol
|
(
|
const
TDesC
&
|
aName,
|
|
TDbColType
|
aType,
|
|
TInt
|
aMaxLength
|
|
)
|
|
Parameters
const
TDesC
& aName
|
|
TDbColType
aType
|
|
TInt
aMaxLength
|
|
TDbCol(const TDesC &)
TDbCol
|
(
|
const
TDesC
&
|
aName
|
)
|
[private, inline]
|
Member Functions Documentation
IsLong(TDbColType)
TBool
|
IsLong
|
(
|
TDbColType
|
aType
|
)
|
[static, inline]
|
operator=(const TDbCol &)
Parameters
const
TDbCol
&
|
This TDbCol object will be made to be an exact copy of aSrcCol object.
|
Member Enumerations Documentation
Enum anonymous
Enumerators
ENotNull = 0x01
|
|
EAutoIncrement = 0x02
|
|
Member Data Documentation
TUint
iAttributes
A set of flags describing other column attributes. This must be one of the anonymous enum values ENotNull or EAutoIncrement.
TInt
iMaxLength
The maximum length of data that can be stored in a Text or Binary column.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.