Catos Engine (Source) 0.0.1
Lightweight Game engine
Loading...
Searching...
No Matches
catos::Property Class Referenceabstract

See PropertyImpl for details. More...

#include <registry.h>

Inherited by catos::PropertyImpl< T, U >.

Public Member Functions

virtual ~Property ()
 
virtual voidget_value (const void *obj_ptr)=0
 
virtual const charget_name ()=0
 
virtual const charget_type_name ()=0
 
virtual size_t & get_type_hash ()=0
 
virtual void set_name (const char *name)=0
 
virtual void registerToPy ()=0
 

Public Attributes

cstr desc = "NONE"
 

Detailed Description

See PropertyImpl for details.

Constructor & Destructor Documentation

◆ ~Property()

virtual catos::Property::~Property ( )
inlinevirtual

Stores an member pointer to a field of an type. NOTE see the PropertyImpl for further documentation

Member Function Documentation

◆ get_name()

virtual const char * catos::Property::get_name ( )
pure virtual

Implemented in catos::PropertyImpl< T, U >.

◆ get_type_hash()

virtual size_t & catos::Property::get_type_hash ( )
pure virtual

Implemented in catos::PropertyImpl< T, U >.

◆ get_type_name()

virtual const char * catos::Property::get_type_name ( )
pure virtual

Implemented in catos::PropertyImpl< T, U >.

◆ get_value()

virtual void * catos::Property::get_value ( const void * obj_ptr)
pure virtual

Implemented in catos::PropertyImpl< T, U >.

◆ registerToPy()

virtual void catos::Property::registerToPy ( )
pure virtual

Implemented in catos::PropertyImpl< T, U >.

◆ set_name()

virtual void catos::Property::set_name ( const char * name)
pure virtual

Implemented in catos::PropertyImpl< T, U >.

Member Data Documentation

◆ desc

cstr catos::Property::desc = "NONE"

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