preprocessor.h

来自「用data miming技术进行false prediction」· C头文件 代码 · 共 38 行

H
38
字号
#ifndef PREPROCESSOR_H
#define PREPROCESSOR_H

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdlib>

#include "boost/date_time/posix_time/posix_time.hpp"
#include "boost/algorithm/string.hpp"
#include "boost/lexical_cast.hpp"

#include "Record.h"
#include "AppException.h"

using namespace std;
using namespace boost::gregorian;
using namespace boost::posix_time;
using namespace boost;

class Preprocessor {
    private:
        vector<Record>* fatalList;
        vector<Record>* nonFatalList;
        void initializeRecordList(const char* fileName) throw(AppException);
        void init();

    public:
        Preprocessor();
        ~Preprocessor();
        vector<Record>* getFatalList() const;
        vector<Record>* getNonFatalList() const;

};

#endif /* PREPROCESSOR_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?