NoShrinkVector< T, AllocatorT > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/MiscLib/NoShrinkVector.h>

+ Inheritance diagram for NoShrinkVector< T, AllocatorT >:

Public Types

typedef std::reverse_iterator< const T * > const_reverse_iterator
 
typedef Titerator
 
typedef Tpointer
 
typedef size_t ptrdiff_t
 
typedef Treference
 
typedef std::reverse_iterator< T * > reverse_iterator
 
typedef size_t size_type
 
typedef T value_type
 

Public Member Functions

Tat (size_type i)
 
const Tat (size_type i) const
 
Tback ()
 
const Tback () const
 
Tbegin ()
 
const Tbegin () const
 
size_type capacity () const
 
void clear ()
 
void ClearTotal ()
 
Tend ()
 
const Tend () const
 
void erase (T *where)
 
Tfront ()
 
const Tfront () const
 
void insert (T *where, const T &v)
 
 NoShrinkVector ()
 
 NoShrinkVector (const NoShrinkVector< T, AllocatorT > &v)
 
template<class OtherAllocatorT >
 NoShrinkVector (const NoShrinkVector< T, OtherAllocatorT > &v)
 
 NoShrinkVector (size_type s)
 
 NoShrinkVector (size_type s, const T &v)
 
 operator const T * () const
 
 operator T* ()
 
NoShrinkVector< T > & operator= (const NoShrinkVector< T, AllocatorT > &v)
 
template<class OtherAllocatorT >
NoShrinkVector< T > & operator= (const NoShrinkVector< T, OtherAllocatorT > &v)
 
void pop_back ()
 
void push_back (const T &v)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void reserve (size_type s)
 
void resize (size_type s)
 
void resize (size_type s, const value_type &v)
 
size_type size () const
 
 ~NoShrinkVector ()
 

Public Attributes

const typedef Tconst_iterator
 
const typedef Tconst_pointer
 
const typedef Tconst_reference
 

Additional Inherited Members

- Protected Types inherited from AlignedAllocator< T >
typedef ptrdiff_t difference_type
 
typedef Tpointer
 
typedef Treference
 
typedef size_t size_type
 
typedef T value_type
 
- Protected Member Functions inherited from AlignedAllocator< T >
const_pointer address (const_reference x) const
 
pointer address (reference x) const
 
 AlignedAllocator () throw ()
 
 AlignedAllocator (const AlignedAllocator< T, DefaultAlignment > &) throw ()
 
 AlignedAllocator (const AlignedAllocator< U, DefaultAlignment > &) throw ()
 
pointer allocate (size_type s, std::allocator_traits< std::allocator< void >>::const_void_pointer hint=0)
 
void construct (pointer p, const T &val)
 
void deallocate (pointer p, size_type)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
bool operator!= (const AlignedAllocator< U, DefaultAlignment > &) const
 
bool operator!= (const U &) const
 
bool operator== (const AlignedAllocator< U, DefaultAlignment > &) const
 
bool operator== (const U &) const
 
- Protected Attributes inherited from AlignedAllocator< T >
const typedef Tconst_pointer
 
const typedef Tconst_reference
 

Detailed Description

template<class T, class AllocatorT = MiscLib::AlignedAllocator< T >>
class MiscLib::NoShrinkVector< T, AllocatorT >

Definition at line 17 of file NoShrinkVector.h.

Member Typedef Documentation

◆ const_reverse_iterator

typedef std::reverse_iterator< const T* > const_reverse_iterator

Definition at line 31 of file NoShrinkVector.h.

◆ iterator

typedef T* iterator

Definition at line 23 of file NoShrinkVector.h.

◆ pointer

typedef T* pointer

Definition at line 27 of file NoShrinkVector.h.

◆ ptrdiff_t

typedef size_t ptrdiff_t

Definition at line 29 of file NoShrinkVector.h.

◆ reference

typedef T& reference

Definition at line 25 of file NoShrinkVector.h.

◆ reverse_iterator

typedef std::reverse_iterator< T* > reverse_iterator

Definition at line 30 of file NoShrinkVector.h.

◆ size_type

typedef size_t size_type

Definition at line 21 of file NoShrinkVector.h.

◆ value_type

typedef T value_type

Definition at line 22 of file NoShrinkVector.h.

Constructor & Destructor Documentation

◆ NoShrinkVector() [1/5]

NoShrinkVector ( )
inline

Definition at line 33 of file NoShrinkVector.h.

◆ NoShrinkVector() [2/5]

NoShrinkVector ( size_type  s)
inline

Definition at line 40 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ NoShrinkVector() [3/5]

NoShrinkVector ( size_type  s,
const T v 
)
inline

Definition at line 52 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ NoShrinkVector() [4/5]

NoShrinkVector ( const NoShrinkVector< T, AllocatorT > &  v)
inline

Definition at line 63 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ NoShrinkVector() [5/5]

NoShrinkVector ( const NoShrinkVector< T, OtherAllocatorT > &  v)
inline

Definition at line 83 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ ~NoShrinkVector()

~NoShrinkVector ( )
inline

Definition at line 102 of file NoShrinkVector.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ at() [1/2]

T& at ( size_type  i)
inline

Definition at line 289 of file NoShrinkVector.h.

◆ at() [2/2]

const T& at ( size_type  i) const
inline

Definition at line 294 of file NoShrinkVector.h.

◆ back() [1/2]

T& back ( )
inline

Definition at line 425 of file NoShrinkVector.h.

+ Here is the caller graph for this function:

◆ back() [2/2]

const T& back ( ) const
inline

Definition at line 430 of file NoShrinkVector.h.

◆ begin() [1/2]

T* begin ( )
inline

Definition at line 385 of file NoShrinkVector.h.

+ Here is the caller graph for this function:

◆ begin() [2/2]

const T* begin ( ) const
inline

Definition at line 390 of file NoShrinkVector.h.

◆ capacity()

size_type capacity ( ) const
inline

Definition at line 223 of file NoShrinkVector.h.

+ Here is the caller graph for this function:

◆ clear()

void clear ( )
inline

Definition at line 171 of file NoShrinkVector.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClearTotal()

void ClearTotal ( )
inline

Definition at line 180 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ end() [1/2]

T* end ( )
inline

Definition at line 395 of file NoShrinkVector.h.

+ Here is the caller graph for this function:

◆ end() [2/2]

const T* end ( ) const
inline

Definition at line 400 of file NoShrinkVector.h.

◆ erase()

void erase ( T where)
inline

Definition at line 369 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ front() [1/2]

T& front ( )
inline

Definition at line 435 of file NoShrinkVector.h.

◆ front() [2/2]

const T& front ( ) const
inline

Definition at line 440 of file NoShrinkVector.h.

◆ insert()

void insert ( T where,
const T v 
)
inline

Definition at line 327 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ operator const T *()

operator const T * ( ) const
inline

Definition at line 284 of file NoShrinkVector.h.

◆ operator T*()

operator T* ( )
inline

Definition at line 279 of file NoShrinkVector.h.

◆ operator=() [1/2]

NoShrinkVector< T >& operator= ( const NoShrinkVector< T, AllocatorT > &  v)
inline

Definition at line 114 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ operator=() [2/2]

NoShrinkVector< T >& operator= ( const NoShrinkVector< T, OtherAllocatorT > &  v)
inline

Definition at line 145 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ pop_back()

void pop_back ( )
inline

Definition at line 379 of file NoShrinkVector.h.

+ Here is the caller graph for this function:

◆ push_back()

void push_back ( const T v)
inline

Definition at line 299 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ rbegin() [1/2]

reverse_iterator rbegin ( )
inline

Definition at line 405 of file NoShrinkVector.h.

◆ rbegin() [2/2]

const_reverse_iterator rbegin ( ) const
inline

Definition at line 410 of file NoShrinkVector.h.

◆ rend() [1/2]

reverse_iterator rend ( )
inline

Definition at line 415 of file NoShrinkVector.h.

◆ rend() [2/2]

const_reverse_iterator rend ( ) const
inline

Definition at line 420 of file NoShrinkVector.h.

◆ reserve()

void reserve ( size_type  s)
inline

Definition at line 193 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ resize() [1/2]

void resize ( size_type  s)
inline

Definition at line 274 of file NoShrinkVector.h.

+ Here is the call graph for this function:

◆ resize() [2/2]

void resize ( size_type  s,
const value_type v 
)
inline

Definition at line 228 of file NoShrinkVector.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

size_type size ( ) const
inline

Definition at line 218 of file NoShrinkVector.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ const_iterator

const typedef T* const_iterator

Definition at line 24 of file NoShrinkVector.h.

◆ const_pointer

const typedef T* const_pointer

Definition at line 28 of file NoShrinkVector.h.

◆ const_reference

const typedef T& const_reference

Definition at line 26 of file NoShrinkVector.h.


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