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

purgeContainer.h File Reference

Go to the source code of this file.

Functions


Function Documentation

template<class Container>
void purgeContainer Container &  container  ) 
 

Purges a container (e.g. std::vector) that contains pointers to objects, by deleting these objects, and emptying the container.

Definition at line 6 of file purgeContainer.h.

Referenced by PhysicalObject::deleteContacts(), ArticulatedComponent::deleteK(), ArticulatedAgentBase::deleteLimbs(), ArticulatedLimb::deleteLinks(), Simulator::deleteObjects(), ComposedPhysicalObject::deleteObjects(), and Elastoid::~Elastoid().

Thyrix homepageUsers' guide

(C) Arxia 2004-2005