xvr2::SQL::DriverInfo Class Reference

#include <DriverInfo.h>

Inheritance diagram for xvr2::SQL::DriverInfo:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class holds information on database driver devices.

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 Stringvendor ()
 This will return the vendor or the author of the driver.
const Stringdescription ()
 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)

Constructor & Destructor Documentation

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.

xvr2::SQL::DriverInfo::DriverInfo ( int  ver,
int  rev,
const String vend,
const String desc 
)

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.


Member Function Documentation

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]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Object s 
) [friend, inherited]


Member Data Documentation

Holds the driver's version.

Definition at line 30 of file DriverInfo.h.

Holds the driver's reversion.

Definition at line 32 of file DriverInfo.h.

Holds the driver's vendor/author.

Definition at line 34 of file DriverInfo.h.

Holds the driver's description.

Definition at line 36 of file DriverInfo.h.

std::string xvr2::Object::__cls_name [protected, inherited]

Definition at line 30 of file Object.h.


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

Generated on Fri Jun 20 22:56:06 2008 for X-VR2 SDK by  doxygen 1.5.5