Tanl Linguistic Pipeline |
00001 /* 00002 ** IXE 00003 ** conf/ColorMap.h 00004 ** ---------------------------------------------------------------------- 00005 ** Copyright (c) 2000 Ideare SpA. All rights reserved. 00006 ** Copyright (c) 2000 Giuseppe Attardi (attardi@di.unipi.it). 00007 ** ---------------------------------------------------------------------- 00008 ** 00009 ** This file is part of IXE. 00010 ** 00011 ** IXE is free software; you can redistribute it and/or modify it 00012 ** under the terms of the GNU General Public License, version 3, 00013 ** as published by the Free Software Foundation. 00014 ** 00015 ** IXE is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 ** GNU General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU General Public License 00021 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 00022 ** ---------------------------------------------------------------------- 00023 */ 00024 00025 #ifndef IXE_conf_ColorMap_H 00026 #define IXE_conf_ColorMap_H 00027 00028 // local 00029 #include "conf/conf.h" 00030 #include "Index/ColorMap.h" 00031 00032 namespace IXE { 00033 00042 template <> class conf<ColorMap> : public Var<ColorMap> 00043 { 00044 public: 00045 00050 conf(char const* name) : Var<ColorMap>(name) { } 00051 00052 protected: 00053 virtual void parseValue(char const*& line); 00054 virtual void reset() { value.clear(); } 00055 }; 00056 00063 extern ColorMap& colorMap; 00064 00065 } // namespace IXE 00066 00067 #endif /* IXE_conf_ColorMap_H */