LazyTableMock Class Reference

Detailed Description

Definition at line 84 of file lua.cc.

Inheritance diagram for LazyTableMock:

Public Member Functions

virtual void freeze () override
 
- Public Member Functions inherited from lua::LazyTable
 LazyTable (std::shared_ptr< lua_State > L, const std::string &name)
 
virtual LazyTableclone () const override
 Clone this ParameterSet. More...
 
- 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::anyrawGet (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 ParameterSetglobalParameters () const
 
std::vector< std::string > getNames () const
 

Additional Inherited Members

- Protected Member Functions inherited from lua::LazyTable
virtual void create (const std::string &name, const momemta::any &value) override
 Add a new element to the ParameterSet. More...
 
virtual void setInternal (const std::string &name, Element &element, const momemta::any &value) override
 
virtual bool lazy () const override
 A flag indicating if this ParameterSet lazy loads its fields or not. More...
 
- Protected Member Functions inherited from ParameterSet
 ParameterSet (const std::string &module_type, const std::string &module_name)
 
- Protected Attributes inherited from ParameterSet
std::map< std::string, Elementm_set
 

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