#include <Column.hpp>
List of all members.
Public Types |
enum | {
NOT_NULLABLE = 0x0000,
NULLABLE = 0x0001,
NOT_UNIQUE = 0x0000,
UNIQUE = 0x0002,
NOT_KEY = 0x0000,
FOREIGN_KEY = 0x0004,
PRIMARY_KEY = 0x0008,
READ_WRITE = 0x0000,
READ_ONLY = 0x0010,
PERSISTENT = 0x0000,
TRANSIENT = 0x0020,
IGNORE_CASE = 0x0000,
COMPARE_CASE = 0x0100,
TZ_GMT = 0x0000,
TZ_LOCAL = 0x0100,
DEFAULTS = (NOT_NULLABLE | NOT_UNIQUE | NOT_KEY | READ_WRITE | PERSISTENT),
IDENTITY = (NOT_NULLABLE | UNIQUE | PRIMARY_KEY | READ_ONLY | PERSISTENT),
FOREIGNKEY = (NOT_NULLABLE | NOT_UNIQUE | FOREIGN_KEY | READ_WRITE | PERSISTENT)
} |
Public Member Functions |
CTable & | Table () const |
const CString & | Name () const |
COLTYPE | ColType () const |
STGTYPE | StgType () const |
size_t | Length () const |
size_t | AllocSize () const |
uint | Flags () const |
bool | Nullable () const |
bool | Unique () const |
bool | ForeignKey () const |
bool | PrimaryKey () const |
bool | ReadOnly () const |
bool | Transient () const |
CTable * | FKTable () const |
size_t | FKColumn () const |
CIndex * | Index () const |
size_t | DisplayWidth (bool bDebug=false) const |
void | Index (CIndex *pIndex) |
Static Public Member Functions |
static STGTYPE | ColToStgType (COLTYPE eType) |
Protected Member Functions |
| CColumn (CTable &oTable, const tchar *pszName, COLTYPE eType, size_t nLength, size_t nAllocSize, uint nFlags) |
| CColumn (CTable &oTable, const tchar *pszName, CTable &oFKTable, size_t nFKColumn, const CColumn &oFKColumn, uint nFlags) |
virtual | ~CColumn () |
Protected Attributes |
CTable & | m_oTable |
CString | m_strName |
COLTYPE | m_eColType |
STGTYPE | m_eStgType |
size_t | m_nLength |
size_t | m_nAllocSize |
uint | m_nFlags |
CTable * | m_pFKTable |
size_t | m_nFKColumn |
CIndex * | m_pIndex |
Private Member Functions |
| CColumn (const CColumn &) |
CColumn & | operator= (const CColumn &) |
Friends |
class | CColumnSet |
class | CTable |
Member Enumeration Documentation
- Enumerator:
NOT_NULLABLE |
|
NULLABLE |
|
NOT_UNIQUE |
|
UNIQUE |
|
NOT_KEY |
|
FOREIGN_KEY |
|
PRIMARY_KEY |
|
READ_WRITE |
|
READ_ONLY |
|
PERSISTENT |
|
TRANSIENT |
|
IGNORE_CASE |
|
COMPARE_CASE |
|
TZ_GMT |
|
TZ_LOCAL |
|
DEFAULTS |
|
IDENTITY |
|
FOREIGNKEY |
|
Constructor & Destructor Documentation
Member Function Documentation
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: