diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-10 11:59:16 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-10 11:59:16 +0100 |
commit | 8f9c3d8093cba3204e3ead853ee36820a201a1e7 (patch) | |
tree | 71caa7b13c47b1ac098920aee3f6e396c0801971 /oop2w1/ProcessFile.h | |
parent | ffae2cb77bfb3263146a2de0deedf6528d4df461 (diff) |
week 1 van oop2 klaar
Diffstat (limited to 'oop2w1/ProcessFile.h')
-rw-r--r-- | oop2w1/ProcessFile.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/oop2w1/ProcessFile.h b/oop2w1/ProcessFile.h new file mode 100644 index 0000000..983f2ed --- /dev/null +++ b/oop2w1/ProcessFile.h @@ -0,0 +1,25 @@ +#pragma once + +/* + * DO NOT ADAPT THIS FILE!!! + */ + + +#include <fstream> + +class ProcessFile +{ +public: + ProcessFile(); + virtual ~ProcessFile(); + +public: + virtual void process( std::ifstream& ); + +private: + enum GETAL { LONG=1, SHORT, DOUBLE, FLOAT }; + template <typename T> + void read_and_print(std::ifstream &file); +}; + +#include "ProcessFile.hpp" |