RVC::DBTABLE::CONSTRAINT Class Reference

Constraint class for the field in the table. More...

#include <rvc/dbtable.h>

List of all members.

Public Types

enum  CASE {
  CASE_None = 0, CASE_ForceUpperCase = 0x0100, CASE_ForceLowerCase = 0x0200, CASE_CapFirstLetter = 0x0400,
  CASE_CapFirstWord = 0x0800
}
enum  PKTABLE { PKTABLE_None = 0, PKTABLE_MustExist = 0x00008000, PKTABLE_AutoAdd = 0x00010000, PKTABLE_AutoAddPrompt = 0x00020000 }
enum  RANGEFLAG {
  RANGEFLAG_None = 0, RANGEFLAG_MinExclusive = 0x0001, RANGEFLAG_MaxExclusive = 0x0002, RANGEFLAG_MinInclusive = 0x0004,
  RANGEFLAG_MaxInclusive = 0x0008
}

Public Member Functions

bool CanBeEmpty () const
 CONSTRAINT ()
CASE GetCaseFlags () const
double GetDefaultNum () const
PKTABLE GetPkTableFlags () const
const MISTRINGGetPostfixLabel () const
const MISTRINGGetPrefixLabel () const
const DOUBLE_RANGEGetRange () const
RANGEFLAG GetRangeFlags () const
bool IsAutoComplete () const
void SetAutoComplete (bool value)
void SetCaseFlags (CASE flags)
void SetDefaultNum (double number)
void SetEmpty (bool value)
void SetPkTableFlags (PKTABLE flags)
void SetPostfixLabel (const MISTRING &label)
void SetPrefixLabel (const MISTRING &label)
void SetRange (const DOUBLE_RANGE &range)
void SetRangeFlags (RANGEFLAG flags)
 ~CONSTRAINT ()


Detailed Description

Constraint class for the field in the table.

Definition at line 1178 of file dbtable.h.


Member Enumeration Documentation

enum RVC::DBTABLE::CONSTRAINT::CASE
 

Enumeration values:
CASE_None 
CASE_ForceUpperCase 
CASE_ForceLowerCase 
CASE_CapFirstLetter 
CASE_CapFirstWord 

Definition at line 1180 of file dbtable.h.

enum RVC::DBTABLE::CONSTRAINT::PKTABLE
 

Enumeration values:
PKTABLE_None 
PKTABLE_MustExist 
PKTABLE_AutoAdd 
PKTABLE_AutoAddPrompt 

Definition at line 1188 of file dbtable.h.

enum RVC::DBTABLE::CONSTRAINT::RANGEFLAG
 

Enumeration values:
RANGEFLAG_None 
RANGEFLAG_MinExclusive 
RANGEFLAG_MaxExclusive 
RANGEFLAG_MinInclusive 
RANGEFLAG_MaxInclusive 

Definition at line 1195 of file dbtable.h.


Constructor & Destructor Documentation

RVC::DBTABLE::CONSTRAINT::CONSTRAINT  ) 
 

Default Constructor.

RVC::DBTABLE::CONSTRAINT::~CONSTRAINT  )  [inline]
 

Destructor.

Definition at line 1208 of file dbtable.h.


Member Function Documentation

bool RVC::DBTABLE::CONSTRAINT::CanBeEmpty  )  const [inline]
 

Definition at line 1211 of file dbtable.h.

CASE RVC::DBTABLE::CONSTRAINT::GetCaseFlags  )  const [inline]
 

Definition at line 1214 of file dbtable.h.

double RVC::DBTABLE::CONSTRAINT::GetDefaultNum  )  const [inline]
 

Definition at line 1217 of file dbtable.h.

PKTABLE RVC::DBTABLE::CONSTRAINT::GetPkTableFlags  )  const [inline]
 

Definition at line 1226 of file dbtable.h.

const MISTRING& RVC::DBTABLE::CONSTRAINT::GetPostfixLabel  )  const [inline]
 

Definition at line 1223 of file dbtable.h.

const MISTRING& RVC::DBTABLE::CONSTRAINT::GetPrefixLabel  )  const [inline]
 

Definition at line 1220 of file dbtable.h.

const DOUBLE_RANGE& RVC::DBTABLE::CONSTRAINT::GetRange  )  const [inline]
 

Definition at line 1229 of file dbtable.h.

RANGEFLAG RVC::DBTABLE::CONSTRAINT::GetRangeFlags  )  const [inline]
 

Definition at line 1232 of file dbtable.h.

bool RVC::DBTABLE::CONSTRAINT::IsAutoComplete  )  const [inline]
 

Definition at line 1235 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetAutoComplete bool  value  )  [inline]
 

Definition at line 1238 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetCaseFlags CASE  flags  )  [inline]
 

Definition at line 1242 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetDefaultNum double  number  )  [inline]
 

Definition at line 1246 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetEmpty bool  value  )  [inline]
 

Definition at line 1250 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetPkTableFlags PKTABLE  flags  )  [inline]
 

Definition at line 1262 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetPostfixLabel const MISTRING label  )  [inline]
 

Definition at line 1258 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetPrefixLabel const MISTRING label  )  [inline]
 

Definition at line 1254 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetRange const DOUBLE_RANGE range  )  [inline]
 

Definition at line 1266 of file dbtable.h.

void RVC::DBTABLE::CONSTRAINT::SetRangeFlags RANGEFLAG  flags  )  [inline]
 

Definition at line 1270 of file dbtable.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:20 2004 for TNTsdk by  doxygen 1.3.8-20040913