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 );
74 xbBool BitSet (
unsigned char c, xbInt16 iBitNo )
const;
75 #ifdef XB_DEBUG_SUPPORT
76 void BitDump (
unsigned char c )
const;
77 void BitDump (
char c )
const;
80 xbBool GetDefaultAutoCommit ()
const;
81 void SetDefaultAutoCommit (
xbBool bDefaultAutoCommit );
83 xbString& GetDefaultLogDirectory ()
const;
84 xbString& GetDefaultLogFileName ()
const;
85 void SetDefaultLogDirectory (
const xbString &sDefaultLogDirectory );
87 xbBool GetMultiUser ()
const;
88 void SetMultiUser (
xbBool bMultiUser );
90 #if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
91 xbInt16 GetUniqueKeyOpt ()
const;
92 xbInt16 SetUniqueKeyOpt ( xbInt16 iUniqueKeyOpt );
95 #ifdef XB_LOCKING_SUPPORT
96 xbInt16 GetDefaultLockRetries ()
const;
97 void SetDefaultLockRetries ( xbInt16 iRetryCount );
98 xbInt32 GetDefaultLockWait ()
const;
99 void SetDefaultLockWait ( xbInt32 lRetryWait );
100 xbInt16 GetDefaultLockFlavor ()
const;
101 void SetDefaultLockFlavor ( xbInt16 iLockFlavor );
102 xbBool GetDefaultAutoLock ()
const;
103 void SetDefaultAutoLock (
xbBool bAutoLock );
104 void EnableDefaultAutoLock ();
105 void DisableDefaultAutoLock ();
108 #ifdef XB_MDX_SUPPORT
109 xbInt16 GetCreateMdxBlockSize()
const;
110 xbInt16 SetCreateMdxBlockSize( xbInt16 ulBlockSize );
115 void SetEndianType ();
126 #ifdef XB_LOGGING_SUPPORT
127 static xbString sDefaultLogDirectory;
128 static xbString sDefaultLogFileName;
131 static xbInt16 iDefaultFileVersion;
137 static xbBool bDefaultAutoCommit;
145#ifdef XB_LOCKING_SUPPORT
146 static xbInt32 lDefaultLockWait;
147 static xbInt16 iDefaultLockRetries;
148 static xbInt16 bDefaultAutoLock;
149 static xbInt16 iDefaultLockFlavor;
157#if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
159 static xbInt16 iUniqueKeyOpt;
169 static xbInt16 iCreateMdxBlockSize;
Class for handling shared system variables.
Definition: xbssv.h:59
static xbInt16 iEndianType
Definition: xbssv.h:117
static xbString sNullString
Definition: xbssv.h:118
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