MDAT
1.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Pages
checker.h
Go to the documentation of this file.
1
9
/* Copyright (C) 2013 Eric Larson and Rochelle Palting
10
elarson@seattleu.edu
11
12
This file is part of the MDAT infrastructure.
13
14
This program is free software: you can redistribute it and/or modify
15
it under the terms of the GNU General Public License as published by
16
the Free Software Foundation, either version 3 of the License, or
17
(at your option) any later version.
18
19
This program is distributed in the hope that it will be useful,
20
but WITHOUT ANY WARRANTY; without even the implied warranty of
21
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
GNU General Public License for more details.
23
24
You should have received a copy of the GNU General Public License
25
along with this program. If not, see <http://www.gnu.org/licenses/>.
26
*/
27
28
#ifndef CHECKER_H
29
#define CHECKER_H
30
31
#include <string>
32
using namespace
std;
33
34
#include "
mdat.h
"
35
82
class
CheckerWrapper
83
{
84
public
:
85
93
void
init(
CheckerFuncPtr
fn);
94
104
void
invoke(
int
id
,
string
section);
105
106
private
:
107
108
CheckerFuncPtr
checkerFn;
// checker callback function
109
};
110
114
extern
CheckerWrapper
checker
;
115
116
#endif
checker.h
Generated by
1.8.4