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

@@ -1,8 +1,8 @@
#include "Reflection\ReflectionDataTable.h"
#include "Reflection/ReflectionDataTable.h"
using namespace B3D::Reflection;
ReflectionDataTable::ReflectionDataTable(B3D::Instance::Instance * parentInstance, std::string className)
ReflectionDataTable::ReflectionDataTable(B3D::Instance * parentInstance, std::string className)
{
this->parentInstance = parentInstance;
this->className = className;

View File

@@ -1,23 +0,0 @@
#include "Reflection\ReflectionProperty.h"
using namespace B3D::Reflection;
template<typename T>
ReflectionProperty<T>::ReflectionProperty(T * value, ReflectionType type, ReflectionDataTable * containerTable, bool archivable = true, bool locked = false, bool propertyHidden = false)
{
this->value = value;
this->type = type;
this->containerTable = containerTable;
this->locked = locked;
this->archivable = archivable;
this->propertyHidden = propertyHidden;
}
template<typename T>
ReflectionProperty<T>::ReflectionProperty(void)
{
}
template<typename T>
ReflectionProperty<T>::~ReflectionProperty(void)
{
}