// Class automatically generated by Dev-C++ New Class wizard #ifndef NODELIBRARY_H #define NODELIBRARY_H #include "node.h" //for testing #include #include #include using namespace std; /* * No description */ class nodeLibrary { public: // class constructor nodeLibrary(); nodeLibrary(char rtN[20]); // class destructor ~nodeLibrary(); int findNode(char *name); int numNodes; //Number of nodes in the library void addInput(Node *a, Node *b); //node A gets input from node B void addInput(Node *a, Node *b, float w); //node A gets input from node B void addNode(Node *adding); void showOut(Node *show); void showIn(Node *show); void givePoint(); void getPoint(); Node *library[999]; //moved from public char rootName[20]; void save(); void load(); protected: int nodeCount; Node lib[999]; }; #endif // NODELIBRARY_H