Displaying 1 result from an estimated 1 matches for "dpt_double".
Did you mean:
opt_double
2018 Feb 28
0
LLVM map to specific data model?
...'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<DataProperty> properties;
};
...