Files
Blocks3D/src/include/Reflection/ReflectionProperty.h
2023-11-03 23:56:59 -07:00

31 lines
702 B
C++

#pragma once
#include "Reflection.h"
#include <iostream>
#include <string>
#include <typeinfo>
namespace B3D{
namespace Reflection{
class ReflectionDataTable;
template<class T>
class ReflectionProperty
{
public:
T * value;
ReflectionType type;
ReflectionProperty(T * value, ReflectionType type, ReflectionDataTable * containerTable);
ReflectionProperty(void);
~ReflectionProperty(void);
private:
std::string propertyName;
bool archivable;
bool locked;
bool propertyHidden;
ReflectionDataTable * containerTable;
};
}
}
//***really*** wanted to avoid implementing this inside of the header
#include "ReflectionProperty_imp.h"