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

Add << op for data::MemoryID

parent 0ad75bb4
No related branches found
No related tags found
1 merge request!157armem/dev => master
......@@ -20,3 +20,10 @@ void armarx::armem::toAron(arondto::MemoryID& dto, const MemoryID& bo)
dto.timestamp = bo.timestamp.toMicroSeconds();
dto.instanceIndex = bo.instanceIndex;
}
std::ostream& armarx::armem::arondto::operator<<(std::ostream& os, const MemoryID& rhs)
{
armem::MemoryID bo;
fromAron(rhs, bo);
return os << bo;
}
......@@ -9,3 +9,7 @@ namespace armarx::armem
void fromAron(const arondto::MemoryID& dto, MemoryID& bo);
void toAron(arondto::MemoryID& dto, const MemoryID& bo);
}
namespace armarx::armem::arondto
{
std::ostream& operator<<(std::ostream& os, const MemoryID& rhs);
}
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