DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
Deki::PropertyBinding Struct Reference

A resolved PropertyRef: where the field lives and what it is. More...

#include <deki/reflection/PropertyRef.h>

Public Member Functions

bool IsBound () const
bool IsTransform () const

Public Attributes

void * field = nullptr
const FieldRef * info = nullptr
double number = 0.0
double number2 = 0.0
Object * object = nullptr
TransformField transform = TransformField::None

Detailed Description

A resolved PropertyRef: where the field lives and what it is.

Must stay plain old data: callers keep it in zero-initialized scratch memory (e.g. an FSM action's per-run state), so it must survive a memset to zero and own nothing.

Member Function Documentation

◆ IsBound()

bool Deki::PropertyBinding::IsBound ( ) const
inline

◆ IsTransform()

bool Deki::PropertyBinding::IsTransform ( ) const
inline

Member Data Documentation

◆ field

void* Deki::PropertyBinding::field = nullptr

◆ info

const FieldRef* Deki::PropertyBinding::info = nullptr

◆ number

double Deki::PropertyBinding::number = 0.0

◆ number2

double Deki::PropertyBinding::number2 = 0.0

◆ object

Object* Deki::PropertyBinding::object = nullptr

◆ transform

TransformField Deki::PropertyBinding::transform = TransformField::None

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