Alida-C++ 0.5
|
00001 /* 00002 * This file is part of Alida-C++ library for 00003 * 00004 * Automatic Logging of Process Information in Data Analysis. 00005 * 00006 * Copyright (C) 2012 - @YEAR@ 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 3 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 * You should have received a copy of the GNU General Public License 00019 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 * 00021 * Fore more information on Alida, visit 00022 * 00023 * http://www.informatik.uni-halle.de/alida/ 00024 * 00025 */ 00026 00027 /* 00028 * Most recent change(s): 00029 * 00030 * $Rev: 47 $ 00031 * $Date: 2012/03/06 20:50:22 $ 00032 * $Author: posch $ 00033 * 00034 */ 00035 00036 #ifndef OPPARAMETERDESCRIPTOR_H_INCLUDED 00037 #define OPPARAMETERDESCRIPTOR_H_INCLUDED 00038 00039 #include <string> 00040 #include <typeinfo> 00041 00042 namespace Alida { 00043 00047 class ALDOpParameterDescriptor 00048 { 00049 00050 public: 00051 00052 enum Direction { IN, OUT, INOUT}; 00053 00054 std::string name; 00055 std::string typeIdStr; 00056 std::string typeNiceName; 00057 Direction direction; 00058 bool required; 00059 bool supplemental; 00060 std::string label; 00061 std::string explanation; 00062 void* defaultValue; 00063 void* value; 00064 00065 public: 00066 00067 ALDOpParameterDescriptor( std::string _name, std::string _typeIdStr, 00068 std::string _typeNiceName, 00069 Direction _direction, 00070 bool _required, bool _supplemental, std::string _label, std::string _explanation, 00071 void* _defaultValue); 00072 00073 ~ALDOpParameterDescriptor() { 00074 //delete value; 00075 //delete defaultValue; 00076 } 00077 }; 00078 00079 } 00080 00081 #endif /* OPPARAMETERDESCRIPTOR_H_INCLUDED */