Public Member Functions | Private Attributes | List of all members
YAML_PM::ptr_vector< T > Class Template Reference

#include <ptr_vector.h>

Inheritance diagram for YAML_PM::ptr_vector< T >:
Inheritance graph
[legend]

Public Member Functions

T & back ()
 
const T & back () const
 
void clear ()
 
bool empty () const
 
T & operator[] (std::size_t i)
 
const T & operator[] (std::size_t i) const
 
 ptr_vector ()
 
void push_back (std::auto_ptr< T > t)
 
std::size_t size () const
 
 ~ptr_vector ()
 

Private Attributes

std::vector< T * > m_data
 

Additional Inherited Members

- Private Member Functions inherited from YAML_PM::noncopyable
 noncopyable ()
 
 ~noncopyable ()
 

Detailed Description

template<typename T>
class YAML_PM::ptr_vector< T >

Definition at line 17 of file ptr_vector.h.

Constructor & Destructor Documentation

◆ ptr_vector()

template<typename T >
YAML_PM::ptr_vector< T >::ptr_vector ( )
inline

Definition at line 20 of file ptr_vector.h.

◆ ~ptr_vector()

template<typename T >
YAML_PM::ptr_vector< T >::~ptr_vector ( )
inline

Definition at line 21 of file ptr_vector.h.

Member Function Documentation

◆ back() [1/2]

template<typename T >
T& YAML_PM::ptr_vector< T >::back ( )
inline

Definition at line 39 of file ptr_vector.h.

◆ back() [2/2]

template<typename T >
const T& YAML_PM::ptr_vector< T >::back ( ) const
inline

Definition at line 40 of file ptr_vector.h.

◆ clear()

template<typename T >
void YAML_PM::ptr_vector< T >::clear ( )
inline

Definition at line 23 of file ptr_vector.h.

◆ empty()

template<typename T >
bool YAML_PM::ptr_vector< T >::empty ( ) const
inline

Definition at line 30 of file ptr_vector.h.

◆ operator[]() [1/2]

template<typename T >
T& YAML_PM::ptr_vector< T >::operator[] ( std::size_t  i)
inline

Definition at line 36 of file ptr_vector.h.

◆ operator[]() [2/2]

template<typename T >
const T& YAML_PM::ptr_vector< T >::operator[] ( std::size_t  i) const
inline

Definition at line 37 of file ptr_vector.h.

◆ push_back()

template<typename T >
void YAML_PM::ptr_vector< T >::push_back ( std::auto_ptr< T >  t)
inline

Definition at line 32 of file ptr_vector.h.

◆ size()

template<typename T >
std::size_t YAML_PM::ptr_vector< T >::size ( ) const
inline

Definition at line 29 of file ptr_vector.h.

Member Data Documentation

◆ m_data

template<typename T >
std::vector<T*> YAML_PM::ptr_vector< T >::m_data
private

Definition at line 43 of file ptr_vector.h.


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


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:01