Debian Codegraph @

rudeconfig/src/RealOrganiser.h

raw
1 // RealOrganiser.h
2 //
3 // Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Matthew Flood
4 // See file AUTHORS for contact information
5 //
6 // This file is part of RudeConfig.
7 //
8 // RudeConfig 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, or (at your option)
11 // any later version.
12 //
13 // RudeConfig 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 RudeConfig; (see COPYING) if not, write to the Free Software
20 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21 // 02111-1307, USA.
22 //------------------------------------------------------------------------
23
24 #ifndef INPUT_RealOrganiser_h
25 #define INPUT_RealOrganiser_h
26
27 #include "AbstractOrganiser.h"
28
29 #include <string>
30
31 namespace rude{
32 namespace config{
33
34 class File;
35 class Section;
36
37 class RealOrganiser: public AbstractOrganiser
38 {
39 File *d_file;
40 Section *d_section;
41
42 public:
43
44 RealOrganiser(File*);
45
46 virtual void foundSection(const char *sectionName, const char *comment);
47 virtual void foundComment(const char *comment);
48 virtual void foundWhiteSpace(const char *whitespace);
49 virtual void foundData(const char *key, const char *value, const char *comment);
50 /* remedius
51 * two more parameters: commType and procMethod were added due to the runtime opportunity
52 * of choosing communication type and pre-/post-processing method.
53 */
54 virtual void foundSourceDest(const char *srcApp, const char *srcObj, const char *destApp, const char *destObj,
55 const char *width, const char *commType, const char *procMethod, const char *comment);
56
57
58 };
59
60 }} // end namespaces
61
62 #endif
63