Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getOrigin()

template<typename Key, typename Value, typename UpdateTag>
const std::string & DataStorm::Sample< Key, Value, UpdateTag >::getOrigin ( ) const
nodiscardnoexcept

Gets the origin of the sample.

The origin of the sample identifies uniquely on the node the writer that created the sample. It's the name of the writer if a name was explicitly provided on creation of the writer. Otherwise, if no name was provided, an unique identifier is generated by DataStorm.

Returns
The origin of the sample.

Definition at line 912 of file DataStorm.h.