#include <DriverInfo.h>
Definition at line 26 of file DriverInfo.h.
Public Member Functions | |
DriverInfo () | |
Default constructor. | |
DriverInfo (int ver, int rev, const String &vend) | |
This constructor will initialize the values for version, revision and vendor. | |
DriverInfo (int ver, int rev, const String &vend, const String &desc) | |
This constructor will initialize the values for version, revision, vendor and description. | |
~DriverInfo () | |
The destructor, currently this destructor does not perform any function. | |
const int | version () |
This will return the version of the driver. | |
const int | revision () |
This will return the revision of the driver. | |
const String & | vendor () |
This will return the vendor or the author of the driver. | |
const String & | description () |
This will return the driver description string. | |
virtual const char * | getClassName () |
Returns the name of the current class. | |
virtual std::string | toString () |
Static Public Member Functions | |
static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Will print a debug message to the screen. | |
static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Protected Attributes | |
int | __version |
Holds the driver's version. | |
int | __revision |
Holds the driver's reversion. | |
String | __vendor |
Holds the driver's vendor/author. | |
String | __description |
Holds the driver's description. | |
std::string | __cls_name |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
xvr2::SQL::DriverInfo::DriverInfo | ( | ) |
Default constructor.
xvr2::SQL::DriverInfo::DriverInfo | ( | int | ver, | |
int | rev, | |||
const String & | vend | |||
) |
This constructor will initialize the values for version, revision and vendor.
This constructor will initialize the values for version, revision, vendor and description.
xvr2::SQL::DriverInfo::~DriverInfo | ( | ) |
The destructor, currently this destructor does not perform any function.
const int xvr2::SQL::DriverInfo::version | ( | ) |
This will return the version of the driver.
const int xvr2::SQL::DriverInfo::revision | ( | ) |
This will return the revision of the driver.
const String& xvr2::SQL::DriverInfo::vendor | ( | ) |
This will return the vendor or the author of the driver.
const String& xvr2::SQL::DriverInfo::description | ( | ) |
This will return the driver description string.
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual, inherited] |
Returns the name of the current class.
static void xvr2::Object::debugmsg | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
Will print a debug message to the screen.
static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
virtual std::string xvr2::Object::toString | ( | ) | [virtual, inherited] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
int xvr2::SQL::DriverInfo::__version [protected] |
int xvr2::SQL::DriverInfo::__revision [protected] |
String xvr2::SQL::DriverInfo::__vendor [protected] |
String xvr2::SQL::DriverInfo::__description [protected] |
std::string xvr2::Object::__cls_name [protected, inherited] |