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_));
86 : generic_type_(generic_type), parameters_(parameters) {}
91 boost::hash_combine(seed,
"Instance");
94 boost::hash_combine(seed, (*it).first );
95 boost::hash_combine(seed, (*it).second->content_hash() );
124 }
catch (ExcParamaterNotSubsituted &e) {
127 for(
auto &item : vec) aux_map[item.first]=0;
135 #ifdef FLOW123D_DEBUG_ASSERTS 140 for(
auto &item : vec) aux_map[item.first]=0;
143 .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.