8 #include "clave_fija.h"
10 /** Dato a guardar en los nodos */
13 BTreeData () { clave = NULL; }
14 BTreeData (uchar *node);
15 virtual ~BTreeData ();
18 virtual uchar *ToArray ();
21 bool operator < (const BTreeData &data) const;
22 virtual operator std::string () const {
33 /** Dato a guardar en las hojas */
34 class BTreeLeafData:public BTreeData {
36 BTreeLeafData (Clave *k):BTreeData () { clave = k; }
37 BTreeLeafData (uchar *node) { clave = new ClaveFija (node); }
38 virtual ~BTreeLeafData ();
41 virtual uchar *ToArray ();