vrpn 07.36
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_vector< T > Class Template Reference

#include <vrpn_Shared.h>

Public Types

typedef size_t size_type
typedef T * iterator
typedef const T * const_iterator

Public Member Functions

 vrpn_vector ()
 vrpn_vector (size_type s)
 vrpn_vector (const vrpn_vector &from)
template<class InputIt>
 vrpn_vector (InputIt first, InputIt last)
 ~vrpn_vector ()
vrpn_vectoroperator= (const vrpn_vector &from)
T * data ()
size_type size () const
bool empty () const
void resize (size_type s)
void push_back (const T &val)
T & front ()
T & back ()
T & operator[] (size_type pos)
const T & operator[] (size_type pos) const
void assign (size_type count, const T &value)
void clear ()
template<class InputIt>
void assign (InputIt first, InputIt last)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const

Detailed Description

template<class T>
class vrpn_vector< T >

Definition at line 552 of file vrpn_Shared.h.

Member Typedef Documentation

◆ const_iterator

template<class T>
typedef const T* vrpn_vector< T >::const_iterator

Definition at line 556 of file vrpn_Shared.h.

◆ iterator

template<class T>
typedef T* vrpn_vector< T >::iterator

Definition at line 555 of file vrpn_Shared.h.

◆ size_type

template<class T>
typedef size_t vrpn_vector< T >::size_type

Definition at line 554 of file vrpn_Shared.h.

Constructor & Destructor Documentation

◆ vrpn_vector() [1/4]

template<class T>
vrpn_vector< T >::vrpn_vector ( )
inline

Definition at line 557 of file vrpn_Shared.h.

◆ vrpn_vector() [2/4]

template<class T>
vrpn_vector< T >::vrpn_vector ( size_type s)
inline

Definition at line 558 of file vrpn_Shared.h.

◆ vrpn_vector() [3/4]

template<class T>
vrpn_vector< T >::vrpn_vector ( const vrpn_vector< T > & from)
inline

Definition at line 562 of file vrpn_Shared.h.

◆ vrpn_vector() [4/4]

template<class T>
template<class InputIt>
vrpn_vector< T >::vrpn_vector ( InputIt first,
InputIt last )
inline

Definition at line 570 of file vrpn_Shared.h.

◆ ~vrpn_vector()

template<class T>
vrpn_vector< T >::~vrpn_vector ( )
inline

Definition at line 575 of file vrpn_Shared.h.

Member Function Documentation

◆ assign() [1/2]

template<class T>
template<class InputIt>
void vrpn_vector< T >::assign ( InputIt first,
InputIt last )
inline

Definition at line 633 of file vrpn_Shared.h.

◆ assign() [2/2]

template<class T>
void vrpn_vector< T >::assign ( size_type count,
const T & value )
inline

Definition at line 625 of file vrpn_Shared.h.

Referenced by vrpn_Log::setCompoundName(), and vrpn_test_vrpn_vector().

◆ back()

template<class T>
T & vrpn_vector< T >::back ( )
inline

Definition at line 616 of file vrpn_Shared.h.

Referenced by vrpn_test_vrpn_vector().

◆ begin() [1/2]

template<class T>
iterator vrpn_vector< T >::begin ( )
inline

◆ begin() [2/2]

template<class T>
const_iterator vrpn_vector< T >::begin ( ) const
inline

Definition at line 640 of file vrpn_Shared.h.

◆ clear()

template<class T>
void vrpn_vector< T >::clear ( )
inline

Definition at line 631 of file vrpn_Shared.h.

Referenced by vrpn_vector< pointer >::assign(), and vrpn_test_vrpn_vector().

◆ data()

template<class T>
T * vrpn_vector< T >::data ( )
inline

◆ empty()

template<class T>
bool vrpn_vector< T >::empty ( ) const
inline

◆ end() [1/2]

template<class T>
iterator vrpn_vector< T >::end ( )
inline

◆ end() [2/2]

template<class T>
const_iterator vrpn_vector< T >::end ( ) const
inline

Definition at line 648 of file vrpn_Shared.h.

◆ front()

template<class T>
T & vrpn_vector< T >::front ( )
inline

Definition at line 613 of file vrpn_Shared.h.

Referenced by vrpn_test_vrpn_vector().

◆ operator=()

template<class T>
vrpn_vector & vrpn_vector< T >::operator= ( const vrpn_vector< T > & from)
inline

Definition at line 579 of file vrpn_Shared.h.

◆ operator[]() [1/2]

template<class T>
T & vrpn_vector< T >::operator[] ( size_type pos)
inline

Definition at line 619 of file vrpn_Shared.h.

◆ operator[]() [2/2]

template<class T>
const T & vrpn_vector< T >::operator[] ( size_type pos) const
inline

Definition at line 622 of file vrpn_Shared.h.

◆ push_back()

◆ resize()

◆ size()

template<class T>
size_type vrpn_vector< T >::size ( ) const
inline

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