Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::db::PropertyChange Class Reference

Represents the change of a property value. More...

#include <property_change.h>

Public Member Functions

 ~PropertyChange ()=default
ObjectId getObjectId () const noexcept
 The ID of the object that holds the property.
const PropertygetProperty () const noexcept
 The meta information of the property.
Span< const uint8_t > getValueAsBuffer () const noexcept
 The property value as a serialized buffer.
const VargetValueAsVariant () const
 The property value as a variant.

Friends

class Input

Detailed Description

Represents the change of a property value.

Constructor & Destructor Documentation

◆ ~PropertyChange()

sen::db::PropertyChange::~PropertyChange ( )
default

Member Function Documentation

◆ getObjectId()

ObjectId sen::db::PropertyChange::getObjectId ( ) const
nodiscardnoexcept

The ID of the object that holds the property.

◆ getProperty()

const Property * sen::db::PropertyChange::getProperty ( ) const
nodiscardnoexcept

The meta information of the property.

◆ getValueAsBuffer()

Span< const uint8_t > sen::db::PropertyChange::getValueAsBuffer ( ) const
nodiscardnoexcept

The property value as a serialized buffer.

◆ getValueAsVariant()

const Var & sen::db::PropertyChange::getValueAsVariant ( ) const
nodiscard

The property value as a variant.

◆ Input

friend class Input
friend

The documentation for this class was generated from the following file: