20#ifdef CMAKE_COMPILER_IS_GNUCC
30struct XBDLLEXPORT xbErrorMessage{
32 const char *sErrorText;
52#if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
53#define XB_HALT_ON_DUPKEY 0
54#define XB_EMULATE_DBASE 1
62 const static char *ErrorCodeText[];
64 void DisplayError ( xbInt16 ErrorCode )
const;
65 xbString& GetDefaultDateFormat ()
const;
67 xbInt16 GetEndianType ()
const;
69 const char *GetErrorMessage ( xbInt16 ErrorCode )
const;
70 void SetDataDirectory (
const xbString &sDataDirectory );
71 void SetDefaultDateFormat (
const xbString &sDefaultDateFormat );
73 xbBool BitSet (
unsigned char c, xbInt16 iBitNo )
const;
74 void BitDump (
unsigned char c )
const;
75 void BitDump (
char c )
const;
77 xbBool GetDefaultAutoCommit ()
const;
78 void SetDefaultAutoCommit (
xbBool bDefaultAutoCommit );
80 xbString& GetDefaultLogDirectory ()
const;
81 xbString& GetDefaultLogFileName ()
const;
82 void SetDefaultLogDirectory (
const xbString &sDefaultLogDirectory );
84 xbBool GetMultiUser ()
const;
85 void SetMultiUser (
xbBool bMultiUser );
87 #if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
88 xbInt16 GetUniqueKeyOpt ()
const;
89 xbInt16 SetUniqueKeyOpt ( xbInt16 iUniqueKeyOpt );
92 #ifdef XB_LOCKING_SUPPORT
93 xbInt16 GetDefaultLockRetries ()
const;
94 void SetDefaultLockRetries ( xbInt16 iRetryCount );
95 xbInt32 GetDefaultLockWait ()
const;
96 void SetDefaultLockWait ( xbInt32 lRetryWait );
97 xbInt16 GetDefaultLockFlavor ()
const;
98 void SetDefaultLockFlavor ( xbInt16 iLockFlavor );
99 xbBool GetDefaultAutoLock ()
const;
100 void SetDefaultAutoLock (
xbBool bAutoLock );
101 void EnableDefaultAutoLock ();
102 void DisableDefaultAutoLock ();
105 #ifdef XB_MDX_SUPPORT
106 xbInt16 GetCreateMdxBlockSize()
const;
107 xbInt16 SetCreateMdxBlockSize( xbInt16 ulBlockSize );
112 void SetEndianType ();
123 #ifdef XB_LOGGING_SUPPORT
124 static xbString sDefaultLogDirectory;
125 static xbString sDefaultLogFileName;
128 static xbInt16 iDefaultFileVersion;
134 static xbBool bDefaultAutoCommit;
142#ifdef XB_LOCKING_SUPPORT
143 static xbInt32 lDefaultLockWait;
144 static xbInt16 iDefaultLockRetries;
145 static xbInt16 bDefaultAutoLock;
146 static xbInt16 iDefaultLockFlavor;
154#if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
156 static xbInt16 iUniqueKeyOpt;
166 static xbInt16 iCreateMdxBlockSize;
Class for handling shared system variables.
Definition: xbssv.h:59
static xbInt16 iEndianType
Definition: xbssv.h:114
static xbString sNullString
Definition: xbssv.h:115
Class for handling string data.
Definition: xbstring.h:50
xbXbase class.
Definition: xbxbase.h:123
Definition: xbdate.cpp:19
short int xbBool
Definition: xbtypes.h:24