Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

LispReader Class Reference

#include <lisp_reader.hxx>

Collaboration diagram for LispReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LispReader (lisp_object_t *l)
bool read_vector (const char *name, Vector2d *vec)
bool read_int (const char *name, int *i)
bool read_float (const char *name, float *f)
bool read_bool (const char *name, bool *b)

Constructor & Destructor Documentation

LispReader::LispReader lisp_object_t   l
 

cur == ((pos 1 2 3) (id 12 3 4)...)

Definition at line 23 of file lisp_reader.cxx.


Member Function Documentation

bool LispReader::read_bool const char *    name,
bool *    b
 

Definition at line 97 of file lisp_reader.cxx.

References lisp_boolean(), and lisp_car().

Referenced by ParticleFactory::ParticleFactory().

bool LispReader::read_float const char *    name,
float *    f
 

Definition at line 85 of file lisp_reader.cxx.

References lisp_car(), and lisp_real().

Referenced by ParticleFactory::ParticleFactory(), and Spring::Spring().

bool LispReader::read_int const char *    name,
int *    i
 

Definition at line 73 of file lisp_reader.cxx.

References lisp_car(), and lisp_integer().

Referenced by ParticleFactory::ParticleFactory(), and Spring::Spring().

bool LispReader::read_vector const char *    name,
Vector2d   vec
 

Definition at line 60 of file lisp_reader.cxx.

References lisp_car(), lisp_cdr(), lisp_real(), Vector2d::x, and Vector2d::y.

Referenced by ParticleFactory::ParticleFactory(), and RectCollider::RectCollider().


The documentation for this class was generated from the following files:
Generated on Thu Jul 24 10:25:22 2003 for Construo by doxygen1.3-rc3