#include <functional>
#include "libecs.hpp"
#include "PropertiedClass.hpp"
#include "convertTo.hpp"
#include "Polymorph.hpp"
Include dependency graph for PropertySlot.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | libecs |
Classes | |
class | libecs::PropertySlotBase |
Base class for PropertySlot classes. More... | |
class | libecs::PropertySlot< T > |
class | libecs::ConcretePropertySlot< T, SlotType_ > |
class | libecs::LoadSaveConcretePropertySlot< T, SlotType_ > |
Defines | |
#define | _PROPERTYSLOT_SETMETHOD(TYPE) virtual void set ## TYPE( T& anObject, Param<TYPE>::type value ) = 0; |
#define | _PROPERTYSLOT_GETMETHOD(TYPE) virtual const TYPE get ## TYPE( const T& anObject ) const = 0; |
#define | _PROPERTYSLOT_SETMETHOD(TYPE) |
#define | _PROPERTYSLOT_GETMETHOD(TYPE) |
#define _PROPERTYSLOT_GETMETHOD | ( | TYPE | ) |
Value:
virtual const TYPE get ## TYPE( const T& anObject ) const\ {\ return getImpl<TYPE>( anObject );\ }
#define _PROPERTYSLOT_SETMETHOD | ( | TYPE | ) |
Value:
virtual void set ## TYPE( T& anObject, Param<TYPE>::type aValue )\ {\ setImpl( anObject, aValue );\ }