MemoryID_operators.cpp
Go to the documentation of this file.
2
3#include "MemoryID.h"
4
5std::ostream&
6armarx::armem::operator<<(std::ostream& os, const std::vector<MemoryID>& rhs)
7{
8 os << "std::vector<MemoryID> with " << rhs.size() << " entries:";
9 for (size_t i = 0; i < rhs.size(); ++i)
10 {
11 os << "\n\t[" << i << "] " << rhs[i];
12 }
13 return os;
14}
15
16bool
18{
19 return lhs.timestamp < rhs.timestamp;
20}
21
22bool
24{
25 return lhs.timestamp > rhs.timestamp;
26}
bool compareTimestamp(const MemoryID &lhs, const MemoryID &rhs)
lhs.timestamp < rhs.timstamp
std::ostream & operator<<(std::ostream &os, const EntityUpdate &rhs)
Definition Commit.cpp:13
bool compareTimestampDecreasing(const MemoryID &lhs, const MemoryID &rhs)
lhs.timestamp > rhs.timstamp