📄 clangfreeformmsg.h
字号:
// -*-c++-*-/*************************************************************************** clangfreeformmsg.h Class for CLang Freeform 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 CLANGFREEFORMMSG_H#define CLANGFREEFORMMSG_H#include "clangmsg.h"#include "hasa.h"#include <string>namespace rcss{ namespace clang { class FreeformMsg : public Msg { public: FreeformMsg(); FreeformMsg( const std::string& str ); virtual ~FreeformMsg(); virtual std::auto_ptr< Msg > deepCopy() const;// virtual// void// accept( Visitor& v );// virtual// void// accept( ConstVisitor& v ) const; virtual std::ostream& print( std::ostream& out ) const; virtual std::ostream& printPretty( std::ostream& out, const std::string& line_header ) const; std::string getStr(); const std::string& getStr() const; virtual Types getType() const { return FREEFORM; } private: std::string m_str; }; }}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -