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 void GetHomeDir (
xbString &sHomeDirOut );
84 void SetLogDirectory (
const xbString &sLogDirectory );
86 xbBool GetMultiUser ()
const;
87 void SetMultiUser (
xbBool bMultiUser );
89 #if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
90 xbInt16 GetUniqueKeyOpt ()
const;
91 xbInt16 SetUniqueKeyOpt ( xbInt16 iUniqueKeyOpt );
94 #ifdef XB_LOCKING_SUPPORT
95 xbInt16 GetDefaultLockRetries ()
const;
96 void SetDefaultLockRetries ( xbInt16 iRetryCount );
97 xbInt32 GetDefaultLockWait ()
const;
98 void SetDefaultLockWait ( xbInt32 lRetryWait );
99 xbInt16 GetDefaultLockFlavor ()
const;
100 void SetDefaultLockFlavor ( xbInt16 iLockFlavor );
101 xbBool GetDefaultAutoLock ()
const;
102 void SetDefaultAutoLock (
xbBool bAutoLock );
103 void EnableDefaultAutoLock ();
104 void DisableDefaultAutoLock ();
107 #ifdef XB_MDX_SUPPORT
108 xbInt16 GetCreateMdxBlockSize()
const;
109 xbInt16 SetCreateMdxBlockSize( xbInt16 ulBlockSize );
112 #ifdef XB_BLOCKREAD_SUPPORT
113 xbUInt32 GetDefaultBlockReadSize()
const;
114 void SetDefaultBlockReadSize( xbUInt32 ulDfltBlockReadSize );
120 void SetEndianType ();
131 #ifdef XB_LOGGING_SUPPORT
136 static xbInt16 iDefaultFileVersion;
142 static xbBool bDefaultAutoCommit;
150#ifdef XB_LOCKING_SUPPORT
151 static xbInt32 lDefaultLockWait;
152 static xbInt16 iDefaultLockRetries;
153 static xbInt16 bDefaultAutoLock;
154 static xbInt16 iDefaultLockFlavor;
161#if defined (XB_NDX_SUPPORT) || defined (XB_MDX_SUPPORT)
163 static xbInt16 iUniqueKeyOpt;
173 static xbInt16 iCreateMdxBlockSize;
177#ifdef XB_BLOCKREAD_SUPPORT
178 static xbUInt32 ulDefaultBlockReadSize;
Class for handling shared system variables.
Definition: xbssv.h:59
static xbInt16 iEndianType
Definition: xbssv.h:122
static xbString sNullString
Definition: xbssv.h:123
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