8#ifndef SEN_DB_ANNOTATION_H
9#define SEN_DB_ANNOTATION_H
27 SEN_COPY_MOVE(Annotation)
49 mutable
bool variantExtracted_ = false;
51 std::vector<uint8_t> buffer_;
Contiguous view of elements of type T. Inspired by http://www.open-std.org/jtc1/sc22/wg21/docs/papers...
Definition span.h:34
const Var & getValueAsVariant() const
The annotation content, as a variant. Contents of the variant are obtained by interpreting the buffer...
friend class Input
Definition annotation.h:44
Span< const uint8_t > getValueAsBuffer() const noexcept
The annotation content, as a buffer.
const ConstTypeHandle & getType() const noexcept
The data type of the annotation value.
TypeHandle< const T > ConstTypeHandle
Definition type.h:319
Definition annotation.h:20
Can hold any supported value type. Wraps std::variant to allow recursion and implements some helpers.
Definition var.h:119