![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <module/VersionInformation.hpp>

Public Member Functions | |
| DepList | getDependencies () const |
| Return the dependencies. | |
| std::string | getNiceString () const |
| Return version information as human readable string. | |
| std::string | getString () const |
| Return version information as string. | |
| Version | getVersion () const |
| Return the version. | |
| void | setDependencies (const DepList deps) |
| Set the dependencies. | |
| void | setVersion (const Version ver) |
| Set the version. | |
| VersionInformation (const std::string &s) | |
| String constructor. | |
| VersionInformation (const Release bRelease, const DepList deps=DepList(), const DateTime bTime=DateTime(), const std::string bUser="", const std::string bHost="", const std::string bFlags="", const DateTime mTime=DateTime(), const std::string mFile="") | |
| Component constructor. | |
| VersionInformation (const Version ver, const DepList deps=DepList()) | |
| Version and DepList constructor. | |
Private Attributes | |
| DepList | dependencies |
| Version | version |
Classes | |
| class | Syntax |
| Syntax to extract stuff from VersionInformation. More... | |
Definition at line 38 of file VersionInformation.hpp.
| wns::module::VersionInformation::VersionInformation | ( | const Version | ver, | |
| const DepList | deps = DepList() | |||
| ) | [inline, explicit] |
Instantiate a VersionInformation object initialized by a Version object and a dependency list.
| ver | the version. | |
| deps | the dependencies. |
Definition at line 51 of file VersionInformation.hpp.
| wns::module::VersionInformation::VersionInformation | ( | const Release | bRelease, | |
| const DepList | deps = DepList(), |
|||
| const DateTime | bTime = DateTime(), |
|||
| const std::string | bUser = "", |
|||
| const std::string | bHost = "", |
|||
| const std::string | bFlags = "", |
|||
| const DateTime | mTime = DateTime(), |
|||
| const std::string | mFile = "" | |||
| ) | [inline, explicit] |
Create a VersionInformation object and initialize with release, dependency list, time, user and host. All parameters except bRelease default to be empty if omitted.
| bRelease | the release. | |
| deps | the dependencies, defaults to no dependencies (empty list). | |
| bTime | the build time, default to empty DateTime. | |
| bUser | the build user, defaults to empty string. | |
| bHost | the build host, defaults to empty host. | |
| bFlags | the compiler build flags. | |
| mTime | the project's modification time. | |
| mFile | the file that mTime was taken from. |
Definition at line 72 of file VersionInformation.hpp.
| wns::module::VersionInformation::VersionInformation | ( | const std::string & | s | ) | [inline, explicit] |
Create a VersionInformation object initialized by the content of the given string. The string must be Version "::" DepList.
| s | initialization string. |
DepList::DepList(const std::string s)
Definition at line 94 of file VersionInformation.hpp.
| DepList wns::module::VersionInformation::getDependencies | ( | ) | const [inline] |
Definition at line 110 of file VersionInformation.hpp.
| string VersionInformation::getNiceString | ( | ) | const |
| string VersionInformation::getString | ( | ) | const |
Definition at line 37 of file VersionInformation.cpp.
| Version wns::module::VersionInformation::getVersion | ( | ) | const [inline] |
Definition at line 102 of file VersionInformation.hpp.
| void wns::module::VersionInformation::setDependencies | ( | const DepList | deps | ) | [inline] |
Definition at line 126 of file VersionInformation.hpp.
| void wns::module::VersionInformation::setVersion | ( | const Version | ver | ) | [inline] |
Definition at line 118 of file VersionInformation.hpp.
Definition at line 154 of file VersionInformation.hpp.
Definition at line 153 of file VersionInformation.hpp.
1.5.5