AGX Dynamics  2.35.0.1
agxStream::SerializablePtrVector Class Reference

#include <agxStream.h>

+ Inheritance diagram for agxStream::SerializablePtrVector:

Public Member Functions

 SerializablePtrVector ()
 
 ~SerializablePtrVector ()
 
void deallocate ()
 
- Public Member Functions inherited from agx::Vector< Serializable * >
 Vector (const ByteAllocator &allocator=ByteAllocator())
 
 Vector (const Vector< Serializable *, ByteAllocator > &other)
 
 Vector (const_iterator first, const_iterator end, const ByteAllocator &allocator=ByteAllocator())
 
 Vector (size_t size, const Serializable * &value=Serializable *(), const ByteAllocator &allocator=ByteAllocator())
 
 Vector (std::initializer_list< Serializable * > values, const ByteAllocator &allocator=ByteAllocator())
 
 Vector (Vector< Serializable *, ByteAllocator > &&other)
 
 ~Vector ()
 
ByteAllocator & allocator ()
 
const ByteAllocator & allocator () const
 
Serializable * & at (size_t index) const
 
Serializable * & back () const
 
iterator begin ()
 
const_iterator begin () const
 
void clear (ClearPolicy policy=SHRINK_BUFFER_AVERAGED)
 Remove all elements, optionally with maintained buffer allocation. More...
 
bool contains (const Serializable * &element) const
 
bool contains (const T2 &element) const
 Test if the vector contains a certain element. More...
 
iterator end ()
 
const_iterator end () const
 
iterator erase (iterator position)
 STL erase functionality. More...
 
iterator erase (iterator start, iterator end)
 
void erase (size_t index)
 Erase elements using indices instead of iterators. More...
 
void erase (size_t start, size_t end)
 
iterator eraseFast (const_iterator position)
 Fast erase, replacing the erased element with the last element. More...
 
void eraseFast (size_t index)
 
size_t find (const T2 &element) const
 Find the index to a matching element, return size() if not found. More...
 
bool findAndErase (const T2 &element, bool searchMultiple=false)
 Find and erase an element. More...
 
Serializable * & front () const
 
Serializable * * increment (size_t numElements=1)
 Resize using a increment. More...
 
void insert (const_iterator it, InputIterator first, InputIterator last)
 
void insert (const_iterator it, std::initializer_list< Serializable * > ilist)
 
iterator insert (iterator position, const Serializable * &value)
 
void insert (size_t index, const Serializable * &value)
 
bool operator!= (const Vector< Serializable *, ByteAllocator > &other) const
 
Vector< Serializable *, ByteAllocator > & operator= (const Vector< Serializable *, ByteAllocator > &other)
 
bool operator== (const Vector< Serializable *, ByteAllocator > &other) const
 Compare with other vector, return true if same size and all pairs are equal. More...
 
Serializable * & operator[] (size_t i) const
 
void pop_back ()
 
Serializable * * ptr ()
 Get access to the internal data buffer. More...
 
const Serializable * * ptr () const
 
void push_back (const Serializable * &value)
 
void push_back (const T2 &value)
 
void push_back (Serializable * &&value)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void reserve (size_t size)
 Reserve capacity in the vector. More...
 
void reserveAtLeast (size_t size)
 Reserve capacity in the vector. More...
 
void resize (size_t size)
 Resize the vector, which then enables direct addressing using the bracket '[]' operator. More...
 
void resize (size_t size, const Serializable * &value)
 
void shrink_to_fit ()
 Reduce the capacity of the vector to the actual size (number of elements) More...
 
void swap (Vector &other)
 
- Public Member Functions inherited from agx::Container
size_t capacity () const
 Returns the size of the memory are used by the container to store its elements. More...
 
bool empty () const
 
void * ptr ()
 
const void * ptr () const
 
size_t size () const
 

Additional Inherited Members

- Public Types inherited from agx::Vector< Serializable * >
typedef const Serializable * * const_iterator
 
typedef const Serializable * * const_pointer
 
typedef const Serializable * & const_reference
 
typedef std::reverse_iterator< const_iterator > const_reverse_iterator
 
typedef ptrdiff_t difference_type
 
typedef Serializable * * iterator
 
typedef std::random_access_iterator_tag iterator_category
 
typedef Serializable * * pointer
 
typedef Serializable * & reference
 
typedef std::reverse_iterator< iterator > reverse_iterator
 
typedef size_t size_type
 
typedef Serializable * Type
 
typedef Serializable * value_type
 
- Public Types inherited from agx::Container
enum  ClearPolicy { SHRINK_BUFFER , SHRINK_BUFFER_AVERAGED , MAINTAIN_BUFFER }
 agxData::Values from this enumeration is passed to the subclasses' 'clear' method in order to control what should become of the container's memory. More...
 
- Protected Member Functions inherited from agx::Container
 Container ()
 
 Container (const Container &other)
 
 Container (Container &&other)
 
 ~Container ()
 
- Protected Attributes inherited from agx::Container
void * m_buffer
 
size_t m_capacity
 
size_t m_size
 

Detailed Description

Definition at line 37 of file agxStream.h.

Constructor & Destructor Documentation

◆ SerializablePtrVector()

agxStream::SerializablePtrVector::SerializablePtrVector ( )
inline

Definition at line 39 of file agxStream.h.

◆ ~SerializablePtrVector()

agxStream::SerializablePtrVector::~SerializablePtrVector ( )
inline

Definition at line 41 of file agxStream.h.

Member Function Documentation

◆ deallocate()

void agxStream::SerializablePtrVector::deallocate ( )

The documentation for this class was generated from the following file: