|
DAnCE ..
|
#include <Dependency_Sorter.h>
Classes | |
| class | Invalid_Install_Order |
Public Types | |
| typedef std::vector< std::string > | INSTALL_ORDER |
| typedef std::set< std::string > | IH_DEPS |
Public Member Functions | |
| void | add_nondependent (const std::string &subject) |
| Add a handler which has no dependencies. | |
| void | add_dependency (const std::string &subject, const IH_DEPS &deps) |
| Add a dependency to the map. | |
| void | add_dependency (const std::string &subject, const std::string &install_after) |
| Add a dependency to the map. | |
| void | calculate_order (INSTALL_ORDER &) |
Private Types | |
| typedef std::map< std::string, IH_DEPS > | DEP_MAP |
Private Attributes | |
| DEP_MAP | dep_map_ |
typedef std::map< std::string, IH_DEPS > DAnCE::Dependency_Sorter::DEP_MAP [private] |
| typedef std::set< std::string > DAnCE::Dependency_Sorter::IH_DEPS |
| typedef std::vector< std::string > DAnCE::Dependency_Sorter::INSTALL_ORDER |
| void DAnCE::Dependency_Sorter::add_dependency | ( | const std::string & | subject, |
| const IH_DEPS & | deps | ||
| ) |
Add a dependency to the map.
| void DAnCE::Dependency_Sorter::add_dependency | ( | const std::string & | subject, |
| const std::string & | install_after | ||
| ) |
Add a dependency to the map.
| void DAnCE::Dependency_Sorter::add_nondependent | ( | const std::string & | subject | ) |
Add a handler which has no dependencies.
| void DAnCE::Dependency_Sorter::calculate_order | ( | Dependency_Sorter::INSTALL_ORDER & | retval | ) |
DEP_MAP DAnCE::Dependency_Sorter::dep_map_ [private] |
1.7.4