Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #ifndef CUBA_H
  2. #define CUBA_H
  3.  
  4. #include <iostream>
  5. #include "Bloque.h"
  6. #include "RegistroIndice.h"
  7.  
  8. using namespace std;
  9.  
  10. class Cuba:
  11. public Bloque
  12. {
  13. public:
  14. Cuba();
  15.  
  16. Cuba(long int tamanioBloque);
  17.  
  18. virtual ~Cuba();
  19.  
  20. unsigned int getProfundidad() const;
  21. void setProfundidad(const unsigned int & profundidad);
  22. void incrementarProfundidad();
  23. void decrementarProfundidad();
  24. bool puedeAgregar(const Registro * registro) const;
  25. virtual void agregarRegistro(Registro * registro);
  26. bool combinar(Cuba &cuba); //TODO: implementar
  27. //Cuba* dividir(const IndiceHashExtensible &indiceHash); //TODO: implementar
  28.  
  29.  
  30.  
  31. private:
  32. unsigned int profundidad;
  33.  
  34. virtual string especializarSerializar() const;
  35. virtual void especializarHidratar(stringstream & s);
  36. };
  37. #endif /* CUBA_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement