37 std::map<std::string, MAST::FunctionBase*>::const_iterator it =
51 "Function already exists: " + f.
name());
53 bool success =
_properties.insert(std::pair<std::string, MAST::FunctionBase*>
54 (f.
name(), &f)).second;
55 libmesh_assert(success);
65 std::map<std::string, MAST::FunctionBase*>::const_iterator
67 for ( ; it!=end; it++) {
68 if (it->second->depends_on(f))
virtual ~FunctionSetBase()
destructor deletes the function pointers
void add(MAST::FunctionBase &f)
adds the function to this card and returns a reference to it.
virtual bool depends_on(const MAST::FunctionBase &f) const
returns true if the property card depends on the function f
const std::string & name() const
returns the name of this function
std::map< std::string, MAST::FunctionBase * > _properties
map of the functions in this card
bool contains(const std::string &nm) const
checks if the card contains the specified property value