#include <xbtblmgr.h>
◆ xbTblMgr()
xb::xbTblMgr::xbTblMgr |
( |
| ) |
|
◆ ~xbTblMgr()
xb::xbTblMgr::~xbTblMgr |
( |
| ) |
|
◆ AddTblToTblList() [1/2]
xbInt16 xb::xbTblMgr::AddTblToTblList |
( |
xbDbf * |
d, |
|
|
const xbString & |
sTblName |
|
) |
| |
◆ AddTblToTblList() [2/2]
xbInt16 xb::xbTblMgr::AddTblToTblList |
( |
xbDbf * |
d, |
|
|
const xbString & |
sTblName, |
|
|
const xbString & |
sTblAlias |
|
) |
| |
◆ BitSet()
xbBool xb::xbSsv::BitSet |
( |
unsigned char |
c, |
|
|
xbInt16 |
iBitNo |
|
) |
| const |
|
inherited |
Check a bit in a one byte field and see if it is set.
- Parameters
-
c | One byte char field to examine. |
iBitNo | which bit to examine. |
- Returns
- xbTrue Bit is set
xbFalse Bit is not set
◆ DisplayError()
void xb::xbSsv::DisplayError |
( |
xbInt16 |
iErrorCode | ) |
const |
|
inherited |
Display error message on console for a given error number.
- Parameters
-
iErrorCode | Error number to reference |
◆ DisplayTableList()
xbInt16 xb::xbTblMgr::DisplayTableList |
( |
| ) |
const |
◆ GetDataDirectory()
xbString & xb::xbSsv::GetDataDirectory |
( |
| ) |
const |
|
inherited |
Get the current data directory.
- Returns
- xbString containing the current data directory where the database files are stored.
◆ GetDbfPtr() [1/2]
xbDbf * xb::xbTblMgr::GetDbfPtr |
( |
const xbString & |
sTblAlias | ) |
const |
◆ GetDbfPtr() [2/2]
xbDbf * xb::xbTblMgr::GetDbfPtr |
( |
xbInt16 |
sItemNo | ) |
const |
◆ GetDefaultAutoCommit()
xbBool xb::xbSsv::GetDefaultAutoCommit |
( |
| ) |
const |
|
inherited |
Get the default auto commit setting.
When auto commit is enabled, the library will automatically post any updates when moving off an updated record or closing files. If auto commit is disabled, the application program will need to explicitly update the tables using using dbf->Put() and dbf->AppendRecord().
- Returns
- xbTrue if auto commit is turned on
xbFalse is auto commit is turned off
◆ GetDefaultDateFormat()
xbString & xb::xbSsv::GetDefaultDateFormat |
( |
| ) |
const |
|
inherited |
Get the default date format.
- Returns
- xbString containing the default date format.
◆ GetDefaultLogDirectory()
xbString & xb::xbSsv::GetDefaultLogDirectory |
( |
| ) |
const |
|
inherited |
◆ GetDefaultLogFileName()
xbString & xb::xbSsv::GetDefaultLogFileName |
( |
| ) |
const |
|
inherited |
◆ GetEndianType()
xbInt16 xb::xbSsv::GetEndianType |
( |
| ) |
const |
|
inherited |
Get the Endian type.
- Returns
- B - Big endian
L - Little endian
◆ GetErrorMessage()
const char * xb::xbSsv::GetErrorMessage |
( |
xbInt16 |
iErrorCode | ) |
const |
|
inherited |
Get an error message.
- Parameters
-
iErrorCode | ErrorCode is the error number of description to be returned. |
- Returns
- Returns a pointer to a string containing a text description for the error code.
◆ GetMultiUser()
xbBool xb::xbSsv::GetMultiUser |
( |
| ) |
const |
|
inherited |
Get the multi user setting.
- Returns
- xbTrue - Multi user mode turned on.
xbFalse - Multi user mode turned off.
◆ GetOpenTableCount()
xbInt16 xb::xbTblMgr::GetOpenTableCount |
( |
| ) |
const |
◆ RemoveTblFromTblList() [1/2]
xbInt16 xb::xbTblMgr::RemoveTblFromTblList |
( |
const xbString & |
sTblAlias | ) |
|
◆ RemoveTblFromTblList() [2/2]
xbInt16 xb::xbTblMgr::RemoveTblFromTblList |
( |
xbDbf * |
d | ) |
|
◆ SetDataDirectory()
void xb::xbSsv::SetDataDirectory |
( |
const xbString & |
sDataDirectory | ) |
|
|
inherited |
Set the data directory.
- Parameters
-
sDataDirectory | Set the data direcroty. |
◆ SetDefaultAutoCommit()
void xb::xbSsv::SetDefaultAutoCommit |
( |
xbBool |
bDefaultAutoCommit | ) |
|
|
inherited |
Set the default auto commit.
Disabling auto commit requires the application execute explicit updates using dbf->Put() and dbf->AppendRecord(). With auto commit on, the library posts updates automatically when moving off the current record or closing a file.
- Parameters
-
bDefaultAutoCommit | xbTrue - Enable default auto commit.
xbFalse - Disable default auto commit.
|
◆ SetDefaultDateFormat()
void xb::xbSsv::SetDefaultDateFormat |
( |
const xbString & |
sDefaultDateFormat | ) |
|
|
inherited |
Set the default date format.
- Parameters
-
sDefaultDateFormat | Set the default date format. |
◆ SetDefaultLogDirectory()
void xb::xbSsv::SetDefaultLogDirectory |
( |
const xbString & |
sDefaultLogDirectory | ) |
|
|
inherited |
◆ SetEndianType()
void xb::xbSsv::SetEndianType |
( |
| ) |
|
|
protectedinherited |
Set the endian type.
This routine determines the Endian-ness at run time instead of compile time as some processers (ie; Sparc,ARM) can be switched either way. This routine is called automatically by the library at startup and does not need to be called in an application program.
◆ SetMultiUser()
void xb::xbSsv::SetMultiUser |
( |
xbBool |
bMultiUser | ) |
|
|
inherited |
Get the multi user setting.
- Parameters
-
bMultiUser | xbTrue - Turn on Multi user mode.
xbFalse - Turn off Multi user mode.
|
◆ ErrorCodeText
const char* xb::xbSsv::ErrorCodeText[] |
|
staticinherited |
◆ iEndianType
xbInt16 xb::xbSsv::iEndianType = 0 |
|
staticprotectedinherited |
◆ sNullString
The documentation for this class was generated from the following files: