20 #ifndef __mast__function_base__ 21 #define __mast__function_base__ 42 const bool is_field_func);
60 const std::string&
name()
const {
73 std::set<const MAST::FunctionBase*>::const_iterator
76 for ( ; it != end; it++)
77 if ((*it)->depends_on(f))
123 #endif // __mast__function_base__
virtual void set_as_topology_parameter(bool f)
std::set< const MAST::FunctionBase * > _functions
set of functions that this function depends on
virtual ~FunctionBase()
virtual destructor
bool _is_topology_parameter
std::string _name
name of this parameter
virtual bool is_shape_parameter() const
virtual bool depends_on(const MAST::FunctionBase &f) const
returns true if the function depends on the provided value
const std::string & name() const
returns the name of this function
FunctionBase(const std::string &nm, const bool is_field_func)
initializes the parameter to the given name
virtual void set_as_shape_parameter(bool f)
virtual bool is_topology_parameter() const
bool _is_field_func
flag to store the nature of field function