22 #include <boost/functional/hash.hpp> 36 : name_(parameter_name) {}
50 boost::hash_combine(seed,
"Parameter");
60 auto parameter_iter = std::find_if(vec.begin(), vec.end(),
62 if (parameter_iter != vec.end()) {
64 parameter_map[parameter_iter->first] = parameter_iter->second->content_hash();
65 return std::make_pair( parameter_iter->second, parameter_map );
68 THROW( ExcParamaterNotSubsituted() << EI_Object(this->
name_));
74 if (!is_generic)
THROW( ExcParamaterInIst() << EI_Object(this->
name_));
84 : generic_type_(generic_type), parameters_(parameters) {}
89 boost::hash_combine(seed,
"Instance");
92 boost::hash_combine(seed, (*it).first );
93 boost::hash_combine(seed, (*it).second->content_hash() );
122 }
catch (ExcParamaterNotSubsituted &e) {
125 for(
auto &item : vec) aux_map[item.first]=0;
133 #ifdef FLOW123D_DEBUG_ASSERTS 138 for(
auto &item : vec) aux_map[item.first]=0;
141 .error(
"Unused parameter in input type instance");
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.