class XrlParser


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 XrlParser (XrlParserInput& xpi)

XrlParser

 ~XrlParser ()

~XrlParser

[virtual]

bool  start_next ()
throw (XrlParserInputException)

start_next

Starts new parsing cycle.

Returns: true upon success, false if there is no more data

bool  finished ()

finished

[const]

Check if input is exhausted.

Returns: true if input is exhausted, false otherwise.

bool  get (string& protocol, string& target, string& command, XrlArgs& args)
throw (XrlParseError)

get

bool  get (string& protocol, string& target, string& command, XrlArgs& args, list<XrlAtomSpell>& spells)
throw (XrlParseError)

get

bool  get (string& xrl_c_str)
throw (XrlParseError)

get

bool  get_return_specs (list<XrlAtomSpell>& spells)

get_return_specs

const string&  input ()

input

[const]

bool  resync ()

resync

Attempt to find a new XRL starting point after an error has occurred.

Returns: true if text resembling an XRL start is found.

const XrlParserInput&  parser_input ()

parser_input

[const]

bool  get (string& protocol, string& target, string& command, XrlArgs* args, list<XrlAtomSpell>* spells)
throw (XrlParseError)

get

[protected]

bool  parse_atoms_and_spells (XrlArgs* args, list<XrlAtomSpell>* spells)

parse_atoms_and_spells

[protected]

XrlParserInput& _xpi

_xpi

[protected]

string _input

_input

[protected]

string::const_iterator _pos

_pos

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:45 2009, using kdoc 2.0a54+XORP.