19 dependees_(dependees), dependents_(dependents)
28 dependees_(dependees),
40 dependents_(dependents)
59 ParameterEntryList::iterator it =
dependents_.begin();
69 out <<
"Number of dependees: " <<
dependees_.size() << std::endl;
70 out <<
"Number of dependents: " <<
dependents_.size() << std::endl;
75 ConstParameterEntryList::iterator it1 =
dependees_.begin();
79 "Cannot have a null dependee!" << std::endl << std::endl);
82 ParameterEntryList::iterator it2 =
dependents_.begin();
86 "Cannot have a null dependent!" << std::endl << std::endl);
std::set< RCP< const ParameterEntry >, RCPConstComp > ConstParameterEntryList
A list of dependents.
std::set< RCP< ParameterEntry >, RCPComp > ParameterEntryList
A list of Dependees.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
virtual void print(std::ostream &out) const
prints out information about the dependency.
Dependency()
Declaring and defining the default constructor as private.
ConstParameterEntryList dependees_
The parameters being depended upon.
ParameterEntryList dependents_
The dependent paramters.
virtual std::string getTypeAttributeValue() const =0
Returns the string to be used for the value of the type attribute when converting the dependency to X...
void createConstDependents()
creates a const version of the dependent parameters.
ConstParameterEntryList constDependents_
A const version dependent paramters.
Smart reference counting pointer class for automatic garbage collection.
void checkDependeesAndDependents()
makes sure the none of the dependess and dependets are null.