DirectZ
Loading...
Searching...
No Matches
Reflectable Struct Referenceabstract

#include <Reflectable.hpp>

Inheritance diagram for Reflectable:
dz::Camera::CameraOrthographicReflectable dz::Camera::CameraPerspectiveReflectable dz::Camera::CameraTypeReflectable dz::Camera::CameraViewReflectable dz::ecs::ColorComponent::ColorComponentReflectable dz::ecs::Entity::EntityTransformReflectable dz::ecs::IComponent dz::ecs::LightMetaReflectable

Public Member Functions

virtual ~Reflectable ()=default
virtual int GetID ()=0
virtual std::string & GetName ()=0
virtual ReflectableTypeHint GetTypeHint ()
virtual int GetPropertyIndexByName (const std::string &prop_name)=0
virtual const std::vector< std::string > & GetPropertyNames ()=0
virtual void * GetVoidPropertyByIndex (int prop_index)=0
virtual void * GetVoidPropertyByName (const std::string &prop_name)=0
virtual const std::vector< const std::type_info * > & GetPropertyTypeinfos ()=0
template<typename T>
T & GetPropertyByIndex (int prop_index)
template<typename T>
T & GetPropertyByName (const std::string &prop_name)
virtual void NotifyChange (int prop_index)
virtual const std::vector< bool > & GetDisabledProperties ()

Constructor & Destructor Documentation

◆ ~Reflectable()

virtual Reflectable::~Reflectable ( )
virtualdefault

Member Function Documentation

◆ GetDisabledProperties()

virtual const std::vector< bool > & Reflectable::GetDisabledProperties ( )
inlinevirtual

◆ GetID()

◆ GetName()

◆ GetPropertyByIndex()

template<typename T>
T & Reflectable::GetPropertyByIndex ( int prop_index)
inline

◆ GetPropertyByName()

template<typename T>
T & Reflectable::GetPropertyByName ( const std::string & prop_name)
inline

◆ GetPropertyIndexByName()

virtual int Reflectable::GetPropertyIndexByName ( const std::string & prop_name)
pure virtual

◆ GetPropertyNames()

virtual const std::vector< std::string > & Reflectable::GetPropertyNames ( )
pure virtual

◆ GetPropertyTypeinfos()

virtual const std::vector< const std::type_info * > & Reflectable::GetPropertyTypeinfos ( )
pure virtual

◆ GetTypeHint()

virtual ReflectableTypeHint Reflectable::GetTypeHint ( )
inlinevirtual

◆ GetVoidPropertyByIndex()

◆ GetVoidPropertyByName()

virtual void * Reflectable::GetVoidPropertyByName ( const std::string & prop_name)
pure virtual

◆ NotifyChange()


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