Fawkes API  Fawkes Development Version
constant.h
1 
2 /***************************************************************************
3  * constant.h - Interface generator constant representation
4  *
5  * Generated: Wed Oct 11 11:54:10 2006
6  * Copyright 2006 Tim Niemueller [www.niemueller.de]
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL file in the doc directory.
21  */
22 
23 #ifndef __INTERFACES_GENERATOR_CONSTANT_H_
24 #define __INTERFACES_GENERATOR_CONSTANT_H_
25 
26 #include <string>
27 
29 {
30  public:
31  InterfaceConstant(const std::string &name, const std::string &type,
32  const std::string &value, const std::string &comment);
33 
34  std::string getName();
35  std::string getValue();
36  std::string getType();
37  std::string getComment();
38 
39  private:
40  std::string name;
41  std::string type;
42  std::string value;
43  std::string comment;
44 };
45 
46 #endif
Interface generator internal representation of a constant as parsed from the XML template file...
Definition: constant.h:28
std::string getName()
Get name of constant.
Definition: constant.cpp:68
std::string getType()
Get type of constant.
Definition: constant.cpp:88
std::string getComment()
Get comment of constant.
Definition: constant.cpp:106
std::string getValue()
Get value of constant.
Definition: constant.cpp:78
InterfaceConstant(const std::string &name, const std::string &type, const std::string &value, const std::string &comment)
Constructor.
Definition: constant.cpp:43