aboutsummaryrefslogtreecommitdiff
path: root/oop2w1/ProcessFile.h
blob: 983f2edc97ca506825d809b43de37105d55a38dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"