43 Event(ObjectId objectId, const ::
sen::Event* event,
std::vector<uint8_t> buffer);
47 const ::
sen::Event* event_;
48 mutable
bool argsExtracted_ = false;
49 mutable
std::vector<
Var> args_;
50 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 ::sen::Event * getEvent() const noexcept
The meta information about the event.
Span< const uint8_t > getArgsAsBuffer() const noexcept
The list of arguments, as a (serialized) binary buffer.
friend class Input
Definition db/include/sen/db/event.h:42
ObjectId getObjectId() const noexcept
The ID of the object that emitted the event.
const std::vector< Var > & getArgsAsVariants() const
The list of arguments, as variants.
Definition annotation.h:20
Can hold any supported value type. Wraps std::variant to allow recursion and implements some helpers.
Definition var.h:119