Reflection stub

This commit is contained in:
Vulpovile
2023-11-03 22:56:09 -07:00
parent 061fc1e564
commit 25d34d28ee
9 changed files with 2287 additions and 134 deletions

View File

@@ -0,0 +1,22 @@
#include "Reflection\ReflectionDataTable.h"
using namespace B3D::Reflection;
ReflectionDataTable::ReflectionDataTable(B3D::Instance::Instance * parentInstance, std::string className)
{
this->parentInstance = parentInstance;
this->className = className;
}
ReflectionDataTable::ReflectionDataTable(void)
{
}
ReflectionDataTable::~ReflectionDataTable(void)
{
}
std::string ReflectionDataTable::getClassName(void)
{
return className;
}

View File

@@ -0,0 +1,23 @@
#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)
{
}