CommonLibVR
|
#include <COMPTR.h>
Public Member Functions | |
constexpr | ComPtr () noexcept=default |
constexpr | ComPtr (std::nullptr_t) noexcept |
ComPtr (const ComPtr &a_other) noexcept | |
template<class U > | |
ComPtr (U *a_other) noexcept | |
~ComPtr () noexcept | |
ComPtr & | operator= (std::nullptr_t) noexcept |
ComPtr & | operator= (T *a_other) noexcept |
template<class U > | |
ComPtr & | operator= (U *a_other) noexcept |
ComPtr & | operator= (const ComPtr &a_other) noexcept |
template<class U > | |
ComPtr & | operator= (const ComPtr< U > &a_other) noexcept |
ComPtr & | operator= (ComPtr &&a_other) noexcept |
template<class U > | |
ComPtr & | operator= (ComPtr< U > &&a_other) noexcept |
T * | operator-> () const noexcept |
void | Attach (T *a_other) noexcept |
T * | Detach () noexcept |
T * | Get () const noexcept |
T ** | GetAddressOf () noexcept |
T *const * | GetAddressOf () const noexcept |
T ** | ReleaseAndGetAddressOf () noexcept |
std::uint32_t | Reset () noexcept |
void | Swap (ComPtr &a_other) noexcept |
void | Swap (ComPtr &&a_other) noexcept |
template<class U > | |
HRESULT | As (ComPtr< U > *a_ptr) const noexcept |
template<class U > | |
HRESULT | AsIID (const IID &a_iid, ComPtr< U > *a_ptr) const noexcept |
HRESULT | CopyTo (const IID &a_iid, void **a_ptr) const noexcept |
HRESULT | CopyTo (T **a_ptr) const noexcept |
template<class U > | |
HRESULT | CopyTo (U **a_ptr) const noexcept |
Protected Member Functions | |
void | TryAddRef () const noexcept |
std::uint32_t | TryRelease () noexcept |
Protected Attributes | |
T * | _ptr { nullptr } |
Friends | |
template<class U > | |
struct | ComPtr |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
protected |