Vector< T, AllocatorT > Class Template Reference

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

+ Inheritance diagram for Vector< T, AllocatorT >:

Public Types

typedef const Tconst_iterator
 
typedef const Tconst_pointer
 
typedef const Tconst_reference
 
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 ()
 
Tend ()
 
const Tend () const
 
void erase (T *where)
 
Tfront ()
 
const Tfront () const
 
void insert (T *where, const T &v)
 
 operator const T * () const
 
 operator T* ()
 
Vector< T, AllocatorT > & operator= (const Vector< T, AllocatorT > &v)
 
template<class OtherAllocatorT>
Vector< T, AllocatorT > & operator= (const Vector< 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
 
 Vector ()
 
 Vector (const Vector< T, AllocatorT > &v)
 
template<class OtherAllocatorT>
 Vector (const Vector< T, OtherAllocatorT > &v)
 
 Vector (size_type s)
 
 Vector (size_type s, const T &v)
 
 ~Vector ()
 

Additional Inherited Members

- Protected Types inherited from AlignedAllocator< T, Align >
typedef const Tconst_pointer
 
typedef const Tconst_reference
 
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, Align >
const_pointer address (const_reference x) const
 
pointer address (reference x) const
 
 AlignedAllocator () throw ()
 
 AlignedAllocator (const AlignedAllocator< T, Align > &) throw ()
 
template<class U>
 AlignedAllocator (const AlignedAllocator< U, Align > &) 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 ()
 
template<class U>
bool operator!= (const AlignedAllocator< U, Align > &) const
 
template<class U>
bool operator!= (const U &) const
 
template<class U>
bool operator== (const AlignedAllocator< U, Align > &) const
 
template<class U>
bool operator== (const U &) const
 

Detailed Description

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

Definition at line 19 of file Vector.h.

Member Typedef Documentation

◆ const_iterator

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef const T* const_iterator

Definition at line 25 of file Vector.h.

◆ const_pointer

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef const T* const_pointer

Definition at line 29 of file Vector.h.

◆ const_reference

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef const T& const_reference

Definition at line 27 of file Vector.h.

◆ const_reverse_iterator

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef std::reverse_iterator<const T*> const_reverse_iterator

Definition at line 32 of file Vector.h.

◆ iterator

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef T* iterator

Definition at line 24 of file Vector.h.

◆ pointer

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef T* pointer

Definition at line 28 of file Vector.h.

◆ ptrdiff_t

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef size_t ptrdiff_t

Definition at line 30 of file Vector.h.

◆ reference

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef T& reference

Definition at line 26 of file Vector.h.

◆ reverse_iterator

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef std::reverse_iterator<T*> reverse_iterator

Definition at line 31 of file Vector.h.

◆ size_type

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef size_t size_type

Definition at line 22 of file Vector.h.

◆ value_type

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
typedef T value_type

Definition at line 23 of file Vector.h.

Constructor & Destructor Documentation

◆ Vector() [1/5]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
Vector ( )
inline

Definition at line 34 of file Vector.h.

◆ Vector() [2/5]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
Vector ( size_type s)
inline

Definition at line 41 of file Vector.h.

◆ Vector() [3/5]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
Vector ( size_type s,
const T & v )
inline

Definition at line 53 of file Vector.h.

◆ Vector() [4/5]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
Vector ( const Vector< T, AllocatorT > & v)
inline

Definition at line 64 of file Vector.h.

◆ Vector() [5/5]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
template<class OtherAllocatorT>
Vector ( const Vector< T, OtherAllocatorT > & v)
inline

Definition at line 84 of file Vector.h.

◆ ~Vector()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
~Vector ( )
inline

Definition at line 103 of file Vector.h.

Member Function Documentation

◆ at() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
T & at ( size_type i)
inline

Definition at line 314 of file Vector.h.

+ Here is the caller graph for this function:

◆ at() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const T & at ( size_type i) const
inline

Definition at line 320 of file Vector.h.

◆ back() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
T & back ( )
inline

Definition at line 520 of file Vector.h.

+ Here is the caller graph for this function:

◆ back() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const T & back ( ) const
inline

Definition at line 526 of file Vector.h.

◆ begin() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
T * begin ( )
inline

Definition at line 472 of file Vector.h.

+ Here is the caller graph for this function:

◆ begin() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const T * begin ( ) const
inline

Definition at line 478 of file Vector.h.

◆ capacity()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
size_type capacity ( ) const
inline

Definition at line 221 of file Vector.h.

+ Here is the caller graph for this function:

◆ clear()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void clear ( )
inline

Definition at line 175 of file Vector.h.

+ Here is the caller graph for this function:

◆ end() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
T * end ( )
inline

Definition at line 484 of file Vector.h.

+ Here is the caller graph for this function:

◆ end() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const T * end ( ) const
inline

Definition at line 490 of file Vector.h.

◆ erase()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void erase ( T * where)
inline

Definition at line 426 of file Vector.h.

+ Here is the caller graph for this function:

◆ front() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
T & front ( )
inline

Definition at line 532 of file Vector.h.

+ Here is the caller graph for this function:

◆ front() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const T & front ( ) const
inline

Definition at line 538 of file Vector.h.

◆ insert()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void insert ( T * where,
const T & v )
inline

Definition at line 383 of file Vector.h.

◆ operator const T *()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
operator const T * ( ) const
inline

Definition at line 308 of file Vector.h.

◆ operator T*()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
operator T* ( )
inline

Definition at line 303 of file Vector.h.

◆ operator=() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
Vector< T, AllocatorT > & operator= ( const Vector< T, AllocatorT > & v)
inline

Definition at line 116 of file Vector.h.

◆ operator=() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
template<class OtherAllocatorT>
Vector< T, AllocatorT > & operator= ( const Vector< T, OtherAllocatorT > & v)
inline

Definition at line 148 of file Vector.h.

◆ pop_back()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void pop_back ( )
inline

Definition at line 451 of file Vector.h.

◆ push_back()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void push_back ( const T & v)
inline

Definition at line 354 of file Vector.h.

+ Here is the caller graph for this function:

◆ rbegin() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
reverse_iterator rbegin ( )
inline

Definition at line 496 of file Vector.h.

◆ rbegin() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const_reverse_iterator rbegin ( ) const
inline

Definition at line 502 of file Vector.h.

◆ rend() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
reverse_iterator rend ( )
inline

Definition at line 508 of file Vector.h.

◆ rend() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
const_reverse_iterator rend ( ) const
inline

Definition at line 514 of file Vector.h.

◆ reserve()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void reserve ( size_type s)
inline

Definition at line 189 of file Vector.h.

+ Here is the caller graph for this function:

◆ resize() [1/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void resize ( size_type s)
inline

Definition at line 298 of file Vector.h.

◆ resize() [2/2]

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
void resize ( size_type s,
const value_type & v )
inline

Definition at line 227 of file Vector.h.

+ Here is the caller graph for this function:

◆ size()

template<class T, class AllocatorT = MiscLib::AlignedAllocator<T>>
size_type size ( ) const
inline

Definition at line 215 of file Vector.h.


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