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/refPtr.h"
#include "pxr/base/tf/weakBase.h"
#include "pxr/base/arch/demangle.h"
#include <hboost/functional/hash_fwd.hpp>
#include <hboost/mpl/or.hpp>
#include <hboost/type_traits/is_base_of.hpp>
#include <hboost/type_traits/is_same.hpp>
#include <hboost/utility/enable_if.hpp>
+ 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 >, typename hboost::enable_if< hboost::is_base_of< TfWeakPtrFacadeBase, Ptr< T > > >::type >
 
struct  TfTypeFunctions< Ptr< const T >, typename hboost::enable_if< hboost::is_base_of< TfWeakPtrFacadeBase, Ptr< const T > > >::type >
 

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 86 of file weakPtrFacade.h.

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

Definition at line 432 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 276 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 281 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 287 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 292 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 298 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 303 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 265 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 270 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 309 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 314 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 320 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 325 of file weakPtrFacade.h.

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

Definition at line 351 of file weakPtrFacade.h.

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

Definition at line 333 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 424 of file weakPtrFacade.h.

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

Definition at line 339 of file weakPtrFacade.h.

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

Definition at line 345 of file weakPtrFacade.h.