#include <parameterenum.h>
Public Member Functions | |
ParameterEnumBase (rtti::TypeInfo enumType) | |
virtual int | getValue () const =0 |
virtual void | setValue (int value)=0 |
const rtti::TypeInfo & | getEnumType () const |
![]() | |
virtual void | setValue (const Parameter &value)=0 |
const std::string | getDisplayName () const |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
std::string | mName |
Property 'Name': The name of this property. The name is separate from the ID and doesn't have to be unique. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Base class for enum parameters. This base is used to offer generic support for editing enums, without having to be aware of the specific enum types
ParameterEnumBase | ( | rtti::TypeInfo | enumType | ) |
const rtti::TypeInfo& getEnumType | ( | ) | const |
Get the RTTI type of the enum represented by this parameter
|
pure virtual |
Get the current value of this parameter as an int
Implemented in ParameterEnum< T >.
|
pure virtual |
Set the value of this enum from an int
value | The value to set |
Implemented in ParameterEnum< T >.