51 name_(
"DEP_ANONYMOUS")
61 Dependency::ConstParameterEntryList::iterator
it =
dependees.begin();
73 Dependency::ConstParameterEntryList::iterator
it =
dependees.begin();
85 if(dependenciesMap_.find(dependee) != dependenciesMap_.end()){
86 return rcpFromRef(dependenciesMap_.find(dependee)->second);
92 out <<
"Dependency Sheet: " << name_ << std::endl << std::endl;
DataStructure keeping track of dependencies.
RCP< const DepSet > getDependenciesForParameter(RCP< const ParameterEntry > dependee) const
Returns a set of all the dependencies associated with a particular dependee. If no dependencies with ...
void printDeps(std::ostream &out) const
Prints out a list of the dependencies in the DependencySheet.
void addDependency(RCP< Dependency > dependency)
Adds a dependency to the sheet.
void removeDependency(RCP< Dependency > dependency)
Removes a particular dependency between two parameters.
DepSet::iterator depBegin()
Returns an iterator to the beginning of all the dependees in the sheet.
void addDependencies(RCP< DependencySheet > otherSheet)
Adds a dependencies from another she to this sheet.
DependencySheet()
Constructs an empty DependencySheet with the name DEP_ANONYMOUS.
DepSet::iterator depEnd()
std::set< RCP< const ParameterEntry >, RCPConstComp > ConstParameterEntryList
A list of dependents.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...