 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
41 for(
size_t i = 0; i < size; i++)
46 std::stringstream str;
48 "There should be " << size <<
" RigidBodies, reached eof after restoring " << i;
void resize(size_t size)
Resize the vector, which then enables direct addressing using the bracket '[]' operator.
const char * m_collectionTitle
const char * m_elementTitle
agxStream::InputArchive & m_archive
ObjectPtrVectorType m_objects
ObjectPtrVectorType::iterator begin()
ObjectPtrVectorType::iterator end()
RestoreObjects(agxStream::InputArchive &archive, const char *collectionTitle, const char *elementTitle)
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
const agx::Vector< T * > & getObjects()
agx::Vector< T * > ObjectPtrVectorType
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...