ParameterSetMock Class Reference
Detailed Description
Definition at line 40 of file modules.cc.
Inheritance diagram for ParameterSetMock:

Public Member Functions | |
| ParameterSetMock (const std::string &name) | |
| void | createMock (const std::string &name, const momemta::any &value) |
Public Member Functions inherited from ParameterSet | |
| template<typename T > | |
| const T & | get (const std::string &name) const |
| template<typename T > | |
| T & | get (const std::string &name) |
| template<typename T > | |
| const T & | get (const std::string &name, const T &defaultValue) const |
| const momemta::any & | rawGet (const std::string &name) const |
| bool | exists (const std::string &name) const |
| template<typename T > | |
| bool | existsAs (const std::string &name) const |
| template<typename T > | |
| std::enable_if< std::is_same< T, bool >::value||std::is_same< T, InputTag >::value >::type | set (const std::string &name, const T &value) |
| Change the value of a given parameter. If the parameter does not exist, it's first created. More... | |
| template<typename T > | |
| void | set (const std::string &name, const std::vector< T > &value) |
| Change the value of a given parameter. If the parameter does not exist, it's first created. More... | |
| template<typename T > | |
| std::enable_if< is_string< T >::value >::type | set (const std::string &name, const T &value) |
| Change the value of a given parameter. If the parameter does not exist, it's first created. More... | |
| template<typename T > | |
| std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value >::type | set (const std::string &name, const T &value) |
| Change the value of a given parameter. If the parameter does not exist, it's first created. More... | |
| template<typename T > | |
| std::enable_if< std::is_floating_point< T >::value >::type | set (const std::string &name, const T &value) |
| Change the value of a given parameter. If the parameter does not exist, it's first created. More... | |
| std::string | getModuleName () const |
| std::string | getModuleType () const |
| const ParameterSet & | globalParameters () const |
| virtual ParameterSet * | clone () const |
| Clone this ParameterSet. More... | |
| std::vector< std::string > | getNames () const |
Additional Inherited Members | |
Protected Member Functions inherited from ParameterSet | |
| ParameterSet (const std::string &module_type, const std::string &module_name) | |
| virtual bool | lazy () const |
| A flag indicating if this ParameterSet lazy loads its fields or not. More... | |
| virtual void | create (const std::string &name, const momemta::any &value) |
| Add a new element to the ParameterSet. More... | |
| virtual void | setInternal (const std::string &name, Element &element, const momemta::any &value) |
| virtual void | freeze () |
Protected Attributes inherited from ParameterSet | |
| std::map< std::string, Element > | m_set |
The documentation for this class was generated from the following file:
- tests/unit_tests/modules.cc
Public Member Functions inherited from
1.8.13