rdbModel Namespace Reference


Classes

class  Connection
class  MysqlConnection
class  MysqlResults
class  ResultHandle
class  Builder
class  Manager
class  Visitor
class  XercesBuilder
class  Rdb
class  RdbException
class  Assertion
class  Column
class  FieldVal
class  FieldValCompare
 Function object used to sort FieldValPar objects by column name. More...
class  Row
class  Enum
class  Datatype
class  Index
class  InsertNew
class  InterRow
class  Query
class  Set
class  Supersede
class  ColCompare
 Function object used to sort columns by column name. More...
class  Table

Typedefs

typedef std::vector< std::stringStringVector

Enumerations

enum  MATCH { MATCHequivalent, MATCHcompatible, MATCHfail, MATCHnoConnection }
enum  FIELDTYPE {
  FIELDTYPElit = 0, FIELDTYPEold, FIELDTYPEtoBe, FIELDTYPEask,
  FIELDTYPElitDef, FIELDTYPEoldDef, FIELDTYPEtoBeDef
}
enum  OPTYPE {
  OPTYPEundefined = 0, OPTYPEor = 1, OPTYPEand, OPTYPEnot,
  OPTYPEexists, OPTYPEisNull, OPTYPEisEmpty, OPTYPEequal,
  OPTYPEnotEqual, OPTYPElessThan, OPTYPEgreaterThan, OPTYPElessOrEqual,
  OPTYPEgreaterOrEqual, OPTYPElast
}

Variables

std::string opSymbols [OPTYPElast]


Typedef Documentation

typedef std::vector<std::string> rdbModel::StringVector

Class to handle connection to an SQL database, or something very like it. It should be able to

Maybe make it pure virtual? And make a MySQL implementation derived from it.

Initial design will just use host, password, userid passed in. Will be up to caller to insure that the userid has the right privilages for the operations caller intends to do.

Definition at line 34 of file Connection.h.


Enumeration Type Documentation

enum rdbModel::MATCH

The following are used as return codes from the function schemaMatch. which checks for compatibility between the schema definition embodied in an Rdb object and the one at the other end of a Connection.

Enumerator:
MATCHequivalent 
MATCHcompatible 
MATCHfail 
MATCHnoConnection 

Definition at line 25 of file Connection.h.

00025               {
00026     MATCHequivalent,
00027     MATCHcompatible,
00028     MATCHfail,
00029     MATCHnoConnection
00030   };

enum rdbModel::FIELDTYPE

Enumerator:
FIELDTYPElit 
FIELDTYPEold 
FIELDTYPEtoBe 
FIELDTYPEask 
FIELDTYPElitDef 
FIELDTYPEoldDef 
FIELDTYPEtoBeDef 

Definition at line 21 of file Rdb.h.

00021                  {
00022     FIELDTYPElit = 0,  // literal value
00023     FIELDTYPEold,      // col name, refers to (value of) col in existing row
00024     FIELDTYPEtoBe,     // col name, refers to (value of) col in proposed row
00025     FIELDTYPEask,       // supply value at the time of the operation
00026     FIELDTYPElitDef,   // literal but may be overridden
00027     FIELDTYPEoldDef,   // comes from existing row, may be overridden
00028     FIELDTYPEtoBeDef  // comes from proposed row, may be overridden
00029   };

enum rdbModel::OPTYPE

Enumerator:
OPTYPEundefined 
OPTYPEor 
OPTYPEand 
OPTYPEnot 
OPTYPEexists 
OPTYPEisNull 
OPTYPEisEmpty 
OPTYPEequal 
OPTYPEnotEqual 
OPTYPElessThan 
OPTYPEgreaterThan 
OPTYPElessOrEqual 
OPTYPEgreaterOrEqual 
OPTYPElast 

Definition at line 14 of file Assertion.h.

00014                 {
00015       OPTYPEundefined = 0,
00016       OPTYPEor = 1,
00017       OPTYPEand,
00018       OPTYPEnot,
00019       OPTYPEexists,
00020       OPTYPEisNull,
00021       OPTYPEisEmpty,
00022       OPTYPEequal,           // first of 2-operand compare ops
00023       OPTYPEnotEqual,
00024       OPTYPElessThan,
00025       OPTYPEgreaterThan,
00026       OPTYPElessOrEqual,
00027       OPTYPEgreaterOrEqual,
00028       OPTYPElast
00029     };


Variable Documentation

std::string rdbModel::opSymbols[OPTYPElast]

Definition at line 479 of file MysqlConnection.cxx.

Referenced by rdbModel::MysqlConnection::compileComparison(), rdbModel::MysqlConnection::compileInit(), and rdbModel::MysqlConnection::compileOperator().


Generated on Tue Nov 29 23:36:35 2016 for BOSS_7.0.2 by  doxygen 1.4.7