Class SampleIdentity

Class Documentation

class SampleIdentity

This class is used to specify a sample.

Public Functions

inline SampleIdentity()

Default constructor. Constructs an unknown SampleIdentity.

inline SampleIdentity(const SampleIdentity &sample_id)

Copy constructor.

inline SampleIdentity(SampleIdentity &&sample_id)

Move constructor.

inline SampleIdentity &operator=(const SampleIdentity &sample_id)

Assignment operator.

inline SampleIdentity &operator=(SampleIdentity &&sample_id)

Move constructor.

inline bool operator==(const SampleIdentity &sample_id) const
inline bool operator!=(const SampleIdentity &sample_id) const
inline bool operator<(const SampleIdentity &sample) const

To allow using SampleIdentity as map key.

Parameters

sample

Returns

inline SampleIdentity &writer_guid(const GUID_t &guid)
inline SampleIdentity &writer_guid(GUID_t &&guid)
inline const GUID_t &writer_guid() const
inline GUID_t &writer_guid()
inline SampleIdentity &sequence_number(const SequenceNumber_t &seq)
inline SampleIdentity &sequence_number(SequenceNumber_t &&seq)
inline const SequenceNumber_t &sequence_number() const
inline SequenceNumber_t &sequence_number()

Public Static Functions

static inline SampleIdentity unknown()