📄 serializercommonstdv1.h
字号:
// -*-c++-*-/*************************************************************************** serializercommonstdv1.h Class for serializing data to std v1 clients ------------------- begin : 27-JAN-2003 copyright : (C) 2003 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 SERIALIZERCOMMONSTDV1_H#define SERIALIZERCOMMONSTDV1_H#include "serializer.h"namespace rcss{ class SerializerCommonStdv1 : public SerializerCommon { protected: SerializerCommonStdv1(); public: virtual ~SerializerCommonStdv1(); static const SerializerCommonStdv1& instance(); virtual void serializeServerParamBegin( std::ostream& strm ) const; virtual void serializeServerParamEnd( std::ostream& strm ) const; virtual void serializePlayerParamBegin( std::ostream& strm ) const; virtual void serializePlayerParamEnd( std::ostream& strm ) const; virtual void serializePlayerTypeBegin( std::ostream& strm ) const; virtual void serializePlayerTypeEnd( std::ostream& strm ) const; virtual void serializeParam( std::ostream& strm, int param ) const; virtual void serializeParam( std::ostream& strm, unsigned int param ) const; virtual void serializeParam( std::ostream& strm, bool param ) const; virtual void serializeParam( std::ostream& strm, double param ) const; virtual void serializeParam( std::ostream& strm, const std::string& param ) const; };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -