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;
69 void GetHomeDir (
xbString &sHomeDirOut );
72 xbInt16 GetEndianType ()
const;
73 const char *GetErrorMessage ( xbInt16 ErrorCode )
const;
74 char GetPathSeparator ()
const;
76 void SetDataDirectory (
const xbString &sDataDirectory );
77 void SetDefaultDateFormat (
const xbString &sDefaultDateFormat );
78 void SetTempDirectory (
const xbString &sTempDirectory );
81 xbBool BitSet (
unsigned char c, xbInt16 iBitNo )
const;
82 void BitDump (
unsigned char c )
const;
83 void BitDump (
char c )
const;
85 xbBool GetDefaultAutoCommit ()
const;
86 void SetDefaultAutoCommit (
xbBool bDefaultAutoCommit );
90 void SetLogDirectory (
const xbString &sLogDirectory );
91 void SetLogFileName (
const xbString &sLogFileName );
94 xbBool GetMultiUser ()
const;
95 void SetMultiUser (
xbBool bMultiUser );
97 #if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
98 xbInt16 GetUniqueKeyOpt ()
const;
99 xbInt16 SetUniqueKeyOpt ( xbInt16 iUniqueKeyOpt );
102 #ifdef XB_LOCKING_SUPPORT
103 xbInt16 GetDefaultLockRetries ()
const;
104 void SetDefaultLockRetries ( xbInt16 iRetryCount );
105 xbInt32 GetDefaultLockWait ()
const;
106 void SetDefaultLockWait ( xbInt32 lRetryWait );
107 xbInt16 GetDefaultLockFlavor ()
const;
108 void SetDefaultLockFlavor ( xbInt16 iLockFlavor );
109 xbBool GetDefaultAutoLock ()
const;
110 void SetDefaultAutoLock (
xbBool bAutoLock );
111 void EnableDefaultAutoLock ();
112 void DisableDefaultAutoLock ();
115 #ifdef XB_MDX_SUPPORT
116 xbInt16 GetCreateMdxBlockSize()
const;
117 xbInt16 SetCreateMdxBlockSize( xbInt16 ulBlockSize );
120 #ifdef XB_BLOCKREAD_SUPPORT
121 xbUInt32 GetDefaultBlockReadSize()
const;
122 void SetDefaultBlockReadSize( xbUInt32 ulDfltBlockReadSize );
128 void SetEndianType ();
140 #ifdef XB_LOGGING_SUPPORT
145 static xbInt16 iDefaultFileVersion;
151 static xbBool bDefaultAutoCommit;
159#ifdef XB_LOCKING_SUPPORT
160 static xbInt32 lDefaultLockWait;
161 static xbInt16 iDefaultLockRetries;
162 static xbInt16 bDefaultAutoLock;
163 static xbInt16 iDefaultLockFlavor;
170#if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
172 static xbInt16 iUniqueKeyOpt;
182 static xbInt16 iCreateMdxBlockSize;
186#ifdef XB_BLOCKREAD_SUPPORT
187 static xbUInt32 ulDefaultBlockReadSize;
Class for handling shared system variables.
Definition: xbssv.h:59
static xbInt16 iEndianType
Definition: xbssv.h:130
static xbString sNullString
Definition: xbssv.h:131
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