Public Member Functions | Private Attributes
ptr_stack< T > Class Template Reference

#include <ptr_stack.h>

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

List of all members.

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

Detailed Description

template<typename T>
class ptr_stack< T >

Definition at line 15 of file ptr_stack.h.


Constructor & Destructor Documentation

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

Definition at line 18 of file ptr_stack.h.

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

Definition at line 19 of file ptr_stack.h.


Member Function Documentation

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

Definition at line 21 of file ptr_stack.h.

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

Definition at line 28 of file ptr_stack.h.

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

Definition at line 34 of file ptr_stack.h.

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

Definition at line 30 of file ptr_stack.h.

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

Definition at line 27 of file ptr_stack.h.

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

Definition at line 39 of file ptr_stack.h.

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

Definition at line 40 of file ptr_stack.h.


Member Data Documentation

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:


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:42