X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/6eca7410b5a4c3c5225d852dd1d1ce9b74a7f4cd..a857f3426b101f330a2d7baef64b2ff1f1e39bac:/src/btree_data.h diff --git a/src/btree_data.h b/src/btree_data.h index 5bbfc27..db8ecc1 100644 --- a/src/btree_data.h +++ b/src/btree_data.h @@ -20,8 +20,10 @@ class BTreeData { Clave* getClave () { return clave; } uint getChild () { return hijo; } + void setChild (uint c) { hijo = c; } bool operator < (const BTreeData &data) const; + bool operator == (const BTreeData &data) const; virtual operator std::string () const { std::string out = (*clave); std::stringstream ss;