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,28 @@
#pragma once
#include "Reflection.h"
#include <iostream>
#include <string>
#include <typeinfo>
namespace B3D{
namespace Reflection{
class ReflectionDataTable;
template<typename 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(void);
~ReflectionProperty(void);
private:
std::string propertyName;
bool archivable;
bool locked;
bool propertyHidden;
ReflectionDataTable * containerTable;
};
}
}