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

Public Types | |
| enum | depModeType { LessThan, EqualTo, GreaterThan } |
| Dependency relation type. More... | |
Public Member Functions | |
| bool | dependencyMetBy (const Version ver) const |
| Check, if a given version meets the dependency. | |
| DepListElem (const std::string s) throw (DepListElemInvalidInitString) | |
| String constructor. | |
| DepListElem (const depModeType mode, const Version dep) | |
| Component constructor. | |
| Version | getDependency () const |
| Get the dependency. | |
| depModeType | getDepMode () const |
| Get the dependency mode. | |
| std::string | getNiceString () const |
| Return dependency as a human readable string. | |
| std::string | getString () const |
| Return dependency as a string. | |
| void | setDependency (const Version dependency) |
| Set the dependency's version. | |
| void | setDepMode (const depModeType depMode) |
| Set the dependency mode. | |
Private Attributes | |
| Version | dependency |
| Version. | |
| depModeType | depMode |
| See depModeType. | |
Definition at line 61 of file DependencyList.hpp.
| DepListElem::DepListElem | ( | const depModeType | mode, | |
| const Version | dep | |||
| ) |
This initializes a DepListElem instance with a given dependency mode and a Version object.
| mode | LessThan, EqualTo or GreaterThan. | |
| dep | depend on this version. |
Definition at line 37 of file DependencyList.cpp.
| wns::module::DepListElem::DepListElem | ( | const std::string | s | ) | throw (DepListElemInvalidInitString) |
This initializes a DepListElem instance by a string, consisting of "<", "=" or ">" as first character and a (sub)string accepted by Version::Version(std::string s) starting at the second character.
| s | initialization string. |
| ver | the version to check |
Definition at line 81 of file DependencyList.cpp.
| Version DepListElem::getDependency | ( | ) | const |
| DepListElem::depModeType DepListElem::getDepMode | ( | ) | const |
Definition at line 60 of file DependencyList.cpp.
| string DepListElem::getNiceString | ( | ) | const |
Definition at line 113 of file DependencyList.cpp.
| string DepListElem::getString | ( | ) | const |
| void DepListElem::setDependency | ( | const Version | dependency | ) |
| void DepListElem::setDepMode | ( | const depModeType | depMode | ) |
| depMode | the dependency mode (LessThan, EqualTo or GreaterThan). |
Definition at line 71 of file DependencyList.cpp.
Version wns::module::DepListElem::dependency [private] |
Definition at line 149 of file DependencyList.hpp.
depModeType wns::module::DepListElem::depMode [private] |
Definition at line 144 of file DependencyList.hpp.
1.5.5