std::string RegistroVariable::mostrar_campo(TamanioCampos numeroCampo){ if(buffer==NULL) return "***"; if(this->fue_eliminado()) return "REGISTRO_ELIMINADO"; if(numeroCampo >= this->get_cantidad_campos()) return "***"; const TamanioCampos TAMANIO_CAMPO= this->get_tamanio_campo(numeroCampo); char* campo= new char[TAMANIO_CAMPO](); this->recuperar_campo(campo,numeroCampo); string retornar(campo,TAMANIO_CAMPO); delete[] campo; return retornar; }
void Table::retornar_encima (Block *b) { while (!b->is_final()) retornar (b->up); }