Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

fbwrap Namespace Reference

Common namespace for The Interbase Wrapper. More...


Compounds

struct  char_nc_cmp
struct  char_upper
class  FBwAddUser
 Class for building a 'User Add' SPB. More...

class  FBwAttachDPB
 SPB for service attachment to server. More...

class  FBwBQuery
 Basic Query class. More...

class  FBwDeleteSql
class  FBwDoubleField
 Double Field. More...

class  FBwExact32
 Exact numerics Int32. More...

class  FBwFloatField
 Float Field. More...

class  FBwInsertSql
class  FBwModUser
 Class for building a 'User Modify' SPB. More...

class  bad_lexical_cast
 Exception used to indicate runtime lexical_cast failure. More...

class  BasicFBwErrorMgr
 Class for handling error status and messages. More...

struct  CopyByNameObj
class  FBwAttachDb
 DPB for attaching to a Firebird server. More...

class  CSVInFile
 class for handling CSV files More...

class  CSVInStream
 Class for handling csv stream reading. More...

class  FBwBlob
class  FBwBlobDesc
 helper for obtaining blob description data More...

class  FBwBlobField
 Blob Field. More...

class  FBwDateField
 Date field. More...

class  FBwDateTimeField
 Date-Time field. More...

class  FBwDb
 Firebird Database Wrapper Class. More...

class  FBwField
 Base class for all kind of fields. More...

class  FBwIntegerField
 Integer Field. More...

class  FBwLongIntegerField
 long Integer Field More...

class  FBwNumField
 Base class for numeric type fields. More...

class  FBwQueryTimeout
class  FBwROTransaction
 Read only database transaction. More...

class  FBwSelectSql
struct  FBwServerDsc
class  FBwService
 Class for interbase services management. More...

class  FBwShortField
 Short Int Field. More...

class  FBwSPB
 Clas for filling services paramter blocks. More...

class  FBwStringField
 String Field Class. More...

class  FBwSvcBkp
 SPB for service backup of database. More...

class  FBwSvcCluster
 Service Query Clusters. More...

class  FBwSvcQuery
class  FBwSvcRequest
 Service Request Cluster. More...

class  FBwTimeField
 FBwTime type field. More...

class  FBwTransaction
 Database Transaction. More...

class  FBwUpdate
 Basic update object class. More...

class  FBwUpdateSql
struct  FBwUserSec
 Database User Security Data. More...

class  FieldList
 A list of fields. More...

class  FieldListIndex
class  InfoServerConfig
class  InfoUserSec
class  Scanner
class  SimList
class  SimListIterator
class  SimListNode
 Simple list named node template. More...

class  sqAggregate
class  sqCOUNT
class  SqlScript
class  SqlTextHelper
class  sqMAX
class  sqMIN
class  sqParam
class  sqSUM
class  SrvInfoGenConfig

Typedefs

typedef SimList< int > SList
typedef SimList< string > SymList

Enumerations

enum  FBwFieldKind {
  masf_string, masf_short, masf_int, masf_int64,
  masf_double, masf_date, masf_time, masf_datetime,
  masf_currency, masf_blob, masf_array, masf_float,
  masf_exact16, masf_exact32, masf_exact64
}
 type of fields More...


Functions

void SetErrorManager (BasicFBwErrorMgr *ber)
bool CheckStatus (const ISC_STATUS *s)
 utility function for checking errors after calls to ib.

FieldListoperator, (FieldList &List, FBwField *fld)
 overloaded , operator for adding fields to list

FieldListoperator+ (FieldList &List, FBwField *fld)
 overloaded + operator for adding fields to list

FieldListoperator<< (FieldList &f, const string &s)
 string insertion

FieldListoperator<< (FieldList &f, const char *s)
FieldListoperator<< (FieldList &f, int i)
 int insertion

FieldListoperator<< (FieldList &f, double d)
 double insertion

FieldListoperator<< (FieldList &f, const FBwDate &d)
FieldListoperator<< (FieldList &f, const FBwTime &t)
FieldListoperator<< (FieldList &f, const FBwDateTime &dt)
FieldListoperator<< (FieldList &f, const FieldListIndex &idx)
 Changes internal field index, regard it as a manipulator.

FieldListoperator<< (FieldList &f, long long int i)
template<typename Target, typename Source> Target lexical_cast (const Source arg)
std::ostream & operator<< (std::ostream &o, const FBwBQuery &q)
 prints all fields to the output stream

string SqlType (int tipe)
FBwSelectSql & operator<< (FBwSelectSql &s, const string var)
FBwSelectSql & operator<< (FBwSelectSql &s, const sqAggregate &var)
FBwSelectSql & operator<< (FBwSelectSql &s, const sqParam &var)
FBwInsertSql & operator<< (FBwInsertSql &s, const string var)
FBwInsertSql & operator<< (FBwInsertSql &s, const sqAggregate &var)
FBwUpdateSql & operator<< (FBwUpdateSql &s, const string var)
FBwUpdateSql & operator<< (FBwUpdateSql &s, const sqAggregate &var)
FBwDeleteSql & operator<< (FBwDeleteSql &s, const string var)
FBwDeleteSql & operator<< (FBwDeleteSql &s, const sqAggregate &var)
bool nc_cmp (string s, char *t)
bool nc_cmp (string s, string t)
void uppercase (string &s)

Variables

char DEFAULT_TRANSACTION [] = "deftrans"
char READ_ONLY_TRANSACTION [] = "readonly"
char SNAPSHOT_TRANSACTION [] = "snapshot"
BasicFBwErrorMgr BErrMan
BasicFBwErrorMgrErrMan = &BErrMan
 Global Error manager.

char ib_table_fields []
char ib_key_fields []


Detailed Description

Common namespace for The Interbase Wrapper.

Enumeration Type Documentation

enum fbwrap::FBwFieldKind
 

type of fields

Enum for diferent type of fields

Enumeration values:
masf_string 
  1. String Field Type
masf_short 
  1. Short Field type
masf_int 
  1. Int (32) Field type
masf_int64 
  1. Int (32) Field type
masf_double 
  1. Double precision type
masf_date 
  1. Date field type
masf_time 
  1. Time only field type
masf_datetime 
  1. Date & time field type
masf_currency 
  1. Currency type
masf_blob 
  1. Blob type
masf_array 
  1. Array field
masf_float 
  1. Float Field
masf_exact16 
  1. Int32 exact numeric
masf_exact32 
  1. Int32 exact numeric
masf_exact64 
  1. Int64 exact numeric


Function Documentation

void SetErrorManager BasicFBwErrorMgr   ber
 

This function changes de common error message handler


Variable Documentation

BasicFBwErrorMgr * fbwrap::ErrMan = &BErrMan
 

Global Error manager.

Global error manager pointer its used by all FBw wrapper classes for its error showing methods by asigning another implementation we can change the way errors are handled

char fbwrap::ib_key_fields[]
 

Initial value:

  "SELECT S.RDB$FIELD_NAME, "
                       "       C.RDB$CONSTRAINT_NAME "
                       "FROM RDB$RELATION_CONSTRAINTS C,"
                       "     RDB$INDEX_SEGMENTS S "
                       "WHERE (C.RDB$CONSTRAINT_TYPE='PRIMARY KEY' OR "
                       "       C.RDB$CONSTRAINT_TYPE='UNIQUE' ) AND "
                       "       C.RDB$INDEX_NAME=S.RDB$INDEX_NAME AND "
                       "       C.RDB$RELATION_NAME= ? "
                       "ORDER BY C.RDB$CONSTRAINT_TYPE, "
                       "         S.RDB$FIELD_POSITION "

char fbwrap::ib_table_fields[]
 

Initial value:

"SELECT RDB$FIELD_NAME "
                       "FROM RDB$RELATION_FIELDS "
                       "WHERE RDB$RELATION_NAME=? "
                       "AND RDB$UPDATE_FLAG=1 ORDER BY RDB$FIELD_POSITION"


Generated on Fri Jan 31 08:30:03 2003 for fbwrap by doxygen1.2.17