MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / Sample

Class Sample

tests/unit-tests/dds/DCPS/InternalDataWriter.cpp:20–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 };
19
20 struct Sample {
21 std::string key;
22
23 Sample()
24 {}
25
26 Sample(const std::string& a_key)
27 : key(a_key)
28 {}
29
30 bool operator==(const Sample& other) const
31 {
32 return key == other.key;
33 }
34
35 bool operator<(const Sample& other) const
36 {
37 return key < other.key;
38 }
39 };
40
41}
42

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected