Class xlifepp::EssentialConditions#

class EssentialConditions : public std::list<EssentialCondition>#

Inheritence diagram for xlifepp::EssentialConditions:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="std::list< EssentialCondition >" tooltip="std::list< EssentialCondition >"] "3" [label="std::list< T >" tooltip="std::list< T >"] "1" [label="xlifepp::EssentialConditions" tooltip="xlifepp::EssentialConditions" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::EssentialConditions:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="std::list< EssentialCondition >" tooltip="std::list< EssentialCondition >"] "5" [label="std::map< const Unknown *, Constraints * >" tooltip="std::map< const Unknown *, Constraints * >"] "7" [label="std::set< xlifepp::Unknown * >" tooltip="std::set< xlifepp::Unknown * >"] "3" [label="std::list< T >" tooltip="std::list< T >"] "6" [label="std::map< K, T >" tooltip="std::map< K, T >"] "8" [label="std::set< K >" tooltip="std::set< K >"] "1" [label="xlifepp::EssentialConditions" tooltip="xlifepp::EssentialConditions" fillcolor="#BFBFBF"] "4" [label="xlifepp::SetOfConstraints" tooltip="xlifepp::SetOfConstraints"] "2" -> "3" [dir=forward tooltip="template-instance"] "5" -> "6" [dir=forward tooltip="template-instance"] "7" -> "8" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "4" [dir=forward tooltip="usage"] "4" -> "5" [dir=forward tooltip="public-inheritance"] "4" -> "7" [dir=forward tooltip="usage"] }

handling a list of Essential conditions

Public Functions

inline EssentialConditions()#

default constructor

EssentialConditions(const EssentialCondition&)#

constructor from 1 EssentialCondition

EssentialConditions(const EssentialCondition&, const EssentialCondition&)#

constructor from 2 EssentialCondition

EssentialConditions(const EssentialConditions&)#

copy constructor

~EssentialConditions()#

destructor

bool coupledUnknowns() const#

true if one essential condition couples at least two unknowns

EssentialConditions &operator=(const EssentialConditions&)#

assignment operator

void print(std::ostream&) const#

print utility

const Unknown *unknown() const#

return unknown involved in constraint, 0 if more than one unknown

std::set<const Unknown*> unknowns() const#

return unknowns involved in constraint

Friends

friend std::ostream &operator<<(std::ostream&, const EssentialConditions&)#

print operator