32#ifndef RCSC_RCG_PARSER_V4_H
33#define RCSC_RCG_PARSER_V4_H
70 Handler & handler )
const override;
84 const std::string & line,
99 const std::string & line,
111 const std::string & line,
123 const std::string & line,
135 const std::string & line,
147 const std::string & line,
159 const std::string & line,
171 const std::string & line,
abstract rcg data handler class.
Definition: handler.h:48
rcg v4 parser class
Definition: parser_v4.h:48
bool parsePlayMode(const int n_line, const std::string &line, Handler &handler) const
parse PM_MODE info(playmode)
bool parseServerParam(const int n_line, const std::string &line, Handler &handler) const
parse PARAM_MODE info(server_params_t)
bool parsePlayerParam(const int n_line, const std::string &line, Handler &handler) const
parse PPARAM_MODE info(player_params_t)
bool parseMsg(const int n_line, const std::string &line, Handler &handler) const
parse MSG_MODE info(msg_info_t)
virtual int version() const override
get supported rcg version
Definition: parser_v4.h:56
bool parseLine(const int n_line, const std::string &line, Handler &handler) const
parse data line.
virtual bool parseShow(const int n_line, const std::string &line, Handler &handler) const
parse SHOW_MODE inof, actually short_showinfo_t2
virtual bool parse(std::istream &is, Handler &handler) const override
parse input stream
bool parsePlayerType(const int n_line, const std::string &line, Handler &handler) const
parse PT_MODE info(player_type_t)
bool parseTeam(const int n_line, const std::string &line, Handler &handler) const
parse TEAM_MODE info(team_t * 2)
rcg stream parser interface class
Definition: parser.h:51
abstract rcg parser class Header File.
constexpr int REC_VERSION_4
recorded value of rcg v4
Definition: types.h:1139