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

Represents a dependency specification, which consists of a project identifier and a version requirement. More...

Collaboration diagram for ArbiterDependency:
[legend]

Public Member Functions

 ArbiterDependency (ArbiterProjectIdentifier projectIdentifier, const ArbiterRequirement &requirement)
 
 ArbiterDependency (const ArbiterDependency &other)
 
std::unique_ptr< Arbiter::Baseclone () const override
 
std::ostream & describe (std::ostream &os) const override
 
bool operator!= (const Base &other) const
 
bool operator< (const ArbiterDependency &other) const
 
ArbiterDependencyoperator= (const ArbiterDependency &other)
 
bool operator== (const Arbiter::Base &other) const override
 
const ArbiterRequirementrequirement () const noexcept
 

Public Attributes

ArbiterProjectIdentifier _projectIdentifier
 

Detailed Description

Represents a dependency specification, which consists of a project identifier and a version requirement.

Definition at line 47 of file Dependency.h.

Constructor & Destructor Documentation

§ ArbiterDependency() [1/2]

ArbiterDependency::ArbiterDependency ( ArbiterProjectIdentifier  projectIdentifier,
const ArbiterRequirement requirement 
)

§ ArbiterDependency() [2/2]

ArbiterDependency::ArbiterDependency ( const ArbiterDependency other)

Definition at line 54 of file Dependency.h.

Member Function Documentation

§ clone()

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

Implements Arbiter::Base.

§ describe()

std::ostream& ArbiterDependency::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 ArbiterDependency::operator< ( const ArbiterDependency other) const

Definition at line 69 of file Dependency.h.

§ operator=()

ArbiterDependency& ArbiterDependency::operator= ( const ArbiterDependency other)

§ operator==()

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

Implements Arbiter::Base.

§ requirement()

const ArbiterRequirement& ArbiterDependency::requirement ( ) const
noexcept

Definition at line 60 of file Dependency.h.

Member Data Documentation

§ _projectIdentifier

ArbiterProjectIdentifier ArbiterDependency::_projectIdentifier

Definition at line 50 of file Dependency.h.


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