Zero  0.1.0
Public Types | Public Member Functions | List of all members
pointer_guard_base_t< T, Impl > Struct Template Reference

#include <guard.h>

Inheritance diagram for pointer_guard_base_t< T, Impl >:
guard_base_t< T *, Impl >

Public Types

typedef guard_base_t< T *, Impl > Base
 
- Public Types inherited from guard_base_t< T *, Impl >
typedef guard_base_t< T *, Impl > Base
 

Public Member Functions

 pointer_guard_base_t (T *ptr)
 
Toperator* () const
 
 operator T* () const
 
Toperator-> () const
 
- Public Member Functions inherited from guard_base_t< T *, Impl >
 guard_base_t (T * obj)
 
 guard_base_t (const guard_base_t &other)
 
guard_base_toperator= (const guard_base_t &other)
 
 operator T* () const
 
Tget () const
 
Trelease () const
 Notifies this guard that its services are no longer needed because some other entity has assumed ownership of the pointer. More...
 
void done () const
 Notifies this guard that its action should be performed now rather than at destruct time. More...
 
 ~guard_base_t ()
 

Additional Inherited Members

- Static Public Member Functions inherited from guard_base_t< T *, Impl >
static Tnull_value ()
 
static bool different (const T * &a, const T * &b)
 
- Protected Member Functions inherited from guard_base_t< T *, Impl >
void assign (T * obj) const
 
- Protected Attributes inherited from guard_base_t< T *, Impl >
T_obj
 

Member Typedef Documentation

§ Base

template<typename T, typename Impl>
typedef guard_base_t<T*, Impl> pointer_guard_base_t< T, Impl >::Base

Constructor & Destructor Documentation

§ pointer_guard_base_t()

template<typename T, typename Impl>
pointer_guard_base_t< T, Impl >::pointer_guard_base_t ( T ptr)
inline

Member Function Documentation

§ operator T*()

template<typename T, typename Impl>
pointer_guard_base_t< T, Impl >::operator T* ( ) const
inline

§ operator*()

template<typename T, typename Impl>
T& pointer_guard_base_t< T, Impl >::operator* ( ) const
inline

§ operator->()

template<typename T, typename Impl>
T* pointer_guard_base_t< T, Impl >::operator-> ( ) const
inline

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