This class is used to specify a sample. More...
#include <SampleIdentity.hpp>
Public Member Functions | |
SampleIdentity () | |
Default constructor. | |
SampleIdentity (const SampleIdentity &sample_id) | |
Copy constructor. | |
SampleIdentity (SampleIdentity &&sample_id) | |
Move constructor. | |
SampleIdentity & | operator= (const SampleIdentity &sample_id) |
Assignment operator. | |
SampleIdentity & | operator= (SampleIdentity &&sample_id) |
Move constructor. | |
bool | operator== (const SampleIdentity &sample_id) const |
bool | operator!= (const SampleIdentity &sample_id) const |
bool | operator< (const SampleIdentity &sample) const |
To allow using SampleIdentity as map key. | |
SampleIdentity & | writer_guid (const GUID_t &guid) |
SampleIdentity & | writer_guid (GUID_t &&guid) |
const GUID_t & | writer_guid () const |
GUID_t & | writer_guid () |
SampleIdentity & | sequence_number (const SequenceNumber_t &seq) |
SampleIdentity & | sequence_number (SequenceNumber_t &&seq) |
const SequenceNumber_t & | sequence_number () const |
SequenceNumber_t & | sequence_number () |
Static Public Member Functions | |
static SampleIdentity | unknown () |
Friends | |
std::istream & | operator>> (std::istream &input, SampleIdentity &sid) |
Stream operator, retrieves a GUID. | |
std::ostream & | operator<< (std::ostream &output, const SampleIdentity &sid) |
Stream operator, prints a GUID. | |
This class is used to specify a sample.
|
inline |
Default constructor.
Constructs an unknown SampleIdentity.
|
inline |
Copy constructor.
|
inline |
Move constructor.
|
inline |
|
inline |
|
inline |
Assignment operator.
|
inline |
Move constructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Stream operator, prints a GUID.
output | Output stream. |
sid | SampleIdentity to print. |
|
friend |
Stream operator, retrieves a GUID.
input | Input stream. |
sid | SampleIdentity to read. |