HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
weakPtrFacade.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/diagnostic.h"
#include "pxr/base/tf/hash.h"
#include "pxr/base/tf/refPtr.h"
#include "pxr/base/tf/weakBase.h"
#include "pxr/base/arch/demangle.h"
#include <type_traits>
+ Include dependency graph for weakPtrFacade.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TfRefPtr< T >
 
class  TfWeakPtrFacade< X, Y >
 
class  TfWeakPtrFacadeAccess
 
class  TfWeakPtrFacadeBase
 
class  TfWeakPtrFacade< X, Y >
 
struct  TfTypeFunctions< Ptr< T >, std::enable_if_t< std::is_base_of< TfWeakPtrFacadeBase, Ptr< T > >::value > >
 
struct  TfTypeFunctions< Ptr< const T >, std::enable_if_t< std::is_base_of< TfWeakPtrFacadeBase, Ptr< const T > >::value > >
 

Namespaces

 hboost
 

Functions

template<template< class > class X, class Y >
Y * get_pointer (TfWeakPtrFacade< X, Y > const &p)
 
template<class ToPtr , template< class > class X, class Y >
ToPtr TfDynamic_cast (TfWeakPtrFacade< X, Y > const &p)
 
template<class ToPtr , template< class > class X, class Y >
ToPtr TfSafeDynamic_cast (TfWeakPtrFacade< X, Y > const &p)
 
template<class ToPtr , template< class > class X, class Y >
ToPtr TfStatic_cast (TfWeakPtrFacade< X, Y > const &p)
 
template<class ToPtr , template< class > class X, class Y >
ToPtr TfConst_cast (TfWeakPtrFacade< X, Y > const &p)
 
template<class HashState , template< class > class X, class T >
void TfHashAppend (HashState &h, TfWeakPtrFacade< X, T > const &ptr)
 
template<template< class > class X, class T >
size_t hash_value (TfWeakPtrFacade< X, T > const &ptr)
 
template<template< class > class X, class Y >
bool operator== (TfWeakPtrFacade< X, Y > const &p, std::nullptr_t)
 
template<template< class > class X, class Y >
bool operator== (std::nullptr_t, TfWeakPtrFacade< X, Y > const &p)
 
template<template< class > class X, class Y >
bool operator!= (TfWeakPtrFacade< X, Y > const &p, std::nullptr_t)
 
template<template< class > class X, class Y >
bool operator!= (std::nullptr_t, TfWeakPtrFacade< X, Y > const &p)
 
template<template< class > class X, class Y >
bool operator< (TfWeakPtrFacade< X, Y > const &p, std::nullptr_t)
 
template<template< class > class X, class Y >
bool operator< (std::nullptr_t, TfWeakPtrFacade< X, Y > const &p)
 
template<template< class > class X, class Y >
bool operator<= (TfWeakPtrFacade< X, Y > const &p, std::nullptr_t)
 
template<template< class > class X, class Y >
bool operator<= (std::nullptr_t, TfWeakPtrFacade< X, Y > const &p)
 
template<template< class > class X, class Y >
bool operator> (TfWeakPtrFacade< X, Y > const &p, std::nullptr_t)
 
template<template< class > class X, class Y >
bool operator> (std::nullptr_t, TfWeakPtrFacade< X, Y > const &p)
 
template<template< class > class X, class Y >
bool operator>= (TfWeakPtrFacade< X, Y > const &p, std::nullptr_t)
 
template<template< class > class X, class Y >
bool operator>= (std::nullptr_t, TfWeakPtrFacade< X, Y > const &p)
 

Function Documentation

template<template< class > class X, class Y >
Y* get_pointer ( TfWeakPtrFacade< X, Y > const &  p)

Definition at line 83 of file weakPtrFacade.h.

template<template< class > class X, class T >
size_t hash_value ( TfWeakPtrFacade< X, T > const &  ptr)
inline

Definition at line 429 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator!= ( TfWeakPtrFacade< X, Y > const &  p,
std::nullptr_t   
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 273 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator!= ( std::nullptr_t  ,
TfWeakPtrFacade< X, Y > const &  p 
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 278 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator< ( TfWeakPtrFacade< X, Y > const &  p,
std::nullptr_t   
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 284 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator< ( std::nullptr_t  ,
TfWeakPtrFacade< X, Y > const &  p 
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 289 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator<= ( TfWeakPtrFacade< X, Y > const &  p,
std::nullptr_t   
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 295 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator<= ( std::nullptr_t  ,
TfWeakPtrFacade< X, Y > const &  p 
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 300 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator== ( TfWeakPtrFacade< X, Y > const &  p,
std::nullptr_t   
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 262 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator== ( std::nullptr_t  ,
TfWeakPtrFacade< X, Y > const &  p 
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 267 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator> ( TfWeakPtrFacade< X, Y > const &  p,
std::nullptr_t   
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 306 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator> ( std::nullptr_t  ,
TfWeakPtrFacade< X, Y > const &  p 
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 311 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator>= ( TfWeakPtrFacade< X, Y > const &  p,
std::nullptr_t   
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 317 of file weakPtrFacade.h.

template<template< class > class X, class Y >
bool operator>= ( std::nullptr_t  ,
TfWeakPtrFacade< X, Y > const &  p 
)
inline

comparisons

These are provided both to avoid ambiguous overloads due to TfWeakPtrFacade::Derived comparisons with TfRefPtr and because implicitly converting a nullptr to a TfWeakPtrFacade-derived type can add an unknown amount of overhead.

Definition at line 322 of file weakPtrFacade.h.

template<class ToPtr , template< class > class X, class Y >
ToPtr TfConst_cast ( TfWeakPtrFacade< X, Y > const &  p)

Definition at line 348 of file weakPtrFacade.h.

template<class ToPtr , template< class > class X, class Y >
ToPtr TfDynamic_cast ( TfWeakPtrFacade< X, Y > const &  p)

Definition at line 330 of file weakPtrFacade.h.

template<class HashState , template< class > class X, class T >
void TfHashAppend ( HashState &  h,
TfWeakPtrFacade< X, T > const &  ptr 
)
inline

Definition at line 421 of file weakPtrFacade.h.

template<class ToPtr , template< class > class X, class Y >
ToPtr TfSafeDynamic_cast ( TfWeakPtrFacade< X, Y > const &  p)

Definition at line 336 of file weakPtrFacade.h.

template<class ToPtr , template< class > class X, class Y >
ToPtr TfStatic_cast ( TfWeakPtrFacade< X, Y > const &  p)

Definition at line 342 of file weakPtrFacade.h.