30 template <
typename ValueType>
31 Label(
const std::string &
id, ValueType &&data,
const unsigned long long index);
54 bool operator<(
const Label &other)
const;
57 template<
class Archive>
58 void serialize(Archive & ar,
const unsigned int version);
79 template <
typename IterType>
83 template <
typename RangeType>
99 template <
typename ValueType>
102 data(
Object(std::forward<ValueType>(data))),
115 return this->index < other.
index;
118 template <
typename IterType>
120 _begin(begin), _end(end)
125 template <
typename RangeType>
127 _begin(range.data()), _end(range.data() + range.size())
const_iterator end(void) const
Get the end of the iterator range (exclusive)
Definition: Label.hpp:137
#define POTHOS_API
Definition: Config.hpp:41
const Label * const_iterator
Const Label iterator type.
Definition: Label.hpp:73
unsigned long long index
Definition: Label.hpp:51
bool operator<(const Label &other) const
support for sorting Labels by index
Definition: Label.hpp:113
bool operator==(const ManagedBuffer &lhs, const ManagedBuffer &rhs)
Definition: ManagedBuffer.hpp:132
Label(void)
Create an empty label with null data and zero index.
Definition: Object.hpp:55
void serialize(Archive &, Pothos::Detail::ObjectContainer &, const unsigned int)
Definition: Serialize.hpp:46
Object data
Definition: Label.hpp:44
std::string id
Definition: Label.hpp:39
const_iterator begin(void) const
Get the begining of the iterator range (inclusive)
Definition: Label.hpp:132
LabelIteratorRange(void)
Create an empty/invalid LabelIteratorRange.