This is a set of zero or more PhysicsObjects. More...
#include "physicsObjectCollection.h"
List of all members.
This is a set of zero or more PhysicsObjects.
It's handy for returning from functions that need to return multiple PhysicsObjects.
Definition at line 28 of file physicsObjectCollection.h.
Adds a new PhysicsObject to the collection.
Definition at line 55 of file physicsObjectCollection.cxx.
Referenced by add_physics_objects_from().
Adds all the PhysicsObjects indicated in the other collection to this collection.
The other physics_objects are simply appended to the end of the physics_objects in this list; duplicates are not automatically removed.
Definition at line 116 of file physicsObjectCollection.cxx.
References add_physics_object(), and get_num_physics_objects().
Referenced by operator+=().
Removes all PhysicsObjects from the collection.
Definition at line 194 of file physicsObjectCollection.cxx.
Returns the number of PhysicsObjects in the collection.
Definition at line 215 of file physicsObjectCollection.cxx.
Referenced by add_physics_objects_from(), has_physics_object(), output(), remove_duplicate_physics_objects(), remove_physics_objects_from(), and write().
Returns true if the indicated PhysicsObject appears in this collection, false otherwise.
Definition at line 179 of file physicsObjectCollection.cxx.
References get_num_physics_objects().
Referenced by remove_physics_objects_from().
Returns true if there are no PhysicsObjects in the collection, false otherwise.
Definition at line 205 of file physicsObjectCollection.cxx.
[inline]
Returns a PhysicsObjectCollection representing the concatenation of the two lists.
Definition at line 42 of file physicsObjectCollection.I.
Appends the other list onto the end of this one.
Definition at line 31 of file physicsObjectCollection.I.
References add_physics_objects_from().
Writes a brief one-line description of the PhysicsObjectCollection to the indicated output stream.
Definition at line 264 of file physicsObjectCollection.cxx.
Removes any duplicate entries of the same PhysicsObjects on this collection.
If a PhysicsObject appears multiple times, the first appearance is retained; subsequent appearances are removed.
Definition at line 152 of file physicsObjectCollection.cxx.
Removes the indicated PhysicsObject from the collection.
Returns true if the physics_object was removed, false if it was not a member of the collection.
Definition at line 78 of file physicsObjectCollection.cxx.
Removes from this collection all of the PhysicsObjects listed in the other collection.
Definition at line 131 of file physicsObjectCollection.cxx.
References get_num_physics_objects(), and has_physics_object().
Returns the number of physics objects in the collection.
This is the same thing as get_num_physics_objects().
Definition at line 253 of file physicsObjectCollection.cxx.
0
Writes a complete multi-line description of the PhysicsObjectCollection to the indicated output stream.
Definition at line 279 of file physicsObjectCollection.cxx.