X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/1f2e83ab78a55bc0730bdd507c4fd64482fb0846..c2a1184ee0eb1c3638592a786e93fbf4b6f53493:/viewer/view_properties.cpp diff --git a/viewer/view_properties.cpp b/viewer/view_properties.cpp index c10bbae..65f782f 100644 --- a/viewer/view_properties.cpp +++ b/viewer/view_properties.cpp @@ -78,25 +78,26 @@ void ViewProperties::ShowItem (BTreeData *data, BTreeNodeHeader &header) std::string s4; std::stringstream ss4; - ss4 << data->getChild (); + ss4 << data->GetChild (); ss4 >> s4; data_child.set_label (s4); } else if (dynamic_cast(data)) { data_type.set_label ("BTreeLeafData"); data_child.set_label ("N/C"); - std::string s4 = *(data->getClave ()); + std::string s4 = *(data->GetKey ()); + std::cout << "----> " << s4 << std::endl; data_key.set_label (s4); } else { data_type.set_label ("BTreeData"); std::string s4; std::stringstream ss4; - ss4 << data->getChild (); + ss4 << data->GetChild (); ss4 >> s4; data_child.set_label (s4); - std::string s5 = *(data->getClave ()); + std::string s5 = *(data->GetKey ()); data_key.set_label (s5); } }