gSAFE  1.3.8
Signals | Public Member Functions | Protected Attributes | List of all members
HXBaseFileHandler Class Reference

#include <xbio.h>

Inheritance diagram for HXBaseFileHandler:
HXBaseFileReader HXBaseFileWriter

Signals

void errorSignal (QString error)
 

Public Member Functions

 HXBaseFileHandler (HCodepageConvert *conv, bool deletecobj=false)
 
 ~HXBaseFileHandler (void)
 
int fieldCount (void)
 
QString fieldName (int n)
 
HXBaseFieldType fieldType (int n)
 
long recordCount (void)
 

Protected Attributes

char * buffer
 
HCodepageConvertc
 
xbDbf * dbf
 
bool deleteconvertobject
 
bool opened
 
xbXBase * xbase
 

Detailed Description

The XBase interface base class. Makes a interface to XBase lib, make possible to create/read/write .DBF files.

See Also
HXBaseFileReader
HXBaseFileWriter

Definition at line 86 of file xbio.h.

Constructor & Destructor Documentation

HXBaseFileHandler::HXBaseFileHandler ( HCodepageConvert conv,
bool  deletecobj = false 
)

Creates a standard XBase file handler object. Use HXBaseFileReader or HXBaseFileWriter instead!

Definition at line 104 of file xbio.cpp.

HXBaseFileHandler::~HXBaseFileHandler ( void  )

Destructor

Definition at line 114 of file xbio.cpp.

Member Function Documentation

void HXBaseFileHandler::errorSignal ( QString  error)
signal

This signal is emitted, when error occured. The "error" string contains the error message.

int HXBaseFileHandler::fieldCount ( void  )

Returns the number of fields

Definition at line 123 of file xbio.cpp.

QString HXBaseFileHandler::fieldName ( int  n)

Returns the name of the specified field

Definition at line 142 of file xbio.cpp.

HXBaseFieldType HXBaseFileHandler::fieldType ( int  n)

Returns the type of the specified field

Definition at line 149 of file xbio.cpp.

long HXBaseFileHandler::recordCount ( void  )

Returns the total record number of the opened file

Definition at line 131 of file xbio.cpp.


The documentation for this class was generated from the following files: