Lines Matching refs:query_type_
430 const void* Model::parseQuery(const String& query_type_, const String& query_hier_, const String& query_sub_field_)
444 return processQuery(query_type_, query_sub_field_);
461 return m_sub_instances_->get(temp_sub_instance_name)->getModel()->parseQuery(query_type_, temp_query_hier, query_sub_field_);
465 const void* Model::processQuery(const String& query_type_, const String& query_sub_field_)
467 if(query_type_ == "Property")
471 else if(query_type_ == "Parameter")
475 else if(query_type_.contain("Hier"))
479 else if(query_type_ == "Area")
483 else if(query_type_ == "NddPower")
487 else if(query_type_ == "Energy")
493 const String& error_msg = "[Error] " + m_instance_name_ + " -> Unknown query type (" + query_type_ + ")";
619 void Model::printHierarchy(const String& query_type_, const String& query_sub_field_, const String& prepend_str_, int detail_level_, ostream& ost_) const
621 if(query_type_ == "InstHier")
631 //sub_model->printHierarchy(query_type_, query_sub_field_, temp_prepend_str, detail_level_ - 1, ost_);
639 if(query_type_ == "AreaHier")
643 else if(query_type_ == "NddPowerHier")
647 else if(query_type_ == "EventHier")
653 const String& error_msg = "[Error] " + m_instance_name_ + " -> Unknown query type (" + query_type_ + ")";