1.2.3
CCC
 
VectorT< T > Class Template Reference

#include <VectorT.hpp>

Inheritance diagram for VectorT< T >:
VectorNumT< T >

Public Types

typedef std::vector< TVector
 
typedef Vector::value_type value_type
 
typedef Vector::size_type size_type
 
typedef Vector::iterator iterator
 
typedef Vector::const_iterator const_iterator
 
typedef Vector::reverse_iterator reverse_iterator
 
typedef Vector::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

 VectorT ()
 
 VectorT (const Vector &vec)
 
 VectorT (size_type count, const T &value=T())
 
template<class InputIt >
 VectorT (InputIt first, InputIt last)
 
 VectorT (const VectorT &other)=default
 
 VectorT (std::initializer_list< T > init)
 
 VectorT (VectorT &&other)
 
 ~VectorT ()=default
 
 operator const Vector & () const
 
VectorgetVector () const
 
VectorgetVectorPtr () const
 
VectorToperator= (const Vector &vec)
 
VectorToperator= (const VectorT &other)
 
VectorToperator= (VectorT &&other)
 
VectorToperator= (std::initializer_list< T > init)
 
bool operator== (const VectorT &other) const
 
bool operator!= (const VectorT &other) const
 
bool operator< (const VectorT &other) const
 
bool operator<= (const VectorT &other) const
 
bool operator> (const VectorT &other) const
 
bool operator>= (const VectorT &other) const
 
const TgetAt (int pos) const
 
void setAt (int pos, const T &v)
 
int length () const
 
const Tat (size_type pos) const
 
Tat (size_type pos)
 
const Toperator[] (size_type pos) const
 
Toperator[] (size_type pos)
 
Tfront ()
 
const Tfront () const
 
Tback ()
 
const Tback () const
 
Tdata ()
 
const Tdata () const
 
const TconstData () const
 
Tsubdata (size_type i=0)
 
const Tsubdata (size_type i=0) const
 
bool empty () const
 
size_type size () const
 
void reserve (size_type new_cap)
 
size_type capacity () const
 
void clear ()
 
void insert (size_type i, const T &value)
 
void insert (size_type i, size_type count, const T &value)
 
iterator insert (const_iterator pos, const_iterator first, const_iterator last)
 
void remove (size_type i)
 
void remove (size_type i, size_type count)
 
iterator erase (const_iterator pos)
 
iterator erase (const_iterator first, const_iterator last)
 
void push_back (const T &value)
 
void push_front (const T &value)
 
void push_back (const T &&value)
 
void push_front (const T &&value)
 
void resize (size_type count)
 
void resize (size_type count, const T &value)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator crbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator crend () const
 
VectorToperator<< (const T &value)
 
VectorToperator<< (const VectorT< T > &v)
 
void swap (VectorT &other)
 
bool contains (const T &value) const
 
void fill (const T &value, size_type size=0)
 
template<class InputIt >
void assign (InputIt first, InputIt last)
 
String toString () const
 

Member Typedef Documentation

template<typename T>
typedef Vector::const_iterator VectorT< T >::const_iterator
template<typename T>
typedef Vector::const_reverse_iterator VectorT< T >::const_reverse_iterator
template<typename T>
typedef Vector::iterator VectorT< T >::iterator
template<typename T>
typedef Vector::reverse_iterator VectorT< T >::reverse_iterator
template<typename T>
typedef Vector::size_type VectorT< T >::size_type
template<typename T>
typedef Vector::value_type VectorT< T >::value_type
template<typename T>
typedef std::vector<T> VectorT< T >::Vector

Constructor & Destructor Documentation

template<typename T>
VectorT< T >::VectorT ( )
inline
template<typename T>
VectorT< T >::VectorT ( const Vector vec)
inline
template<typename T>
VectorT< T >::VectorT ( size_type  count,
const T value = T() 
)
inline
template<typename T>
template<class InputIt >
VectorT< T >::VectorT ( InputIt  first,
InputIt  last 
)
inline
template<typename T>
VectorT< T >::VectorT ( const VectorT< T > &  other)
inlinedefault
template<typename T>
VectorT< T >::VectorT ( std::initializer_list< T init)
inline
template<typename T>
VectorT< T >::VectorT ( VectorT< T > &&  other)
inline
template<typename T>
VectorT< T >::~VectorT ( )
inlinedefault

Member Function Documentation

template<typename T>
template<class InputIt >
void VectorT< T >::assign ( InputIt  first,
InputIt  last 
)
inline
template<typename T >
const T & VectorT< T >::at ( size_type  pos) const
inline
template<typename T >
T & VectorT< T >::at ( size_type  pos)
inline
template<typename T>
T& VectorT< T >::back ( )
inline
template<typename T>
const T& VectorT< T >::back ( ) const
inline
template<typename T>
iterator VectorT< T >::begin ( )
inline
template<typename T>
const_iterator VectorT< T >::begin ( ) const
inline
template<typename T>
size_type VectorT< T >::capacity ( ) const
inline
template<typename T>
const_iterator VectorT< T >::cbegin ( ) const
inline
template<typename T>
const_iterator VectorT< T >::cend ( ) const
inline
template<typename T>
void VectorT< T >::clear ( )
inline
template<typename T>
const T* VectorT< T >::constData ( ) const
inline
template<typename T>
bool VectorT< T >::contains ( const T value) const
inline
template<typename T>
const_reverse_iterator VectorT< T >::crbegin ( ) const
inline
template<typename T>
const_reverse_iterator VectorT< T >::crend ( ) const
inline
template<typename T>
T* VectorT< T >::data ( )
inline
template<typename T>
const T* VectorT< T >::data ( ) const
inline
template<typename T>
bool VectorT< T >::empty ( ) const
inline
template<typename T>
iterator VectorT< T >::end ( )
inline
template<typename T>
const_iterator VectorT< T >::end ( ) const
inline
template<typename T>
iterator VectorT< T >::erase ( const_iterator  pos)
inline
template<typename T>
iterator VectorT< T >::erase ( const_iterator  first,
const_iterator  last 
)
inline
template<typename T>
void VectorT< T >::fill ( const T value,
size_type  size = 0 
)
inline
template<typename T>
T& VectorT< T >::front ( )
inline
template<typename T>
const T& VectorT< T >::front ( ) const
inline
template<typename T >
const T & VectorT< T >::getAt ( int  pos) const
inline
template<typename T>
Vector& VectorT< T >::getVector ( ) const
inline
template<typename T>
Vector* VectorT< T >::getVectorPtr ( ) const
inline
template<typename T>
void VectorT< T >::insert ( size_type  i,
const T value 
)
inline
template<typename T>
void VectorT< T >::insert ( size_type  i,
size_type  count,
const T value 
)
inline
template<typename T>
iterator VectorT< T >::insert ( const_iterator  pos,
const_iterator  first,
const_iterator  last 
)
inline
template<typename T >
int VectorT< T >::length ( ) const
inline
template<typename T>
VectorT< T >::operator const Vector & ( ) const
inline
template<typename T>
bool VectorT< T >::operator!= ( const VectorT< T > &  other) const
inline
template<typename T>
bool VectorT< T >::operator< ( const VectorT< T > &  other) const
inline
template<typename T>
VectorT< T > & VectorT< T >::operator<< ( const T value)
inline
template<typename T>
VectorT< T > & VectorT< T >::operator<< ( const VectorT< T > &  v)
inline
template<typename T>
bool VectorT< T >::operator<= ( const VectorT< T > &  other) const
inline
template<typename T>
VectorT& VectorT< T >::operator= ( const Vector vec)
inline
template<typename T>
VectorT& VectorT< T >::operator= ( const VectorT< T > &  other)
inline
template<typename T>
VectorT& VectorT< T >::operator= ( VectorT< T > &&  other)
inline
template<typename T>
VectorT& VectorT< T >::operator= ( std::initializer_list< T init)
inline
template<typename T>
bool VectorT< T >::operator== ( const VectorT< T > &  other) const
inline
template<typename T>
bool VectorT< T >::operator> ( const VectorT< T > &  other) const
inline
template<typename T>
bool VectorT< T >::operator>= ( const VectorT< T > &  other) const
inline
template<typename T >
const T & VectorT< T >::operator[] ( size_type  pos) const
inline
template<typename T >
T & VectorT< T >::operator[] ( size_type  pos)
inline
template<typename T>
void VectorT< T >::push_back ( const T value)
inline
template<typename T>
void VectorT< T >::push_back ( const T &&  value)
inline
template<typename T>
void VectorT< T >::push_front ( const T value)
inline
template<typename T>
void VectorT< T >::push_front ( const T &&  value)
inline
template<typename T>
reverse_iterator VectorT< T >::rbegin ( )
inline
template<typename T>
void VectorT< T >::remove ( size_type  i)
inline
template<typename T>
void VectorT< T >::remove ( size_type  i,
size_type  count 
)
inline
template<typename T>
reverse_iterator VectorT< T >::rend ( )
inline
template<typename T>
void VectorT< T >::reserve ( size_type  new_cap)
inline
template<typename T>
void VectorT< T >::resize ( size_type  count)
inline
template<typename T>
void VectorT< T >::resize ( size_type  count,
const T value 
)
inline
template<typename T>
void VectorT< T >::setAt ( int  pos,
const T v 
)
inline
template<typename T>
size_type VectorT< T >::size ( ) const
inline
template<typename T>
T* VectorT< T >::subdata ( size_type  i = 0)
inline
template<typename T>
const T* VectorT< T >::subdata ( size_type  i = 0) const
inline
template<typename T >
void VectorT< T >::swap ( VectorT< T > &  other)
inline
template<typename T >
String VectorT< T >::toString ( ) const
inline

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