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 = DBFIELDCONSTRAINT_Case_AllUpper, CASE_ForceLowerCase = DBFIELDCONSTRAINT_Case_AllLower, CASE_CapFirstLetter = DBFIELDCONSTRAINT_Case_FirstLetterCap,
  CASE_CapFirstWord = DBFIELDCONSTRAINT_Case_FirstWordCap
}
enum  DEFAULTFLAG { DEFAULT_Zero = 0, DEFAULT_Constant = DBFIELDCONSTRAINT_Default_Constant, DEFAULT_Blank = DBFIELDCONSTRAINT_Default_Empty }
enum  KEYMODE {
  KEYMODE_None = 0, KEYMODE_ComboBox = DBFIELDCONSTRAINT_UI_ComboBox, KEYMODE_OptionMenu = DBFIELDCONSTRAINT_UI_OptionMenu, KEYMODE_CSVListAllowDups = DBFIELDCONSTRAINT_ValueList_AllowDups,
  KEYMODE_CSVListUnique = DBFIELDCONSTRAINT_ValueList_NoDups
}
enum  PKTABLE { PKTABLE_None = 0, PKTABLE_MustExist = DBFIELDCONSTRAINT_PrimaryKey_MustExist, PKTABLE_AutoAdd = DBFIELDCONSTRAINT_PrimaryKey_AutoAdd, PKTABLE_AutoAddPrompt = DBFIELDCONSTRAINT_PrimaryKey_PromptAdd }
enum  RANGEFLAG {
  RANGEFLAG_None = 0, RANGEFLAG_MinExclusive = DBFIELDCONSTRAINT_Range_MinExclusive, RANGEFLAG_MaxExclusive = DBFIELDCONSTRAINT_Range_MaxExclusive, RANGEFLAG_MinInclusive = DBFIELDCONSTRAINT_Range_MinInclusive,
  RANGEFLAG_MaxInclusive = DBFIELDCONSTRAINT_Range_MaxInclusive, RANGEFLAG_MINMASK = DBFIELDCONSTRAINT_Range_Min_MASK, RANGEFLAG_MAXMASK = DBFIELDCONSTRAINT_Range_Max_MASK
}

Public Member Functions

 CONSTRAINT (const CONSTRAINT &rhs)
 CONSTRAINT ()
 ~CONSTRAINT ()
DEPRECATED bool CanBeEmpty () const
void Clear ()
CASE GetCaseFlags () const
DEFAULTFLAG GetDefaultFlags () const
double GetDefaultNum () const
KEYMODE GetKeyMode () 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 SetDefaultFlags (DEFAULTFLAG flags)
void SetDefaultNum (double number)
DEPRECATED void SetEmpty (bool value)
void SetKeyMode (KEYMODE flags)
void SetPkTableFlags (PKTABLE flags)
void SetPostfixLabel (const MISTRING &label)
void SetPrefixLabel (const MISTRING &label)
void SetRange (const DOUBLE_RANGE &range)
void SetRangeFlags (RANGEFLAG flags)

Detailed Description

Constraint class for the field in the table.


Member Enumeration Documentation

Enumerator:
CASE_None 
CASE_ForceUpperCase 
CASE_ForceLowerCase 
CASE_CapFirstLetter 
CASE_CapFirstWord 
Enumerator:
DEFAULT_Zero 
DEFAULT_Constant 
DEFAULT_Blank 
Enumerator:
KEYMODE_None 
KEYMODE_ComboBox 
KEYMODE_OptionMenu 
KEYMODE_CSVListAllowDups 
KEYMODE_CSVListUnique 
Enumerator:
PKTABLE_None 
PKTABLE_MustExist 
PKTABLE_AutoAdd 
PKTABLE_AutoAddPrompt 
Enumerator:
RANGEFLAG_None 
RANGEFLAG_MinExclusive 
RANGEFLAG_MaxExclusive 
RANGEFLAG_MinInclusive 
RANGEFLAG_MaxInclusive 
RANGEFLAG_MINMASK 
RANGEFLAG_MAXMASK 

Constructor & Destructor Documentation

RVC::DBTABLE::CONSTRAINT::CONSTRAINT (  ) 

Default Constructor.

RVC::DBTABLE::CONSTRAINT::CONSTRAINT ( const CONSTRAINT rhs  ) 

Copy Constructor.

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

Destructor.


Member Function Documentation

DEPRECATED bool RVC::DBTABLE::CONSTRAINT::CanBeEmpty (  )  const [inline]
void RVC::DBTABLE::CONSTRAINT::Clear (  ) 
CASE RVC::DBTABLE::CONSTRAINT::GetCaseFlags (  )  const [inline]
DEFAULTFLAG RVC::DBTABLE::CONSTRAINT::GetDefaultFlags (  )  const [inline]
double RVC::DBTABLE::CONSTRAINT::GetDefaultNum (  )  const [inline]
KEYMODE RVC::DBTABLE::CONSTRAINT::GetKeyMode (  )  const [inline]
PKTABLE RVC::DBTABLE::CONSTRAINT::GetPkTableFlags (  )  const [inline]
const MISTRING& RVC::DBTABLE::CONSTRAINT::GetPostfixLabel (  )  const [inline]
const MISTRING& RVC::DBTABLE::CONSTRAINT::GetPrefixLabel (  )  const [inline]
const DOUBLE_RANGE& RVC::DBTABLE::CONSTRAINT::GetRange (  )  const [inline]
RANGEFLAG RVC::DBTABLE::CONSTRAINT::GetRangeFlags (  )  const [inline]
bool RVC::DBTABLE::CONSTRAINT::IsAutoComplete (  )  const [inline]
void RVC::DBTABLE::CONSTRAINT::SetAutoComplete ( bool  value  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetCaseFlags ( CASE  flags  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetDefaultFlags ( DEFAULTFLAG  flags  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetDefaultNum ( double  number  )  [inline]
DEPRECATED void RVC::DBTABLE::CONSTRAINT::SetEmpty ( bool  value  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetKeyMode ( KEYMODE  flags  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetPkTableFlags ( PKTABLE  flags  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetPostfixLabel ( const MISTRING label  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetPrefixLabel ( const MISTRING label  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetRange ( const DOUBLE_RANGE range  )  [inline]
void RVC::DBTABLE::CONSTRAINT::SetRangeFlags ( RANGEFLAG  flags  )  [inline]

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:37:01 2012 for TNTsdk 2012 by  doxygen 1.6.1