+
+ if (dynamic_cast<BTreeChildData *>(data)) {
+ data_type.set_label ("Tipo : BTreeChildData");
+ data_key.set_label ("");
+
+ std::string s4;
+ std::stringstream ss4;
+ ss4 << data->getChild ();
+ ss4 >> s4;
+ data_child.set_label ("Hijo Izquierdo : " + s4);
+ } else if (dynamic_cast<BTreeLeafData *>(data)) {
+ data_type.set_label ("Tipo : BTreeLeafData");
+ data_child.set_label ("");
+
+ std::string s4 = *(data->getClave ());
+ data_child.set_label ("Clave : " + s4);
+ } else {
+ data_type.set_label ("Tipo : BTreeData");
+
+ std::string s4;
+ std::stringstream ss4;
+ ss4 << data->getChild ();
+ ss4 >> s4;
+ data_child.set_label ("Hijo Derecho : " + s4);
+
+ std::string s5 = *(data->getClave ());
+ data_key.set_label ("Clave : " + s5);
+ }