16 #ifndef TORC_GENERIC_PARAMETERMAP_HPP
17 #define TORC_GENERIC_PARAMETERMAP_HPP
23 #include <boost/shared_ptr.hpp>
28 namespace torc {
namespace generic {
class Parameter; } }
62 std::map<std::string, ParameterSharedPtr>& outParams)
const;
71 std::map<std::string, ParameterSharedPtr>& outParams)
const;
80 const _Action& action)
throw (
Error);
127 mParameters.get(inContext, data);
131 data->mParams.applyOnAll(action);
132 applyOnAllParameters(data->mParentContext, action);
147 mParameters.get(inContext, data);
151 data->mParams.applyOnAll(action);
162 #endif // TORC_GENERIC_PARAMETERMAP_HPP
void applyOnAllParameters(const ParameterContext &inContext, const _Action &action)
boost::shared_ptr< TabParams > TabParamsPtr
boost::shared_ptr< Parameter > ParameterSharedPtr
void registerContext(const ParameterContext &inContext, const ParameterContext &inParentContext=ParameterContext())
ParameterContext mParentContext
The Error object thrown by different methods of EdifOM.
ParameterContext getNewContext()
SymTab< ParameterContext, ParamDataPtr > mParameters
void set(const ParameterContext &inContext, const std::string &inName, const ParameterSharedPtr &inParam)
void applyOnOverriddenParameters(const ParameterContext &inContext, const _Action &action)
void unregisterContext(const ParameterContext &inContext)
void getAllParameters(const ParameterContext &inContext, std::map< std::string, ParameterSharedPtr > &outParams) const
boost::shared_ptr< ParamData > ParamDataPtr
void getOverriddenParameters(const ParameterContext &inContext, std::map< std::string, ParameterSharedPtr > &outParams) const
SymTab< std::string, ParameterSharedPtr, true > TabParams
bool isContextRegistered(const ParameterContext &inContext) const
ParameterContext mNextContext
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)