fb-cpp 0.0.1
A modern C++ wrapper for the Firebird database API
Loading...
Searching...
No Matches
fbcpp::FbRef< T > Class Template Referencefinal

Public Member Functions

 FbRef (std::nullptr_t) noexcept
 
 FbRef (T *p) noexcept
 
template<typename Y >
 FbRef (Y *p) noexcept
 
 FbRef (FbRef &r) noexcept
 
template<typename Y >
 FbRef (FbRef< Y > &r) noexcept
 
 FbRef (FbRef &&r) noexcept
 
void reset (T *p=nullptr) noexcept
 
FbRefoperator= (FbRef &r) noexcept
 
template<typename Y >
FbRefoperator= (FbRef< Y > &r) noexcept
 
FbRefoperator= (FbRef &&r) noexcept
 
T * operator-> () noexcept
 
const T * operator-> () const noexcept
 
 operator bool () const noexcept
 
bool operator! () const noexcept
 
bool operator== (const FbRef &other) const noexcept
 
bool operator== (const T *other) const noexcept
 
bool operator!= (const FbRef &other) const noexcept
 
bool operator!= (const T *other) const noexcept
 
T * get () noexcept
 
const T * get () const noexcept
 

Detailed Description

template<typename T>
class fbcpp::FbRef< T >

Definition at line 59 of file SmartPtrs.h.

Constructor & Destructor Documentation

◆ FbRef() [1/7]

template<typename T >
fbcpp::FbRef< T >::FbRef ( )
inlinenoexcept

Definition at line 65 of file SmartPtrs.h.

◆ FbRef() [2/7]

template<typename T >
fbcpp::FbRef< T >::FbRef ( std::nullptr_t  )
inlinenoexcept

Definition at line 70 of file SmartPtrs.h.

◆ FbRef() [3/7]

template<typename T >
fbcpp::FbRef< T >::FbRef ( T *  p)
inlineexplicitnoexcept

Definition at line 75 of file SmartPtrs.h.

◆ FbRef() [4/7]

template<typename T >
template<typename Y >
fbcpp::FbRef< T >::FbRef ( Y *  p)
inlineexplicitnoexcept

Definition at line 81 of file SmartPtrs.h.

◆ FbRef() [5/7]

template<typename T >
fbcpp::FbRef< T >::FbRef ( FbRef< T > &  r)
inlinenoexcept

Definition at line 86 of file SmartPtrs.h.

◆ FbRef() [6/7]

template<typename T >
template<typename Y >
fbcpp::FbRef< T >::FbRef ( FbRef< Y > &  r)
inlinenoexcept

Definition at line 93 of file SmartPtrs.h.

◆ FbRef() [7/7]

template<typename T >
fbcpp::FbRef< T >::FbRef ( FbRef< T > &&  r)
inlinenoexcept

Definition at line 99 of file SmartPtrs.h.

◆ ~FbRef()

template<typename T >
fbcpp::FbRef< T >::~FbRef ( )
inlinenoexcept

Definition at line 105 of file SmartPtrs.h.

Member Function Documentation

◆ get() [1/2]

template<typename T >
const T * fbcpp::FbRef< T >::get ( ) const
inlinenoexcept

Definition at line 188 of file SmartPtrs.h.

◆ get() [2/2]

template<typename T >
T * fbcpp::FbRef< T >::get ( )
inlinenoexcept

Definition at line 183 of file SmartPtrs.h.

◆ operator bool()

template<typename T >
fbcpp::FbRef< T >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 153 of file SmartPtrs.h.

◆ operator!()

template<typename T >
bool fbcpp::FbRef< T >::operator! ( ) const
inlinenoexcept

Definition at line 158 of file SmartPtrs.h.

◆ operator!=() [1/2]

template<typename T >
bool fbcpp::FbRef< T >::operator!= ( const FbRef< T > &  other) const
inlinenoexcept

Definition at line 173 of file SmartPtrs.h.

◆ operator!=() [2/2]

template<typename T >
bool fbcpp::FbRef< T >::operator!= ( const T *  other) const
inlinenoexcept

Definition at line 178 of file SmartPtrs.h.

◆ operator->() [1/2]

template<typename T >
const T * fbcpp::FbRef< T >::operator-> ( ) const
inlinenoexcept

Definition at line 148 of file SmartPtrs.h.

◆ operator->() [2/2]

template<typename T >
T * fbcpp::FbRef< T >::operator-> ( )
inlinenoexcept

Definition at line 143 of file SmartPtrs.h.

◆ operator=() [1/3]

template<typename T >
FbRef & fbcpp::FbRef< T >::operator= ( FbRef< T > &&  r)
inlinenoexcept

Definition at line 129 of file SmartPtrs.h.

◆ operator=() [2/3]

template<typename T >
FbRef & fbcpp::FbRef< T >::operator= ( FbRef< T > &  r)
inlinenoexcept

Definition at line 116 of file SmartPtrs.h.

◆ operator=() [3/3]

template<typename T >
template<typename Y >
FbRef & fbcpp::FbRef< T >::operator= ( FbRef< Y > &  r)
inlinenoexcept

Definition at line 123 of file SmartPtrs.h.

◆ operator==() [1/2]

template<typename T >
bool fbcpp::FbRef< T >::operator== ( const FbRef< T > &  other) const
inlinenoexcept

Definition at line 163 of file SmartPtrs.h.

◆ operator==() [2/2]

template<typename T >
bool fbcpp::FbRef< T >::operator== ( const T *  other) const
inlinenoexcept

Definition at line 168 of file SmartPtrs.h.

◆ reset()

template<typename T >
void fbcpp::FbRef< T >::reset ( T *  p = nullptr)
inlinenoexcept

Definition at line 111 of file SmartPtrs.h.

Friends And Related Symbol Documentation

◆ FbRef

template<typename T >
template<typename Y >
friend class FbRef
friend

Definition at line 62 of file SmartPtrs.h.


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