libdballe
6.8
Main Page
Modules
Data Structures
Files
File List
Globals
dballe
core
varmatch.h
1
/*
2
* core/varmatch - Variable matcher
3
*
4
* Copyright (C) 2013 ARPA-SIM <urpsim@smr.arpa.emr.it>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
*
19
* Author: Enrico Zini <enrico@enricozini.com>
20
*/
21
22
#ifndef DBA_CORE_VARMATCH_H
23
#define DBA_CORE_VARMATCH_H
24
25
#include <memory>
26
#include <wreport/var.h>
27
28
namespace
dballe
{
29
30
struct
Varmatch
31
{
32
wreport::Varcode code;
33
34
Varmatch
(wreport::Varcode code);
35
virtual
~
Varmatch
() {}
36
37
virtual
bool
operator()(
const
wreport::Var&)
const
;
38
39
static
std::auto_ptr<Varmatch> parse(
const
std::string& filter);
40
};
41
42
}
43
44
#endif
dballe::Varmatch
Definition:
varmatch.h:30
dballe
Definition:
cmdline.h:34
Generated by
1.8.9.1