クラス rcsc::rcg::SerializerV2

v2 format rcg data serializer interface class [詳細]

#include <serializer_v2.h>

rcsc::rcg::SerializerV2に対する継承グラフ

rcsc::rcg::Serializer すべてのメンバ一覧

Public メソッド

 ~SerializerV2 ()
 destruct all
virtual std::ostream & serializeHeader (std::ostream &os)
 write header
virtual std::ostream & serializeParam (std::ostream &os, const std::string &msg)
 write parameter message
virtual std::ostream & serialize (std::ostream &os, const server_params_t &param)
 write server param
virtual std::ostream & serialize (std::ostream &os, const player_params_t &pparam)
 write player param
virtual std::ostream & serialize (std::ostream &os, const player_type_t &type)
 write player type param
virtual std::ostream & serialize (std::ostream &os, const dispinfo_t &disp)
 write dispinfo_t.
virtual std::ostream & serialize (std::ostream &os, const showinfo_t &show)
 write showinfo_t.
virtual std::ostream & serialize (std::ostream &os, const showinfo_t2 &show2)
 write showinfo_t2
virtual std::ostream & serialize (std::ostream &os, const short_showinfo_t2 &show2)
 write short_showinfo_t2.
virtual std::ostream & serialize (std::ostream &os, const msginfo_t &msg)
 write message info
virtual std::ostream & serialize (std::ostream &os, const Int16 board, const std::string &msg)
 write message info
virtual std::ostream & serialize (std::ostream &os, const drawinfo_t &draw)
 write drawinfo_t
virtual std::ostream & serialize (std::ostream &os, const char playmode)
 write playmode
virtual std::ostream & serialize (std::ostream &os, const team_t &team_l, const team_t &team_r)
 write team info
virtual std::ostream & serialize (std::ostream &os, const TeamT &team_l, const TeamT &team_r)
 write team info
virtual std::ostream & serialize (std::ostream &os, const ShowInfoT &show)
 write ShowInfoT
virtual std::ostream & serialize (std::ostream &os, const DispInfoT &disp)
 write DispInfoT

説明

v2 format rcg data serializer interface class


関数

std::ostream & rcsc::rcg::SerializerV2::serializeHeader ( std::ostream &  os  )  [virtual]

write header

引数:
os reference to the output stream
戻り値:
serialization result

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serializeParam ( std::ostream &  os,
const std::string &  msg 
) [virtual]

write parameter message

引数:
os reference to the output stream
msg server parameter message
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const server_params_t param 
) [virtual]

write server param

引数:
os reference to the output stream
戻り値:
serialization result

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const player_params_t pparam 
) [virtual]

write player param

引数:
os reference to the output stream
戻り値:
serialization result

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const player_type_t type 
) [virtual]

write player type param

引数:
os reference to the output stream
戻り値:
serialization result

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const dispinfo_t disp 
) [virtual]

write dispinfo_t.

引数:
os reference to the output stream
disp network byte order data
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const showinfo_t show 
) [virtual]

write showinfo_t.

引数:
os reference to the output stream
show2 network byte order data
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const showinfo_t2 show2 
) [virtual]

write showinfo_t2

引数:
os reference to the output stream
show2 data to be output
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const short_showinfo_t2 show2 
) [virtual]

write short_showinfo_t2.

引数:
os reference to the output stream
show2 network byte order data
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const msginfo_t msg 
) [virtual]

write message info

引数:
os reference to the output stream
戻り値:
serialization result

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const Int16  board,
const std::string &  msg 
) [virtual]

write message info

引数:
os reference to the output stream
board message board type
msg message string
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const drawinfo_t draw 
) [virtual]

write drawinfo_t

引数:
os reference to the output stream
draw drawinfo_t variable
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const char  playmode 
) [virtual]

write playmode

引数:
os reference to the output stream
playmode play mode variable
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const team_t team_l,
const team_t team_r 
) [virtual]

write team info

引数:
os reference to the output stream
team_l left team variable
team_r right team variable
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const TeamT team_l,
const TeamT team_r 
) [virtual]

write team info

引数:
os reference to the output stream
team_l left team variable
team_r right team variable
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const ShowInfoT show 
) [virtual]

write ShowInfoT

引数:
os reference to the output stream
show2 network byte order data
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。

std::ostream & rcsc::rcg::SerializerV2::serialize ( std::ostream &  os,
const DispInfoT disp 
) [virtual]

write DispInfoT

引数:
os reference to the output stream
disp data to be written
戻り値:
reference to the output stream

rcsc::rcg::Serializerを実装しています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:28 2008に生成されました。  doxygen 1.5.0