|
reSIProcate/repro
9694
|
#include <ReproVersion.hxx>

Public Member Functions | |
| const std::string & | displayVersion () const |
| const std::string & | buildStamp () const |
| const std::string & | scmRevision () const |
| const std::string & | releaseVersion () const |
| const std::string & | buildHost () const |
Static Public Member Functions | |
| static const VersionUtils & | instance () |
Private Member Functions | |
| VersionUtils () | |
| virtual | ~VersionUtils () |
Private Attributes | |
| std::string | mBuildHost |
| std::string | mReleaseVersion |
| std::string | mScmRevision |
| std::string | mDisplayVersion |
| std::string | mBuildStamp |
Static Private Attributes | |
| static VersionUtils * | sVU = 0 |
Definition at line 6 of file ReproVersion.hxx.
| repro::VersionUtils::VersionUtils | ( | ) | [private] |
Definition at line 39 of file ReproVersion.cxx.
:
mBuildHost(REPRO_BUILD_HOST),
mReleaseVersion(REPRO_RELEASE_VERSION),
mScmRevision(REPRO_BUILD_REV),
mDisplayVersion(REPRO_NAME),
mBuildStamp(REPRO_BUILD_REV)
{
mDisplayVersion += ' ';
mDisplayVersion += mReleaseVersion;
mDisplayVersion += '/';
mBuildStamp += '@';
mBuildStamp += mBuildHost;
mDisplayVersion += mBuildStamp;
}
| repro::VersionUtils::~VersionUtils | ( | ) | [private, virtual] |
Definition at line 68 of file ReproVersion.cxx.
{};
| const std::string & repro::VersionUtils::buildHost | ( | ) | const |
Definition at line 84 of file ReproVersion.cxx.
{
return mBuildHost;
}
| const std::string & repro::VersionUtils::buildStamp | ( | ) | const |
Definition at line 71 of file ReproVersion.cxx.
{
return mBuildStamp;
}
| const std::string & repro::VersionUtils::displayVersion | ( | ) | const |
Definition at line 90 of file ReproVersion.cxx.
{
return mDisplayVersion;
}
| const VersionUtils & repro::VersionUtils::instance | ( | ) | [static] |
Definition at line 59 of file ReproVersion.cxx.
{
if (sVU == 0)
{
sVU = new VersionUtils;
}
return *sVU;
}
| const std::string & repro::VersionUtils::releaseVersion | ( | ) | const |
Definition at line 77 of file ReproVersion.cxx.
{
return mReleaseVersion;
}
| const std::string & repro::VersionUtils::scmRevision | ( | ) | const |
Definition at line 96 of file ReproVersion.cxx.
{
return mScmRevision;
}
std::string repro::VersionUtils::mBuildHost [private] |
Definition at line 18 of file ReproVersion.hxx.
std::string repro::VersionUtils::mBuildStamp [private] |
Definition at line 22 of file ReproVersion.hxx.
std::string repro::VersionUtils::mDisplayVersion [private] |
Definition at line 21 of file ReproVersion.hxx.
std::string repro::VersionUtils::mReleaseVersion [private] |
Definition at line 19 of file ReproVersion.hxx.
std::string repro::VersionUtils::mScmRevision [private] |
Definition at line 20 of file ReproVersion.hxx.
VersionUtils * repro::VersionUtils::sVU = 0 [static, private] |
Definition at line 23 of file ReproVersion.hxx.
1.7.5.1