Fixed template

This commit is contained in:
Vulpovile
2023-11-03 23:56:59 -07:00
parent 25d34d28ee
commit 26398f0586
7 changed files with 245 additions and 16 deletions

View File

@@ -8,13 +8,13 @@ namespace B3D{
namespace Reflection{
class ReflectionDataTable;
template<typename T>
template<class T>
class ReflectionProperty
{
public:
T * value;
ReflectionType type;
ReflectionProperty(T * value, ReflectionType type, ReflectionDataTable * containerTable, bool archivable = true, bool locked = false, bool propertyHidden = false);
ReflectionProperty(T * value, ReflectionType type, ReflectionDataTable * containerTable);
ReflectionProperty(void);
~ReflectionProperty(void);
private:
@@ -25,4 +25,7 @@ namespace B3D{
ReflectionDataTable * containerTable;
};
}
}
}
//***really*** wanted to avoid implementing this inside of the header
#include "ReflectionProperty_imp.h"