| 
    Assimp v5.2.2 (January 2022)
    
   The Asset-Importer-Lib API documentation. 
   | 
 
Small vector with inplace storage. More...
#include <SmallVector.h>
Public Member Functions | |
| T * | begin () | 
| Returns a pointer to the first item.   | |
| T * | begin () const | 
| Returns a const pointer to the first item.   | |
| T * | end () | 
| Returns a pointer to the end.   | |
| T * | end () const | 
| Returns a const pointer to the end.   | |
| SmallVector & | operator= (const SmallVector &)=delete | 
| SmallVector & | operator= (SmallVector &&)=delete | 
| void | push_back (const T &item) | 
| Will push a new item.   | |
| void | resize (size_t newSize) | 
| Will resize the vector.   | |
| size_t | size () const | 
| Returns the current size of the vector.   | |
| SmallVector () | |
| The default class constructor.   | |
| SmallVector (const SmallVector &)=delete | |
| SmallVector (SmallVector &&)=delete | |
| ~SmallVector () | |
| The class destructor.   | |
Small vector with inplace storage.
Reduces heap allocations when list is shorter. It uses a small array for a dedicated size. When the growing gets bigger than this small cache a dynamic growing algorithm will be used.
      
  | 
  inline | 
The default class constructor.
      
  | 
  inline | 
The class destructor.
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  inline | 
Returns a pointer to the first item.
      
  | 
  inline | 
Returns a const pointer to the first item.
      
  | 
  inline | 
Returns a pointer to the end.
      
  | 
  inline | 
Returns a const pointer to the end.
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  inline | 
Will push a new item.
The capacity will grow in case of a too small capacity.
| item | [in] The item to push at the end of the vector. | 
      
  | 
  inline | 
Will resize the vector.
| newSize | [in] The new size. | 
      
  | 
  inline | 
Returns the current size of the vector.