22 #include <boost/functional/hash.hpp> 36 : name_(parameter_name) {}
55 boost::hash_combine(seed,
"Parameter");
65 auto parameter_iter = std::find_if(vec.begin(), vec.end(),
67 if (parameter_iter != vec.end()) {
69 parameter_map[parameter_iter->first] = parameter_iter->second->content_hash();
70 return std::make_pair( parameter_iter->second, parameter_map );
73 THROW( ExcParamaterNotSubsituted() << EI_Object(this->
name_));
91 : generic_type_(generic_type), parameters_(parameters) {}
96 boost::hash_combine(seed,
"Instance");
99 boost::hash_combine(seed, (*it).first );
100 boost::hash_combine(seed, (*it).second->content_hash() );
129 }
catch (ExcParamaterNotSubsituted &e) {
132 for(
auto &item : vec) aux_map[item.first]=0;
140 #ifdef FLOW123D_DEBUG_ASSERTS 145 for(
auto &item : vec) aux_map[item.first]=0;
148 .error(
"Unused parameter in input type instance");
#define ASSERT(expr)
Allow use shorter versions of macro names if these names is not used with external library...
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.