GATE
gate::Ref< T > Class Template Reference
Inheritance diagram for gate::Ref< T >:
gate::Wrapper< T > gate::SafeBoolBase< Wrapper< T > >

Public Types

typedef Wrapper< T > base_t
 
typedef Ref< T > self_t
 
- Public Types inherited from gate::Wrapper< T >
typedef T value_t
 
typedef T * ptr_t
 
typedef T const * const_ptr_t
 
typedef T & ref_t
 
typedef T const & const_ref_t
 
typedef Wrapper< T > self_t
 
- Public Types inherited from gate::SafeBoolBase< Wrapper< T > >
typedef void(SafeBoolBase::* bool_type) () const
 

Public Member Functions

 Ref (self_t const &src)
 
 Ref (base_t const &src)
 
 Ref (Ptr< T > &src)
 
void swap (self_t &that)
 
self_toperator= (self_t const &src)
 
self_toperator= (Ptr< T > &src)
 
- Public Member Functions inherited from gate::Wrapper< T >
 Wrapper (gate_wrapper_t *wrapper)
 
 Wrapper (self_t const &src)
 
 Wrapper (Ptr< T > &src)
 
void swap (self_t &that)
 
self_toperator= (self_t const &src)
 
bool hasValue () const noexcept
 
bool empty () const noexcept
 
bool operator! () const noexcept
 
ptr_t get () const noexcept
 
ref_t value () noexcept
 
const_ref_t value () const noexcept
 
const_ref_t value (const_ref_t defaultValue) const
 
void const * type () const noexcept
 
bool equalsTypeOf (self_t const &that) const noexcept
 
size_t size () const noexcept
 
self_t const & andThen (Delegate1< value_t & > const &callback) const
 
self_t const & orElse (Delegate0 const &callback) const
 
self_t const & orThrow () const
 
ptr_t operator-> () noexcept
 
const_ptr_t operator-> () const noexcept
 
ref_t operator* () noexcept
 
const_ref_t operator* () const noexcept
 
bool operator== (self_t const &that) const noexcept
 
bool operator!= (self_t const &that) const noexcept
 
bool operator< (self_t const &that) const noexcept
 
bool operator<= (self_t const &that) const noexcept
 
bool operator> (self_t const &that) const noexcept
 
bool operator>= (self_t const &that) const noexcept
 
 Wrapper (ptr_t ptr_external, gate_mem_dtor_t specialDestructor=NULL)
 
- Public Member Functions inherited from gate::SafeBoolBase< Wrapper< T > >
 operator bool_type () const
 

Additional Inherited Members

- Static Public Member Functions inherited from gate::Wrapper< T >
static self_t create (value_t const &src)
 
static self_t fromPtr (ptr_t ptr)
 

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