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

Public Member Functions | |
| template<class VerList> | |
| bool | dependenciesMetBy (const VerList vers, const VerList end) const |
| Check if dependencies are met. | |
| DepList (const std::string &s) | |
| String constructor. | |
| DepList () | |
| Empty list constructor. | |
| std::string | getNiceString () const |
| Dependency list as a human readable string. | |
| std::string | getString () const |
| Dependency list as a string. | |
Private Types | |
| typedef std::vector< DepListElem > | DepListPredecessor |
Private Member Functions | |
| bool | projectDoesMatch (const Version v1, const Version v2) const |
| Compares category and branch of two given version and returns true if equal. | |
Private Attributes | |
| DepListPredecessor | depListElements |
Definition at line 160 of file DependencyList.hpp.
typedef std::vector<DepListElem> wns::module::DepList::DepListPredecessor [private] |
Definition at line 162 of file DependencyList.hpp.
| wns::module::DepList::DepList | ( | ) | [inline] |
Definition at line 167 of file DependencyList.hpp.
| wns::module::DepList::DepList | ( | const std::string & | s | ) | [explicit] |
Instantiate a DepList initialized by a string. The string is expected to contain initialization strings for DepListElems enclosed in parens: (DepListElem)(DepListElem) ...
| s | initialization string. |
| bool wns::module::DepList::dependenciesMetBy | ( | const VerList | vers, | |
| const VerList | end | |||
| ) | const [inline] |
Returns true if all dependencies are met.
This checks, if all dependencies are met by the "list" of versions given by the parameters. The "list" of versions may be any standard C++ container.
| vers | iterator pointing at the beginning of the version "list". | |
| end | iterator pointing at the end of the version "list". |
Definition at line 235 of file DependencyList.hpp.
| string DepList::getNiceString | ( | ) | const |
| string DepList::getString | ( | ) | const |
Definition at line 139 of file DependencyList.cpp.
| bool wns::module::DepList::projectDoesMatch | ( | const Version | v1, | |
| const Version | v2 | |||
| ) | const [inline, private] |
Definition at line 220 of file DependencyList.hpp.
Definition at line 226 of file DependencyList.hpp.
1.5.5