DAnCE  ..
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Private Types | Private Attributes
DAnCE::Dependency_Sorter Class Reference

#include <Dependency_Sorter.h>

Collaboration diagram for DAnCE::Dependency_Sorter:
Collaboration graph

List of all members.

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_

Member Typedef Documentation

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

Member Function Documentation

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)

Member Data Documentation

DEP_MAP DAnCE::Dependency_Sorter::dep_map_
private

The documentation for this class was generated from the following files: