#include <OE/Engine/MemoryDomain.hpp>
template<typename T>
Ptr class
Contents
Derived classes
Constructors, destructors, conversion operators
-
Ptr(T* ptr = 0,
Meta::
Type* type = 0, RefCount* ref_count = 0) - ~Ptr() virtual
- operator bool() const
Public functions
-
auto GetType() const -> Meta::
Type* - void Clear() virtual
- auto Get() const -> T*
- auto operator->() const -> T*
- auto operator==(const Ptr& rhs) const -> bool
- auto operator!=(const Ptr& rhs) const -> bool
-
template<typename V>auto AsWeak() -> WeakPtr<V>
-
template<typename V>auto AsStrong() -> StrongPtr<V>
Protected functions
- void BuildFromPtr(const Ptr<T>& ptr) virtual
Protected variables
Function documentation
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
OrbitEngine:: Ptr<T>:: Ptr(T* ptr = 0,
Meta:: Type* type = 0,
RefCount* ref_count = 0)
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
OrbitEngine:: Ptr<T>:: ~Ptr() virtual
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
OrbitEngine:: Ptr<T>:: operator bool() const
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
Meta:: Type* OrbitEngine:: Ptr<T>:: GetType() const
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
void OrbitEngine:: Ptr<T>:: Clear() virtual
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
T* OrbitEngine:: Ptr<T>:: Get() const
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
T* OrbitEngine:: Ptr<T>:: operator->() const
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
bool OrbitEngine:: Ptr<T>:: operator==(const Ptr& rhs) const
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
bool OrbitEngine:: Ptr<T>:: operator!=(const Ptr& rhs) const
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
template<typename V>
WeakPtr<V> OrbitEngine:: Ptr<T>:: AsWeak()
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
template<typename V>
StrongPtr<V> OrbitEngine:: Ptr<T>:: AsStrong()
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
void OrbitEngine:: Ptr<T>:: BuildFromPtr(const Ptr<T>& ptr) virtual protected
Variable documentation
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
T* OrbitEngine:: Ptr<T>:: m_Ptr protected
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
Meta:: Type* OrbitEngine:: Ptr<T>:: m_Type protected
#include <OE/Memory/Ptrs.hpp>
template<typenameT>
RefCount* OrbitEngine:: Ptr<T>:: m_RefCount protected