commit 99bdc52c3f0d251b8f894c8949d49fb16158b40c parent 63571536a9d908b8c55f55d069633f7906bcee33 Author: Martin Kloeckner <mjkloeckner@gmail.com> Date: Wed, 19 Jun 2024 22:25:43 -0300 remove files from tda `Linea` these files are no longer needed since on previous commits we started using `std::vector` Diffstat:
| D | linea.cpp | | | 17 | ----------------- |
| D | linea.h | | | 35 | ----------------------------------- |
2 files changed, 0 insertions(+), 52 deletions(-) diff --git a/linea.cpp b/linea.cpp @@ -1,17 +0,0 @@ -#include "linea.h" - -Linea::Linea(int numero, bool sentido) { - this->numero = numero; - this->sentido = sentido; -} - -int Linea::getNumero() { - return this->numero; -} - -bool Linea::getSentido() { - return this->sentido; -} - -Linea::~Linea() {} - diff --git a/linea.h b/linea.h @@ -1,35 +0,0 @@ -#ifndef LINEA_H_ -#define LINEA_H_ - -#include <string> - -class Linea { -private: - int numero; - bool sentido; - -public: - /* - * pre: Recibe como parametro el numero y el sentido de la linea - * post: crea la clase Linea con su numero y sentido - */ - Linea(int numero, bool sentido); - - /* - * post: Devuelve el numero de la linea - */ - int getNumero(); - - /* - * post: Devuelve el sentido de la linea - */ - bool getSentido(); - - - /* - * post: Elimina la linea - */ - virtual ~Linea(); -}; - -#endif /* LINEA_H_ */
