clanginfomsg.h

来自「2009 ROBOCUP 仿真2DSERVER 源码」· C头文件 代码 · 共 79 行

H
79
字号
// -*-c++-*-/***************************************************************************                                clanginfomsg.h                       Class for CLang Info messages                             -------------------    begin                : 28-MAY-2002    copyright            : (C) 2002 by The RoboCup Soccer Server                           Maintenance Group.    email                : sserver-admin@lists.sourceforge.net***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU LGPL as published by the Free Software  * *   Foundation; either version 2 of the License, or (at your option) any  * *   later version.                                                        * *                                                                         * ***************************************************************************/#ifndef CLANGINFOMSG_H#define CLANGINFOMSG_H#include "clangmsg.h"#include "coach_lang_comp.h"namespace rcss {namespace clang {class InfoMsg    : public Msg {public:    typedef std::list< Token * > Storage;    InfoMsg();private:    InfoMsg( const Storage & tokens );public:    virtual    ~InfoMsg();    virtual    std::auto_ptr< Msg > deepCopy() const;    virtual    std::ostream & print( std::ostream & out ) const;    virtual    std::ostream & printPretty( std::ostream & out,                                const std::string & line_header ) const;    const Storage & getTokens() const      {          return M_tokens;      }    Storage & getTokens()      {          return M_tokens;      }	virtual	Types getType() const      {          return INFO;      }private:	Storage M_tokens;};}}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?