torc::architecture::Versions Class Reference
Encapsulation of database version information.
More...
#include <Versions.hpp>
List of all members.
Detailed Description
Encapsulation of database version information.
The format version information determines if and how DDB should read the database. The vendor vesion information indicates the version of the vendor tools that the database was generated from.
Definition at line 36 of file Versions.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
torc::architecture::Versions::Versions |
( |
void |
|
) |
[inline, protected] |
Member Function Documentation
size_t torc::architecture::Versions::readVersions |
( |
DigestStream & |
inStream, |
|
|
bool |
inShowVersion = false | |
|
) |
| | [protected] |
Read the version information.
- Todo:
- Throw a proper exception.
- Todo:
- Throw a proper exception.
Definition at line 25 of file Versions.cpp.
const DottedVersion& torc::architecture::Versions::getFormat |
( |
void |
|
) |
const [inline] |
Returns the database format version.
Definition at line 69 of file Versions.hpp.
uint32_t torc::architecture::Versions::getBuild |
( |
void |
|
) |
const [inline] |
Returns the database build number.
Definition at line 71 of file Versions.hpp.
const DottedVersion& torc::architecture::Versions::getVendor |
( |
void |
|
) |
const [inline] |
Returns the vendor data version.
Definition at line 73 of file Versions.hpp.
const string& torc::architecture::Versions::getVendorString |
( |
void |
|
) |
const [inline] |
Returns the database format version string.
Definition at line 75 of file Versions.hpp.
Friends And Related Function Documentation
friend class DDB [friend] |
The database has access to our protected functions.
Definition at line 39 of file Versions.hpp.
friend class torc::architecture::architecture::DigestStreamUnitTest [friend] |
Member Data Documentation
The database format version.
Definition at line 53 of file Versions.hpp.
The database build number.
Definition at line 55 of file Versions.hpp.
The vendor data version string.
Definition at line 59 of file Versions.hpp.
The documentation for this class was generated from the following files: