Displaying 1 result from an estimated 1 matches for "dpt_children".
Did you mean:
cat_children
2018 Feb 28
0
LLVM map to specific data model?
...de :
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;
};
//------------------------------
// Construct...