Class WriteParams

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.

inline WriteParams &related_sample_identity(const SampleIdentity &sample_id)

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.

inline WriteParams &related_sample_identity(SampleIdentity &&sample_id)

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.

inline const SampleIdentity &related_sample_identity() const

Get the value of the related_sample_identity member.

Returns

Constant reference to the related_sample_identity member.

inline SampleIdentity &related_sample_identity()

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 &timestamp)

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 &&timestamp)

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: