Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

oxygen::BaseParser Class Reference

interface for a parser and generator that is used with the GameControlServer. More...

#include <baseparser.h>

Inheritance diagram for oxygen::BaseParser:

Inheritance graph
[legend]
Collaboration diagram for oxygen::BaseParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual boost::shared_ptr<
PredicateList
Parse (const std::string &input)=0
 parses the
virtual std::string Generate (boost::shared_ptr< PredicateList > input)=0
 generates a string representing the given

Detailed Description

interface for a parser and generator that is used with the GameControlServer.

A BaseParser is responsible to parse a string into a list of predicates (see

Definition at line 37 of file baseparser.h.


Member Function Documentation

virtual std::string oxygen::BaseParser::Generate boost::shared_ptr< PredicateList input  )  [pure virtual]
 

generates a string representing the given

Parameters:
input list of predicates

Implemented in SexpParser.

virtual boost::shared_ptr<PredicateList> oxygen::BaseParser::Parse const std::string &  input  )  [pure virtual]
 

parses the

Parameters:
input string into a list of Predicates

Implemented in SexpParser.


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 15:44:20 2006 for rcssserver3d by  doxygen 1.4.4