MAST
MAST::FunctionSetBase Class Reference

provides a methods to store property values More...

#include <function_set_base.h>

Inheritance diagram for MAST::FunctionSetBase:

Public Member Functions

 FunctionSetBase ()
 
virtual ~FunctionSetBase ()
 destructor deletes the function pointers More...
 
bool contains (const std::string &nm) const
 checks if the card contains the specified property value More...
 
void add (MAST::FunctionBase &f)
 adds the function to this card and returns a reference to it. More...
 
template<typename ValType >
const ValType & get (const std::string &nm) const
 returns a constant reference to the specified function More...
 
template<typename ValType >
ValType & get (const std::string &nm)
 returns a writable reference to the specified function More...
 
virtual bool depends_on (const MAST::FunctionBase &f) const
 returns true if the property card depends on the function f More...
 

Protected Attributes

std::map< std::string, MAST::FunctionBase * > _properties
 map of the functions in this card More...
 

Detailed Description

provides a methods to store property values

Definition at line 36 of file function_set_base.h.

Constructor & Destructor Documentation

MAST::FunctionSetBase::FunctionSetBase ( )

Definition at line 25 of file function_set_base.cpp.

MAST::FunctionSetBase::~FunctionSetBase ( )
virtual

destructor deletes the function pointers

Definition at line 29 of file function_set_base.cpp.

Member Function Documentation

void MAST::FunctionSetBase::add ( MAST::FunctionBase f)

adds the function to this card and returns a reference to it.

Definition at line 47 of file function_set_base.cpp.

Here is the call graph for this function:

bool MAST::FunctionSetBase::contains ( const std::string &  nm) const

checks if the card contains the specified property value

Definition at line 35 of file function_set_base.cpp.

Here is the caller graph for this function:

bool MAST::FunctionSetBase::depends_on ( const MAST::FunctionBase f) const
virtual
template<typename ValType >
const ValType& MAST::FunctionSetBase::get ( const std::string &  nm) const
inline

returns a constant reference to the specified function

Definition at line 64 of file function_set_base.h.

Here is the caller graph for this function:

template<typename ValType >
ValType& MAST::FunctionSetBase::get ( const std::string &  nm)
inline

returns a writable reference to the specified function

Definition at line 82 of file function_set_base.h.

Here is the call graph for this function:

Member Data Documentation

std::map<std::string, MAST::FunctionBase*> MAST::FunctionSetBase::_properties
protected

map of the functions in this card

Definition at line 106 of file function_set_base.h.


The documentation for this class was generated from the following files: