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

descriptor/src/TaskFilterInfo.h

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: GPL 2.0
00004  *
00005  * K-10 Distributed Processing - Lium, Le Mans
00006  * Copyright (C) 2006 Frederic POUHET
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (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, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00021  *
00022  * ***** END LICENSE BLOCK ***** */
00023 #ifndef FILTERINFO_H
00024 #define FILTERINFO_H
00025 
00026 #include <string>
00027 using namespace std;
00028 
00029 class TaskFilterInfo 
00030 {
00031 
00035         string mType;
00039         string mOperator;
00043         string mValue;
00044         
00045 public:
00046   // --- Ctor / Dtor ---
00050         TaskFilterInfo()
00051                 :mType(""), mOperator(""), mValue(""){ }
00052 
00059         TaskFilterInfo(string aType, string aOperator, string aValue)
00060                 :mType(aType), mOperator(aOperator), mValue(aValue){ }
00061 
00062         ~TaskFilterInfo(){ }
00063 
00064 public:
00065   //getters
00066         string getType()                {return mType;}
00067         string getOperator()    {return mOperator;}
00068         string getValue()               {return mValue;}
00069 
00070   //setters
00071         void setType(string aType)                      { mType = aType; }
00072         void setOperator(string aOperator)      { mOperator = aOperator; }
00073         void setValue(string aValue)            { mValue = aValue; }
00074         
00075 };
00076 
00077 
00078 #endif
00079 

Generated on Fri May 19 23:12:36 2006 for common by  doxygen 1.4.4