void AddKey (const Clave &k);
void DelKey (const Clave &k);
- private:
+ protected:
Clave* AddKeyR (const Clave *k, uint node_num, uint &left_child, uint &right_child);
void WriteFileHeader ();
void ReadNodoHeader (uchar *node, BTreeNodeHeader *header);
void WriteNodoHeader (uchar *node, BTreeNodeHeader *header);
- std::list<BTreeData> ReadKeys (uchar *node, BTreeNodeHeader &node_header);
- void WriteKeys (uchar *node, BTreeNodeHeader &node_header, std::list<BTreeData> &keys);
+ std::list<BTreeData *> ReadKeys (uchar *node, BTreeNodeHeader &node_header);
+ void WriteKeys (uchar *node, BTreeNodeHeader &node_header, std::list<BTreeData *> &keys);
std::string filename;
BTreeFileHeader header;