xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
Loading...
Searching...
No Matches
xentara::workbench::bindings::UuidEdit Class Referencefinal

An editor for a UUID. More...

#include <xentara/workbench/bindings/UuidEdit.hpp>

+ Inheritance diagram for xentara::workbench::bindings::UuidEdit:

Classes

struct  Options
 Options for the binding. More...
 

Public Member Functions

template<Bindable< utils::core::Uuid > Property>
 UuidEdit (PropertyController &propertyController, Property &property, Options options)
 Constructor that accesses the variable holding a property’s value directly.
 
template<typename Object , Getter< utils::core::Uuid, Object > GetterType, Setter< utils::core::Uuid, Object > SetterType>
 UuidEdit (const PropertyHandle &property, Object &object, GetterType get, SetterType set, Options options)
 Constructor that uses a getter and setter to access a property.
 

Detailed Description

An editor for a UUID.

Constructor & Destructor Documentation

◆ UuidEdit() [1/2]

template<Bindable< utils::core::Uuid > Property>
xentara::workbench::bindings::UuidEdit::UuidEdit ( PropertyController propertyController,
Property &  property,
Options  options 
)

Constructor that accesses the variable holding a property’s value directly.

Attention
This constructor can only be used for address-based properties.
Parameters
propertyControllerThe property controller that manages the property
propertyA reference to the variable holding the property’s value.
optionsThe binding options

◆ UuidEdit() [2/2]

template<typename Object , Getter< utils::core::Uuid, Object > GetterType, Setter< utils::core::Uuid, Object > SetterType>
xentara::workbench::bindings::UuidEdit::UuidEdit ( const PropertyHandle property,
Object &  object,
GetterType  get,
SetterType  set,
Options  options 
)

Constructor that uses a getter and setter to access a property.

Parameters
propertyA handle to the bound property
objectThe object on which the getter and setter should be called
getThe getter function
setThe setter function
optionsThe binding options