NEST  2.6.0,not_revisioned_source_dir@0
parserdatum.h
Go to the documentation of this file.
1 /*
2  * parserdatum.h
3  *
4  * This file is part of NEST.
5  *
6  * Copyright (C) 2004 The NEST Initiative
7  *
8  * NEST is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * NEST is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with NEST. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef PARSERDATUM_H
24 #define PARSERDATUM_H
25 
26 #include "aggregatedatum.h"
27 #include "interpret.h"
28 #include "parser.h"
29 
30 class ParserDatum: public AggregateDatum<Parser,&SLIInterpreter::Parsertype>
31 {
32  Datum * clone(void) const
33  {
34  return new ParserDatum(*this);
35  }
36 
38  {
40  }
41 
42 public:
44  AggregateDatum<Parser,&SLIInterpreter::Parsertype>(Parser(s))
45  {
47  }
48 
49 };
50 
51 #endif
void set_executable()
Definition: datum.h:113
Definition: parserdatum.h:30
Datum * clone(void) const
Virtual copy constructor.
Definition: parserdatum.h:32
ParserDatum(Scanner *s)
Definition: parserdatum.h:43
Definition: aggregatedatum.h:53
Scanner * s
Definition: parser.h:39
Definition: scanner.h:38
Definition: interpret.h:69
ParserDatum(void)
Definition: parserdatum.h:37
Definition: datum.h:33
Definition: parser.h:37