filter.h.svn-base
来自「一个巴西大学编写的2D仿真组足球机器人程序」· SVN-BASE 代码 · 共 67 行
SVN-BASE
67 行
/*************************************************************************** * Copyright (C) 2007 by Orivaldo V. Santana Jr, Augusto L. da Costa * * orivajr@dcc.ufba.br and augusto.loureiro@ufba.br * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************//*! \file Filter.h<pre><b>File:</b> Filter.h<b>Project:</b> Robocup Soccer Simulation Team: MecaTeam<b>Authors:</b> Orivaldo Vieira e Augusto Loureiro<b>Created:</b> 23/03/2007<b>Last Revision:</b> $ID$<b>Contents:</b> Este arquivo contem a declara玢o da classe Filter a qual implementa opera珲es entre fatos.<hr size=2><h2><b>Changes</b></h2><b>Date</b> <b>Author</b> <b>Comment</b>23/03/2007 Orivaldo Vieira e Augusto Loureiro Vers鉶 inicial criada</pre>*//** @author Orivaldo Vieira Santana Jr <orivajr@dcc.ufba.br>*/#ifndef FILTER_H#define FILTER_H#include "TokenTypes.h"class Filter{ public: Filter ( ); void setOperator ( TokenT _op ); void setOperatorString ( string _op ); void setParameter1 ( string *p1 ); void setParameter2 ( string *p2 ); TokenT getOperator ( ); string getOperatorString ( ); string getParameter1 ( ); string getParameter2 ( ); void print ( void ); ~Filter (); private: TokenT m_operator; /*!< tipo do operador */ string m_operatorString; /*!< valor do operador */ string *m_parameter1; /*!< apontador para o paramentro 1 */ string *m_parameter2; /*!< apontador para o paramentro 2 */};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?