OpenCV  2.4.13.5
Open Source Computer Vision
cv::Vector< _Tp > Class Template Reference

#include <operations.hpp>

Classes

struct  Hdr
 

Public Types

typedef _Tp value_type
 
typedef _Tp * iterator
 
typedef const _Tp * const_iterator
 
typedef _Tp & reference
 
typedef const _Tp & const_reference
 

Public Member Functions

 Vector ()
 
 Vector (size_t _size)
 
 Vector (size_t _size, const _Tp &val)
 
 Vector (_Tp *_data, size_t _size, bool _copyData=false)
 
template<int n>
 Vector (const Vec< _Tp, n > &vec)
 
 Vector (const std::vector< _Tp > &vec, bool _copyData=false)
 
 Vector (const Vector &d)
 
 Vector (const Vector &d, const Range &r_)
 
Vector< _Tp > & operator= (const Vector &d)
 
 ~Vector ()
 
Vector< _Tp > clone () const
 
void copyTo (Vector< _Tp > &vec) const
 
void copyTo (std::vector< _Tp > &vec) const
 
 operator CvMat () const
 
_Tp & operator[] (size_t i)
 
const _Tp & operator[] (size_t i) const
 
Vector operator() (const Range &r) const
 
_Tp & back ()
 
const _Tp & back () const
 
_Tp & front ()
 
const _Tp & front () const
 
_Tp * begin ()
 
_Tp * end ()
 
const _Tp * begin () const
 
const _Tp * end () const
 
void addref ()
 
void release ()
 
void set (_Tp *_data, size_t _size, bool _copyData=false)
 
void reserve (size_t newCapacity)
 
void resize (size_t newSize)
 
Vector< _Tp > & push_back (const _Tp &elem)
 
Vector< _Tp > & pop_back ()
 
size_t size () const
 
size_t capacity () const
 
bool empty () const
 
void clear ()
 
int type () const
 

Protected Attributes

Hdr hdr
 

Member Typedef Documentation

§ const_iterator

template<typename _Tp>
typedef const _Tp* cv::Vector< _Tp >::const_iterator

§ const_reference

template<typename _Tp>
typedef const _Tp& cv::Vector< _Tp >::const_reference

§ iterator

template<typename _Tp>
typedef _Tp* cv::Vector< _Tp >::iterator

§ reference

template<typename _Tp>
typedef _Tp& cv::Vector< _Tp >::reference

§ value_type

template<typename _Tp>
typedef _Tp cv::Vector< _Tp >::value_type

Constructor & Destructor Documentation

§ Vector() [1/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( )
inline

§ Vector() [2/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( size_t  _size)
inline

§ Vector() [3/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( size_t  _size,
const _Tp &  val 
)
inline

§ Vector() [4/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( _Tp *  _data,
size_t  _size,
bool  _copyData = false 
)
inline

§ Vector() [5/8]

template<typename _Tp>
template<int n>
cv::Vector< _Tp >::Vector ( const Vec< _Tp, n > &  vec)
inline

§ Vector() [6/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( const std::vector< _Tp > &  vec,
bool  _copyData = false 
)
inline

§ Vector() [7/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( const Vector< _Tp > &  d)
inline

§ Vector() [8/8]

template<typename _Tp>
cv::Vector< _Tp >::Vector ( const Vector< _Tp > &  d,
const Range r_ 
)
inline

§ ~Vector()

template<typename _Tp>
cv::Vector< _Tp >::~Vector ( )
inline

Member Function Documentation

§ addref()

template<typename _Tp>
void cv::Vector< _Tp >::addref ( )
inline

§ back() [1/2]

template<typename _Tp>
_Tp& cv::Vector< _Tp >::back ( )
inline

§ back() [2/2]

template<typename _Tp>
const _Tp& cv::Vector< _Tp >::back ( ) const
inline

§ begin() [1/2]

template<typename _Tp>
_Tp* cv::Vector< _Tp >::begin ( )
inline

§ begin() [2/2]

template<typename _Tp>
const _Tp* cv::Vector< _Tp >::begin ( ) const
inline

§ capacity()

template<typename _Tp>
size_t cv::Vector< _Tp >::capacity ( ) const
inline

§ clear()

template<typename _Tp>
void cv::Vector< _Tp >::clear ( )
inline

§ clone()

template<typename _Tp>
Vector<_Tp> cv::Vector< _Tp >::clone ( ) const
inline

§ copyTo() [1/2]

template<typename _Tp>
void cv::Vector< _Tp >::copyTo ( Vector< _Tp > &  vec) const
inline

§ copyTo() [2/2]

template<typename _Tp>
void cv::Vector< _Tp >::copyTo ( std::vector< _Tp > &  vec) const
inline

§ empty()

template<typename _Tp>
bool cv::Vector< _Tp >::empty ( ) const
inline

§ end() [1/2]

template<typename _Tp>
_Tp* cv::Vector< _Tp >::end ( )
inline

§ end() [2/2]

template<typename _Tp>
const _Tp* cv::Vector< _Tp >::end ( ) const
inline

§ front() [1/2]

template<typename _Tp>
_Tp& cv::Vector< _Tp >::front ( )
inline

§ front() [2/2]

template<typename _Tp>
const _Tp& cv::Vector< _Tp >::front ( ) const
inline

§ operator CvMat()

template<typename _Tp>
cv::Vector< _Tp >::operator CvMat ( ) const
inline

§ operator()()

template<typename _Tp>
Vector cv::Vector< _Tp >::operator() ( const Range r) const
inline

§ operator=()

template<typename _Tp>
Vector<_Tp>& cv::Vector< _Tp >::operator= ( const Vector< _Tp > &  d)
inline

§ operator[]() [1/2]

template<typename _Tp>
_Tp& cv::Vector< _Tp >::operator[] ( size_t  i)
inline

§ operator[]() [2/2]

template<typename _Tp>
const _Tp& cv::Vector< _Tp >::operator[] ( size_t  i) const
inline

§ pop_back()

template<typename _Tp>
Vector<_Tp>& cv::Vector< _Tp >::pop_back ( )
inline

§ push_back()

template<typename _Tp>
Vector<_Tp>& cv::Vector< _Tp >::push_back ( const _Tp &  elem)
inline

§ release()

template<typename _Tp>
void cv::Vector< _Tp >::release ( )
inline

§ reserve()

template<typename _Tp>
void cv::Vector< _Tp >::reserve ( size_t  newCapacity)
inline

§ resize()

template<typename _Tp>
void cv::Vector< _Tp >::resize ( size_t  newSize)
inline

§ set()

template<typename _Tp>
void cv::Vector< _Tp >::set ( _Tp *  _data,
size_t  _size,
bool  _copyData = false 
)
inline

§ size()

template<typename _Tp>
size_t cv::Vector< _Tp >::size ( ) const
inline

§ type()

template<typename _Tp>
int cv::Vector< _Tp >::type ( ) const
inline

Member Data Documentation

§ hdr

template<typename _Tp>
Hdr cv::Vector< _Tp >::hdr
protected

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