79 Node::Ref::Ref(std::string
const & id_str,
unsigned int id_num,
unsigned flags,
unsigned line_number):
81 m_line_number(line_number),
82 m_id_as_number(id_num)
105 std::stringstream msg;
106 msg <<
"Node::Ref(id:" << m_id
108 if (m_line_number != 0)
110 msg << m_line_number;
116 msg <<
", import flags:[";
117 if(GetImportState_IsValid ()) { msg <<
" VALID" ; }
118 if(GetImportState_MustCheckNamedFirst ()) { msg <<
" CHECK_NAMED_FIRST"; }
119 if(GetImportState_IsResolvedNamed ()) { msg <<
" RESOLVED_NAMED" ; }
120 if(GetImportState_IsResolvedNumbered ()) { msg <<
" RESOLVED_NUMBERED"; }
121 msg <<
"], regular flags:[";
122 if(GetRegularState_IsValid ()) { msg <<
" VALID" ; }
123 if(GetRegularState_IsNamed ()) { msg <<
" NAMED" ; }
124 if(GetRegularState_IsNumbered ()) { msg <<
" NUMBERED" ; }
131 return std::string(
"Node::Id(") + this->Str() + (this->IsTypeNumbered() ?
" NUMBERED)" :
" NAMED)");