00001 /* -*- Mode: c++ -*- */ 00002 /* 00003 * this is part of Spm 00004 * 00005 * Copyright (c) 2003-2006 Guillaume Chevallereau 00006 * 00007 * This program is free software. You can redistribute it and/or modify it 00008 * under the terms of the GNU General Public License as published by the 00009 * Free Software Foundation. Either version 2 of the license or (at your 00010 * option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be usefull but WITHOUT 00013 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00015 * more details. 00016 * 00017 * You should have received a copy of the GNU General Public License along 00018 * with this program; if not, write to the Free Software Foundation, Inc., 00019 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 00020 */ 00021 #ifndef __SET_H__ 00022 #define __SET_H__ 00023 #include "element.h" 00024 #include <util/utilException.h> 00025 00026 namespace Spm 00027 { 00028 namespace Core 00029 { 00033 const std::string SET_NODE_NAME = "set"; 00042 class Set : public Element 00043 { 00044 public: 00048 Set (const std::string & setName) 00049 throw (BadNameException); 00050 }; 00051 00052 bool isSet (const Element * element) 00053 throw (Util::NullPointerException); 00054 } 00055 } 00056 #endif