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

#include <ptr_stack.h>

Inheritance diagram for ptr_stack< T >:
Inheritance graph
[legend]

Public Member Functions

void clear ()
 
bool empty () const
 
std::auto_ptr< T > pop ()
 
 ptr_stack ()
 
void push (std::auto_ptr< T > t)
 
std::size_t size () const
 
T & top ()
 
const T & top () const
 
 ~ptr_stack ()
 

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 ptr_stack< T >

Definition at line 15 of file ptr_stack.h.

Constructor & Destructor Documentation

◆ ptr_stack()

template<typename T>
ptr_stack< T >::ptr_stack ( )
inline

Definition at line 18 of file ptr_stack.h.

◆ ~ptr_stack()

template<typename T>
ptr_stack< T >::~ptr_stack ( )
inline

Definition at line 19 of file ptr_stack.h.

Member Function Documentation

◆ clear()

template<typename T>
void ptr_stack< T >::clear ( )
inline

Definition at line 21 of file ptr_stack.h.

◆ empty()

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

Definition at line 28 of file ptr_stack.h.

◆ pop()

template<typename T>
std::auto_ptr<T> ptr_stack< T >::pop ( )
inline

Definition at line 34 of file ptr_stack.h.

◆ push()

template<typename T>
void ptr_stack< T >::push ( std::auto_ptr< T >  t)
inline

Definition at line 30 of file ptr_stack.h.

◆ size()

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

Definition at line 27 of file ptr_stack.h.

◆ top() [1/2]

template<typename T>
T& ptr_stack< T >::top ( )
inline

Definition at line 39 of file ptr_stack.h.

◆ top() [2/2]

template<typename T>
const T& ptr_stack< T >::top ( ) const
inline

Definition at line 40 of file ptr_stack.h.

Member Data Documentation

◆ m_data

template<typename T>
std::vector<T*> ptr_stack< T >::m_data
private

Definition at line 43 of file ptr_stack.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:04