summaryrefslogtreecommitdiffstats
path: root/2022-2/L10/mitsuo/Marca.h
diff options
context:
space:
mode:
Diffstat (limited to '2022-2/L10/mitsuo/Marca.h')
-rw-r--r--2022-2/L10/mitsuo/Marca.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/2022-2/L10/mitsuo/Marca.h b/2022-2/L10/mitsuo/Marca.h
new file mode 100644
index 0000000..3eabb66
--- /dev/null
+++ b/2022-2/L10/mitsuo/Marca.h
@@ -0,0 +1,28 @@
+/*
+ * File: Marca.h
+ * Author: mitsuo
+ *
+ * Created on 02 December 2022, 12:36
+ */
+
+#ifndef MARCA_H
+#define MARCA_H
+
+#include "Medicamento.h"
+
+class Marca : public Medicamento {
+public:
+ Marca();
+ Marca(const Marca& orig);
+ virtual ~Marca();
+
+ int lee(std::istream &input);
+ void imprime(std::ostream &output);
+ void actualiza(std::istream &input);
+private:
+ int lote;
+ char * laboratorio;
+};
+
+#endif /* MARCA_H */
+