Arbiter
Dependency manager library that supports decentralization
Public Types | Public Member Functions | Public Attributes | List of all members
ArbiterResolvedDependencyInstaller Struct Referencefinal

Enumerates a resolved dependency graph in "install order," where all projects listed within one phase may be safely installed in parallel with respect to each another, and the projects within each successive phase must be installed only after the projects in all previous phases have been completely installed. More...

Collaboration diagram for ArbiterResolvedDependencyInstaller:
[legend]

Public Types

using PhaseSet = std::set< ArbiterResolvedDependency >
 
using SortedEdgesMap = std::unordered_map< ArbiterProjectIdentifier, std::vector< ArbiterProjectIdentifier >>
 

Public Member Functions

 ArbiterResolvedDependencyInstaller ()=default
 
std::unique_ptr< Arbiter::Baseclone () const override
 
bool contains (const ArbiterResolvedDependency &node) const
 
size_t countInPhase (size_t phaseIndex) const
 
std::ostream & describe (std::ostream &os) const override
 
bool operator!= (const Base &other) const
 
bool operator== (const Arbiter::Base &other) const override
 

Public Attributes

SortedEdgesMap _edges
 
std::vector< PhaseSet_phases
 

Detailed Description

Enumerates a resolved dependency graph in "install order," where all projects listed within one phase may be safely installed in parallel with respect to each another, and the projects within each successive phase must be installed only after the projects in all previous phases have been completely installed.

Definition at line 83 of file Graph.h.

Member Typedef Documentation

§ PhaseSet

Definition at line 87 of file Graph.h.

§ SortedEdgesMap

Definition at line 86 of file Graph.h.

Constructor & Destructor Documentation

§ ArbiterResolvedDependencyInstaller()

ArbiterResolvedDependencyInstaller::ArbiterResolvedDependencyInstaller ( )
default

Member Function Documentation

§ clone()

std::unique_ptr<Arbiter::Base> ArbiterResolvedDependencyInstaller::clone ( ) const
overridevirtual

Implements Arbiter::Base.

§ contains()

bool ArbiterResolvedDependencyInstaller::contains ( const ArbiterResolvedDependency node) const

§ countInPhase()

size_t ArbiterResolvedDependencyInstaller::countInPhase ( size_t  phaseIndex) const

§ describe()

std::ostream& ArbiterResolvedDependencyInstaller::describe ( std::ostream &  os) const
overridevirtual

Implements Arbiter::Base.

§ operator!=()

bool Arbiter::Base::operator!= ( const Base other) const
inherited

Definition at line 28 of file Types.h.

§ operator==()

bool ArbiterResolvedDependencyInstaller::operator== ( const Arbiter::Base other) const
overridevirtual

Implements Arbiter::Base.

Member Data Documentation

§ _edges

SortedEdgesMap ArbiterResolvedDependencyInstaller::_edges

Definition at line 90 of file Graph.h.

§ _phases

std::vector<PhaseSet> ArbiterResolvedDependencyInstaller::_phases

Definition at line 89 of file Graph.h.


The documentation for this struct was generated from the following file: