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

SexpParser Class Reference

#include <sexpparser.h>

Inheritance diagram for SexpParser:

Inheritance graph
[legend]
Collaboration diagram for SexpParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Member Functions

void SexpToList (zeitgeist::ParameterList &arguments, const sexp_t *const sexp)
void SexpToPredicate (boost::shared_ptr< oxygen::PredicateList > &predicate, const sexp_t *const sexp)
void ListToString (std::stringstream &ss, const zeitgeist::ParameterList &lst)
void PredicateToString (std::stringstream &ss, const oxygen::Predicate &predicate)

Detailed Description

Definition at line 30 of file sexpparser.h.


Constructor & Destructor Documentation

SexpParser::SexpParser  )  [inline]
 

Definition at line 33 of file sexpparser.h.

SexpParser::~SexpParser  )  [inline]
 

Definition at line 37 of file sexpparser.h.


Member Function Documentation

string SexpParser::Generate boost::shared_ptr< oxygen::PredicateList input  )  [virtual]
 

generates a string representing the given

Parameters:
input list of predicates

Implements oxygen::BaseParser.

Definition at line 57 of file sexpparser.cpp.

References oxygen::PredicateList::begin(), oxygen::PredicateList::end(), and PredicateToString().

Here is the call graph for this function:

void SexpParser::ListToString std::stringstream &  ss,
const zeitgeist::ParameterList lst
[private]
 

shared_ptr< PredicateList > SexpParser::Parse const std::string &  input  )  [virtual]
 

parses the

Parameters:
input string into a list of Predicates

Implements oxygen::BaseParser.

Definition at line 31 of file sexpparser.cpp.

References SexpToPredicate().

Here is the call graph for this function:

void SexpParser::PredicateToString std::stringstream &  ss,
const oxygen::Predicate predicate
[private]
 

Referenced by Generate().

void SexpParser::SexpToList zeitgeist::ParameterList arguments,
const sexp_t *const   sexp
[private]
 

Definition at line 78 of file sexpparser.cpp.

References zeitgeist::ParameterList::AddList(), and zeitgeist::ParameterList::AddValue().

Here is the call graph for this function:

void SexpParser::SexpToPredicate boost::shared_ptr< oxygen::PredicateList > &  predicate,
const sexp_t *const   sexp
[private]
 

Referenced by Parse().


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 15:40:28 2006 for rcssserver3d by  doxygen 1.4.4