Skip to content
Snippets Groups Projects
Commit faf4451e authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add operator << to SkillID

parent db42bcbe
No related branches found
No related tags found
No related merge requests found
......@@ -37,4 +37,9 @@ namespace armarx
return (prefix.empty() ? std::string("") : (prefix + PREFIX_SEPARATOR)) + providerName + NAME_SEPARATOR + skillName;
}
}
std::ostream& skills::operator<<(std::ostream& os, const SkillID& id)
{
return os << "'" << id.toString() << "'";
}
}
......@@ -32,5 +32,7 @@ namespace armarx
provider::dto::SkillID toIce() const;
std::string toString(const std::string& prefix = "") const;
};
std::ostream& operator<<(std::ostream& os, const SkillID& id);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment