Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | List of all members
OvEditor::Settings::EditorSettings::Property< T > Class Template Reference

#include <EditorSettings.h>

Public Member Functions

 Property (T p_value)
 
T & operator= (T p_value)
 
void Set (T p_value)
 
 operator T ()
 
Get () const
 

Public Attributes

OvTools::Eventing::Event< T > OnValueChanged
 

Constructor & Destructor Documentation

◆ Property()

template<typename T>
OvEditor::Settings::EditorSettings::Property< T >::Property ( p_value)
inline

Creates the property with a default value

Parameters
p_value

Member Function Documentation

◆ Get()

template<typename T>
T OvEditor::Settings::EditorSettings::Property< T >::Get ( ) const
inline

Returns the value of the property

◆ operator T()

template<typename T>
OvEditor::Settings::EditorSettings::Property< T >::operator T ( )
inline

◆ operator=()

template<typename T>
T& OvEditor::Settings::EditorSettings::Property< T >::operator= ( p_value)
inline

Assign a new value to the property

Parameters
p_value

◆ Set()

template<typename T>
void OvEditor::Settings::EditorSettings::Property< T >::Set ( p_value)
inline

Assign a new valeu to the property

Parameters
p_value

Member Data Documentation

◆ OnValueChanged

template<typename T>
OvTools::Eventing::Event<T> OvEditor::Settings::EditorSettings::Property< T >::OnValueChanged

Event called when the property value changes


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