クラス rcsc::rcg::ParserV4

rcg v4 parser class [詳細]

#include <parser_v4.h>

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

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

Public メソッド

int version () const
 get supported rcg version
bool parse (std::istream &is, Handler &handler) const
 parse input stream
bool parseLine (const int n_line, const std::string &line, Handler &handler) const
 parse data line.

説明

rcg v4 parser class


関数

int rcsc::rcg::ParserV4::version (  )  const [inline, virtual]

get supported rcg version

戻り値:
version number

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

bool rcsc::rcg::ParserV4::parse ( std::istream &  is,
Handler handler 
) const [virtual]

parse input stream

引数:
is reference to the imput stream (usually ifstream/gzifstream).
handler reference to the rcg data handler.
戻り値:
true,if successfuly parsed.
false,if incorrect format is detected.

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

bool rcsc::rcg::ParserV4::parseLine ( const int  n_line,
const std::string &  line,
Handler handler 
) const

parse data line.

引数:
n_line the number of total read line
line the data string
handler reference to the rcg data handler.
戻り値:
true,if successfuly parsed.
false,if incorrect format is detected.
First, check the type of data mode. Second, call each data item parsing method.


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