#include "Object.h"
#include "Entry.h"
class Node: public Entry{
public:
//constructors
Node();
Node(int type,int size, Entry *entryArr[],Node *link);
public:
//abstract methods
virtual bool isFull();
virtual string toString();
//public methods
string toStringSimple();
Entry* insert(Entry *entry);
StudentRecord* treeSearch(int searchKey);
StudentRecord* leafSearch(int searchKey);
void insertIntoNode(Entry *entry);
//int getNumberOfInteriorNodes();
int splitIndex();
int depth();
//accessors and mutators
Node* getLink();
//static methods
static void setSizes(int m, int n);
private:
int type;
int size;
Entry *entryArr[];
Entry *entry;
Node *link;
int maxSize;
static const int LEAF = 0;
static const int INTERNAL = 1;
static const int MAX_INTERNAL_SIZE;
static const int MAX_LEAF_SIZE;
private:
//private methods
Entry* split();
friend class InteriorNode;
friend class LeafNode;
};
.......
'Entry' has not been declared
ISO C++ forbids declaration of Entry with no type