Lodestone.Level
Loading...
Searching...
No Matches
ReflectiveProperties.h File Reference
Include dependency graph for ReflectiveProperties.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lodestone::level::properties::ReflectiveProperties

Namespaces

namespace  lodestone
namespace  lodestone::level
namespace  lodestone::level::properties

Macros

#define ADD_FIELD_PROPERTY(n, f)

Macro Definition Documentation

◆ ADD_FIELD_PROPERTY

#define ADD_FIELD_PROPERTY ( n,
f )
Value:
case n##_hash: \
return (typeid(decltype(f)) == typeid(f)) \
? std::make_unique< \
f) \
: nullptr
Definition TemplatedProperty.h:10
17#define ADD_FIELD_PROPERTY(n, f) \
18 case n##_hash: \
19 return (typeid(decltype(f)) == typeid(f)) \
20 ? std::make_unique< \
21 lodestone::level::properties::TemplatedProperty<decltype(f)>>( \
22 f) \
23 : nullptr