top | up | prev | next

ConceptRepository Class

Definition at line 15 of ConceptRepository.hpp

Member Functions

void AddBoundConcept(const BoundConceptKey& key, std::unique_ptr<BoundConcept>&& boundConcept)
BoundConcept* GetBoundConcept(const BoundConceptKey& key) const

Member Variables

std::unordered_map<BoundConceptKey, BoundConcept*, BoundConceptKeyHash> boundConceptMap
std::vector<std::unique_ptr<BoundConcept>> boundConcepts

Member Function Details

AddBoundConcept Member Function

void cmajor::binder::ConceptRepository::AddBoundConcept(const BoundConceptKey & key, std::unique_ptr<BoundConcept >&& boundConcept)

Definition at line 23 of ConceptRepository.cpp :
24 {
25     boundConceptMap[key] = boundConcept.get();
26     boundConcepts.push_back(std::move(boundConcept));
27 }


Declaration at line 19 of ConceptRepository.hpp

Called by: cmajor::binder::ConstraintChecker::Visit , cmajor::binder::ConstraintChecker::Visit , cmajor::binder::ConstraintChecker::Visit


GetBoundConcept Member Function

BoundConcept * cmajor::binder::ConceptRepository::GetBoundConcept(const BoundConceptKey & key) const

Definition at line 10 of ConceptRepository.cpp
Declaration at line 18 of ConceptRepository.hpp

Called by: cmajor::binder::ConstraintChecker::Visit , cmajor::binder::ConstraintChecker::Visit , cmajor::binder::ConstraintChecker::Visit


top | up | prev | next