Module is a container class for multiple logically related Protocols (contains parameterised elements). More...
#include <module.h>
Public Member Functions | |
ModuleTmpl () | |
Module constructor with "default" as Module name. | |
ModuleTmpl (std::string name) | |
Module constructor. | |
virtual | ~ModuleTmpl () |
Module destructor. | |
void | add_constant (ConstantType *c) |
unsigned int | num_constants () const |
bool | has_constant (std::string name) const |
Test if Constant is in Module. | |
ConstantType * | constant (std::string name) const |
ConstantContainer::const_iterator | const_begin () const |
ConstantContainer::const_iterator | const_end () const |
Module is a container class for multiple logically related Protocols (contains parameterised elements).
void sesstype::parameterised::ModuleTmpl< ImportType, SessionType, ConstantType >::add_constant | ( | ConstantType * | c | ) | [inline] |
[in] | constant | to add to Module. |
ConstantType* sesstype::parameterised::ModuleTmpl< ImportType, SessionType, ConstantType >::constant | ( | std::string | name | ) | const [inline] |
name
. std::out_of_range | if not found. |
bool sesstype::parameterised::ModuleTmpl< ImportType, SessionType, ConstantType >::has_constant | ( | std::string | name | ) | const [inline] |
unsigned int sesstype::parameterised::ModuleTmpl< ImportType, SessionType, ConstantType >::num_constants | ( | ) | const [inline] |