Displaying 1 result from an estimated 1 matches for "dataproperty".
2018 Feb 28
0
LLVM map to specific data model?
...data schema that
describe the 'form' of the data. Here are some pseudo-code :
struct Data
{
vector<double> doubleValues;
vector<double> intValues;
vector<double> stringValues;
vector<Data> children;
};
enum class DataPropertyType
{
DPT_DOUBLE,
DPT_INT,
DPT_TEXT,
DPT_CHILDREN,
};
struct DataProperty
{
DataPropertyType type;
string name;
int index;
DataSchema* children = nullptr;
};
struct DataSchema
{
vector<DataPropert...