AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
ref_ptr.h File Reference
#include <agx/macros.h>
#include <agx/hash.h>
#include <agx/HashFunction.h>

Go to the source code of this file.

Classes

struct  agx::HashFn< ref_ptr< T > >
 
class  agx::ref_ptr< T >
 Smart pointer for handling referenced counted objects. More...
 
struct  agx::RefPtrAccessor< Type >
 

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 
namespace  std
 STL namespace.
 

Functions

template<class T , class Y >
ref_ptr< T > agx::const_pointer_cast (const ref_ptr< Y > &rp)
 
template<class T , class Y >
ref_ptr< T > agx::dynamic_pointer_cast (const ref_ptr< Y > &rp)
 
template<class T >
T * agx::get_pointer (const ref_ptr< T > &rp)
 
template<typename T , typename U >
bool agx::operator!= (T *p, ref_ptr< U > const &rp)
 
template<typename T , typename U >
bool agx::operator!= (T const *p, ref_ptr< U > const &rp)
 
template<typename T , typename U >
bool agx::operator== (T *p, ref_ptr< U > const &rp)
 
template<typename T , typename U >
bool agx::operator== (T const *p, ref_ptr< U > const &rp)
 
template<class T , class Y >
ref_ptr< T > agx::static_pointer_cast (const ref_ptr< Y > &rp)
 
template<class T >
void std::swap (agx::ref_ptr< T > &rp1, agx::ref_ptr< T > &rp2)