Fraxinus  17.12-rc3
An IGT application
Catch::Ptr< T > Class Template Reference

#include <catch.hpp>

Public Member Functions

 Ptr ()
 
 Ptr (T *p)
 
 Ptr (Ptr const &other)
 
 ~Ptr ()
 
void reset ()
 
Ptroperator= (T *p)
 
Ptroperator= (Ptr const &other)
 
void swap (Ptr &other)
 
T * get ()
 
const T * get () const
 
T & operator* () const
 
T * operator-> () const
 
bool operator! () const
 
 operator SafeBool::type () const
 

Detailed Description

template<typename T>
class Catch::Ptr< T >

Definition at line 305 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T>
Catch::Ptr< T >::Ptr ( )
inline

Definition at line 307 of file catch.hpp.

template<typename T>
Catch::Ptr< T >::Ptr ( T *  p)
inline

Definition at line 308 of file catch.hpp.

template<typename T>
Catch::Ptr< T >::Ptr ( Ptr< T > const &  other)
inline

Definition at line 312 of file catch.hpp.

template<typename T>
Catch::Ptr< T >::~Ptr ( )
inline

Definition at line 316 of file catch.hpp.

Member Function Documentation

template<typename T>
T* Catch::Ptr< T >::get ( )
inline

Definition at line 336 of file catch.hpp.

template<typename T>
const T* Catch::Ptr< T >::get ( ) const
inline

Definition at line 337 of file catch.hpp.

template<typename T>
Catch::Ptr< T >::operator SafeBool::type ( ) const
inline

Definition at line 341 of file catch.hpp.

template<typename T>
bool Catch::Ptr< T >::operator! ( ) const
inline

Definition at line 340 of file catch.hpp.

template<typename T>
T& Catch::Ptr< T >::operator* ( ) const
inline

Definition at line 338 of file catch.hpp.

template<typename T>
T* Catch::Ptr< T >::operator-> ( ) const
inline

Definition at line 339 of file catch.hpp.

template<typename T>
Ptr& Catch::Ptr< T >::operator= ( T *  p)
inline

Definition at line 325 of file catch.hpp.

template<typename T>
Ptr& Catch::Ptr< T >::operator= ( Ptr< T > const &  other)
inline

Definition at line 330 of file catch.hpp.

template<typename T>
void Catch::Ptr< T >::reset ( )
inline

Definition at line 320 of file catch.hpp.

template<typename T>
void Catch::Ptr< T >::swap ( Ptr< T > &  other)
inline

Definition at line 335 of file catch.hpp.


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