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

World Class Reference

The global World class which contains all Surface s and a SpectreTable . More...

#include <surface.h>

Inherited by _classes_ [private].

Inheritance diagram for World:

Inheritance graph
[legend]
Collaboration diagram for World:

Collaboration graph
[legend]
List of all members.

Public Methods

void fixBoltCollideOrder ()
 ~World ()
 World ()

Public Attributes

std::vector< Surface * > surfaces
 the vector of all Surface s. WARNING: This contains Surface pointers! More...

IdTable< Spectretable
 The list of all Spectre s in the World . More...

std::vector< int > freeSurfaces
 These are unused Surface s in the list. More...


Private Methods

 World (const World &)

Detailed Description

The global World class which contains all Surface s and a SpectreTable .


Constructor & Destructor Documentation

World::World const World &    [inline, private]
 

00027                           {
00028     }

World::~World   [inline]
 

00038               {
00039         for (unsigned int i=0;i<surfaces.size();i++) {
00040             delete surfaces[i];
00041         }
00042     }

World::World   [inline]
 

00043 {}


Member Function Documentation

void World::fixBoltCollideOrder   [inline]
 

00030                                {
00031         for (int i=0;i<surfaces.size();i++) {
00032             surfaces[i]->boltField.fixCollideOrder();
00033         }
00034     }


Member Data Documentation

std::vector<int> World::freeSurfaces
 

These are unused Surface s in the list.

std::vector<Surface *> World::surfaces
 

the vector of all Surface s. WARNING: This contains Surface pointers!

IdTable<Spectre> World::table
 

The list of all Spectre s in the World .


The documentation for this class was generated from the following file:
Generated on Mon Jul 7 21:13:56 2003 for Ethereal by doxygen1.2.15