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{
30public:
31 InterfaceConstant(const std::string &name,
32 const std::string &type,
33 const std::string &value,
34 const std::string &comment);
35
36 std::string getName();
37 std::string getValue();
38 std::string getType();
39 std::string getComment();
40
41private:
42 std::string name;
43 std::string type;
44 std::string value;
45 std::string comment;
46};
47
48#endif
Interface generator internal representation of a constant as parsed from the XML template file.
Definition: constant.h:29
InterfaceConstant(const std::string &name, const std::string &type, const std::string &value, const std::string &comment)
Constructor.
Definition: constant.cpp:42
std::string getComment()
Get comment of constant.
Definition: constant.cpp:106
std::string getType()
Get type of constant.
Definition: constant.cpp:89
std::string getValue()
Get value of constant.
Definition: constant.cpp:80
std::string getName()
Get name of constant.
Definition: constant.cpp:71