#ifndef MIND_NODE_H_ #define MIND_NODE_H_ #include #include using std::string; using std::vector; class MindNode { private: // The parent of this node in the tree MindNode* m_parent; // The first child of this node in the tree MindNode* m_first_child; // The next node with the same parent in the tree MindNode* m_next_node; // ID of the node string m_id; // Content of the node string m_text; // Link of the node string m_link; // Array of all icons in this node vector m_icons; public: // Default Constructor & Destructor MindNode(); ~MindNode(); // Getters MindNode* getParent() const; MindNode* getFirstChild() const; MindNode* getNextNode() const; string getID() const; string getText() const; string getLink() const; vector getIcons() const; // Setters void setParent(MindNode* _parent); void setFirstChild(MindNode* _first_child); void setNextNode(MindNode* _next_node); void setID(string& _id); void setText(string& _text); void setLink(string& _link); void addIcon(string& _icon); }; #endif // MIND_NODE_H_