1 #ifndef NODE_HPP_INCLUDED
2 #define NODE_HPP_INCLUDED
20 #include <initializer_list>
21 #include <boost/any.hpp>
28 std::string varName =
"";
29 std::string varType =
"";
31 void* ptrData =
nullptr;
32 void* retPtr =
nullptr;
33 std::vector<int>* ipData =
nullptr;
34 std::vector<double>* dpData=
nullptr;
35 std::vector<std::string>* spData=
nullptr;
36 std::vector<int>* cpData =
nullptr;
37 std::map<int, std::string> categorySet;
38 std::vector<int> catVarData;
41 node(
int r, std::string vName, std::string vType,
int vNumber);
43 node(
int r, std::string vName, std::string vType,
int vNumber, std::map<int, std::string> catSet);
44 node(
int r, std::string vName, std::string vType,
int vNumber,
void* pvData);
60 void setNodeContent(
int r, std::string vName, std::string vType,
int vNumber,
void* pvData);
71 #endif // NODE_HPP_INCLUDED
void * getVarDataRange(int start, int ending)
Definition: node.cpp:141
int getVarNumber()
Definition: node.cpp:247
int getNRows()
Definition: node.cpp:255
void setVarName(std::string vName)
Definition: node.cpp:346
std::string getVarName()
Definition: node.cpp:230
void * getVarData()
Definition: node.cpp:202
void * getPtrData()
Definition: node.cpp:193
std::vector< int > getNodeCatData()
Definition: node.cpp:302
void setVarNumber(int vNumber)
Definition: node.cpp:500
std::vector< std::string > getNodeStrData()
Definition: node.cpp:289
std::vector< double > getNodeDblData()
Definition: node.cpp:276
void setVarData(void *pvData)
Definition: node.cpp:338
std::string toString()
Definition: node.cpp:562
std::string getVarType()
Definition: node.cpp:238
void setVarType(std::string vType)
Definition: node.cpp:355
void displayName_Type()
Definition: node.cpp:553
std::vector< int > getNodeIntData()
Definition: node.cpp:263
node()
Definition: node.cpp:57
void displayNode()
Definition: node.cpp:509
void setNodeContent(int r, std::string vName, std::string vType, int vNumber, void *pvData)
Definition: node.cpp:318
void setVarDataRows(int r)
Definition: node.cpp:330