Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

rtkinputfield.h

00001 /*<<<<<COPYRIGHT*/
00002 /*
00003  * RTK The report toolkit
00004  * Copyright (C) 2003 Francisco Santiago Capel Torres
00005 
00006  * rtkinputfield.h RTK input field object
00007  * 
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  */
00019 /*>>>>>COPYRIGHT*/
00020 
00021 #ifndef RTKINPUTFIELD_H
00022 #define RTKINPUTFIELD_H
00023 
00024 #include "rtknamespace.h"
00025 
00026 namespace RTK {
00027 
00028 class InputField
00029 {
00030 /*<<<<<INPUTFIELD_CONSTRUCTOR*/
00031 public:
00032         InputField(const String& name, const String& source = String::null, RTK::Variant::Type type = Variant::Invalid)
00033         :mName(name), mSource(source), mType(type)
00034 /*>>>>>INPUTFIELD_CONSTRUCTOR*/
00035         {};
00036   
00037 /*<<<<<INPUTFIELD_GETSET*/
00038 public:
00039         const String& getName() const { return mName; };
00040         void setName(const String& name) { mName = name; };
00041         const String& getSource() const { return mSource; };
00042         void setSource(const String& source) { mSource = source; };
00043         RTK::Variant::Type getType() const { return mType; };
00044         void setType(RTK::Variant::Type type) { mType = type; };
00045 protected:
00046         String mName;
00047         String mSource;
00048         RTK::Variant::Type mType;
00049 /*>>>>>INPUTFIELD_GETSET*/
00050 };
00051 
00052 }; // namespace
00053 
00054 #endif

Generated on Tue Feb 22 14:44:37 2005 for RTK. Report ToolKit by  doxygen 1.3.9.1