#include <xbase.h>
Inheritance diagram for xbXBase:
Public Member Functions | |
~xbXBase () | |
Destructor. | |
xbXBase () | |
Constructor. | |
xbShort | AddDbfToDbfList (xbDbf *d, const char *DatabaseName) |
Add dbf to dbf list. | |
xbDbf * | GetDbfPtr (const char *Name) |
Get pointer to named dbf. | |
xbShort | DirectoryExistsInName (const char *Name) |
Get offset of last PATH_SEPARATOR in Name. | |
xbShort | GetEndianType (void) |
void | DisplayError (const xbShort ErrorCode) const |
Display description of error code. | |
xbDouble | GetDouble (const char *p) |
Get a portable double value. | |
xbLong | GetLong (const char *p) |
Get a portable long value. | |
xbULong | GetULong (const char *p) |
Get a portable unsigned long value. | |
xbShort | GetShort (const char *p) |
Get a portable short value. | |
xbULong | GetHBFULong (const char *p) |
Get a high byte first unsigned long value. | |
xbShort | GetHBFShort (const char *p) |
Get a high byte first short value. | |
void | PutLong (char *p, const xbLong l) |
Put a portable long value. | |
void | PutShort (char *p, const xbShort s) |
Put a portable short value. | |
void | PutULong (char *p, const xbULong l) |
Put a portable unsigned long value. | |
void | PutUShort (char *p, const xbUShort s) |
Put a portable unsigned short value. | |
void | PutDouble (char *p, const xbDouble d) |
Put a portable double value. | |
xbShort | RemoveDbfFromDbfList (xbDbf *) |
Remove dbf from dbf list. | |
Static Public Member Functions | |
const char * | GetErrorMessage (const xbShort ErrorNo) |
Get description of error code. | |
Protected Attributes | |
xbDbList * | DbfList |
xbDbList * | FreeDbfList |
xbShort | EndianType |
|
Destructor.
|
|
Constructor.
|
|
Add dbf to dbf list. Adds an xbDbf class instance to the list of dbf's.
|
|
Get offset of last PATH_SEPARATOR in Name. Scans the specified Name for the last occurance of PATH_SEPARATOR.
|
|
Display description of error code. Displays a text description of an XBase error code.
|
|
Get pointer to named dbf. Looks up an open DBF file by Name.
|
|
Get a portable double value. Converts a double (64 bit floating point) value stored at p from a portable format to the machine format.
|
|
|
|
Get description of error code. Returns a pointer to string containing a text description of an error code.
|
|
Get a high byte first short value. Converts a short (16 bit integer) value stored at p from a high byte first format to the machine format.
|
|
Get a high byte first unsigned long value. Converts an unsigned long (32 bit integer) value stored at p from a high byte first format to the machine format.
|
|
Get a portable long value. Converts a long (32 bit integer) value stored at p from a portable format to the machine format.
|
|
Get a portable short value. Converts a short (16 bit integer) value stored at p from a portable format to the machine format.
|
|
Get a portable unsigned long value. Converts an unsigned long (32 bit integer) value stored at p from a portable format to the machine format.
|
|
Put a portable double value. Converts a double (64 floating point) value from machine format to a portable format and stores the converted value in the memory referenced by c.
|
|
Put a portable long value. Converts a long (32 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.
|
|
Put a portable short value. Converts a short (16 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.
|
|
Put a portable unsigned long value. Converts an unsigned long (32 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.
|
|
Put a portable unsigned short value. Converts an unsigned long (16 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.
|
|
Remove dbf from dbf list. Removes the specified xbDbf class instance from the list of dbf's.
|
|
|
|
|
|
|