X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/78d8bc6c001cb877d8c7daf3868835815a97ce21..2c1d3ea3cf9a25e8f957587d4a1581fc292c831b:/src/btree.h diff --git a/src/btree.h b/src/btree.h index b001bef..467ed6f 100644 --- a/src/btree.h +++ b/src/btree.h @@ -93,6 +93,8 @@ class BTree { void DelKey (const Clave &k); private: + Clave* AddKeyR (const Clave *k, uint node_num); + void WriteFileHeader (); void WriteBlock (uchar *block, uint num); @@ -101,8 +103,8 @@ class BTree { void ReadNodoHeader (uchar *node, BTreeNodeHeader *header); void WriteNodoHeader (uchar *node, BTreeNodeHeader *header); - std::list ReadKeys (uchar *node, BTreeNodeHeader &node_header); - void WriteKeys (uchar *node, BTreeNodeHeader &node_header, std::list &keys); + std::list ReadKeys (uchar *node, BTreeNodeHeader &node_header); + void WriteKeys (uchar *node, BTreeNodeHeader &node_header, std::list &keys); std::string filename; BTreeFileHeader header;