Class WriteParams
Defined in File WriteParams.h
Class Documentation
-
class WriteParams
This class contains additional information of a CacheChange.
Public Functions
-
inline WriteParams &sample_identity(const SampleIdentity &sample_id)
Set the value of the sample_identity member.
- Parameters
sample_id – New value for the sample_identity member.
- Returns
Reference to the modified object in order to allow daisy chaining.
-
inline WriteParams &sample_identity(SampleIdentity &&sample_id)
Set the value of the sample_identity member.
- Parameters
sample_id – New value for the sample_identity member.
- Returns
Reference to the modified object in order to allow daisy chaining.
-
inline const SampleIdentity &sample_identity() const
Get the value of the sample_identity member.
- Returns
Constant reference to the sample_identity member.
-
inline SampleIdentity &sample_identity()
Set the value of the sample_identity member.
- Returns
Reference to the sample_identity member.
Set the value of the related_sample_identity member of this class.
- Parameters
sample_id – New value for the related_sample_identity member.
- Returns
Reference to the modified object in order to allow daisy chaining.
Set the related_sample_identity member of this class.
- Parameters
sample_id – New value for the related_sample_identity member.
- Returns
Reference to the modified object in order to allow daisy chaining.
Get the value of the related_sample_identity member.
- Returns
Constant reference to the related_sample_identity member.
Set the value of the related_sample_identity member.
- Returns
Reference to the related_sample_identity member.
-
inline Time_t source_timestamp() const
Get the value of the source_timestamp member.
- Returns
Current value of the source_timestamp member.
-
inline Time_t &source_timestamp()
Set the value of the source_timestamp member.
- Returns
Reference to the source_timestamp member.
-
inline WriteParams &source_timestamp(const Time_t ×tamp)
Set the source_timestamp member of this class.
- Parameters
timestamp – New value for the source_timestamp member.
- Returns
Reference to the modified object in order to allow daisy chaining.
-
inline WriteParams &source_timestamp(Time_t &×tamp)
Set the source_timestamp member of this class.
- Parameters
timestamp – New value for the source_timestamp member.
- Returns
Reference to the modified object in order to allow daisy chaining.
Public Static Attributes
-
static WriteParams WRITE_PARAM_DEFAULT
Default value for methods receiving a WriteParams.
Will contain the following values on its members:
sample_identity: Invalid SampleIdentity
related_sample_identity: Invalid SampleIdentity
source_timestamp: Invalid Time_t
-
inline WriteParams &sample_identity(const SampleIdentity &sample_id)