Rosetta Protocols  2014.35
Classes | Typedefs | Functions
protocols::jd2::utility::pointer Namespace Reference

Classes

class  access_ptr
 Non-owning access smart pointer. More...
 

Typedefs

typedef access_ptr< boolaccess_ptr_bool
 
typedef access_ptr< short intaccess_ptr_short
 
typedef access_ptr< intaccess_ptr_int
 
typedef access_ptr< long intaccess_ptr_long
 
typedef access_ptr< unsigned
short int
access_ptr_ushort
 
typedef access_ptr< unsigned intaccess_ptr_uint
 
typedef access_ptr< unsigned
long int
access_ptr_ulong
 
typedef access_ptr< std::size_t > access_ptr_size_t
 
typedef access_ptr< floataccess_ptr_float
 
typedef access_ptr< doubleaccess_ptr_double
 
typedef access_ptr< long doubleaccess_ptr_longdouble
 
typedef access_ptr< char > access_ptr_char
 
typedef access_ptr< unsigned char > access_ptr_uchar
 
typedef access_ptr< signed char > access_ptr_schar
 

Functions

template<typename T , typename U >
bool operator== (access_ptr< T > const &a, access_ptr< U > const &b)
 access_ptr == access_ptr More...
 
template<typename T >
bool operator== (access_ptr< T > const &a, T const *const b)
 access_ptr == pointer More...
 
template<typename T >
bool operator== (T const *const a, access_ptr< T > const &b)
 pointer == access_ptr More...
 
template<typename T , typename U >
bool operator!= (access_ptr< T > const &a, access_ptr< U > const &b)
 access_ptr != access_ptr More...
 
template<typename T >
bool operator!= (access_ptr< T > const &a, T const *const b)
 access_ptr != pointer More...
 
template<typename T >
bool operator!= (T const *const a, access_ptr< T > const &b)
 pointer != access_ptr More...
 
template<typename T , typename U >
bool operator< (access_ptr< T > const &a, access_ptr< U > const &b)
 access_ptr < access_ptr More...
 
template<typename T >
bool operator< (access_ptr< T > const &a, T const *const b)
 access_ptr < pointer More...
 
template<typename T >
bool operator< (T const *const a, access_ptr< T > const &b)
 pointer < access_ptr More...
 
template<typename T >
void swap (access_ptr< T > &a, access_ptr< T > &b)
 Swap two access_ptr objects. More...
 
template<typename T >
Tget_pointer (access_ptr< T > const &a)
 Get pointer of access_ptr: needed by boost::mem_fn. More...
 
template<typename T , typename U >
access_ptr< Tstatic_pointer_cast (access_ptr< U > const &a)
 Static cast an access_ptr. More...
 
template<typename T , typename U >
access_ptr< Tconst_pointer_cast (access_ptr< U > const &a)
 Const cast an access_ptr. More...
 
template<typename T , typename U >
access_ptr< Tdynamic_pointer_cast (access_ptr< U > const &a)
 Dynamic cast an access_ptr. More...
 
template<typename T , typename U >
access_ptr< Tdown_pointer_cast (access_ptr< U > const &a)
 Down cast an access_ptr. More...
 
template<typename CharT , typename CharTraits , typename T >
std::basic_ostream< CharT,
CharTraits > & 
operator<< (std::basic_ostream< CharT, CharTraits > &os, access_ptr< T > const &a)
 Stream output. More...
 

Typedef Documentation

Function Documentation

template<typename T , typename U >
access_ptr< T > protocols::jd2::utility::pointer::const_pointer_cast ( access_ptr< U > const &  a)
inline

Const cast an access_ptr.

template<typename T , typename U >
access_ptr< T > protocols::jd2::utility::pointer::down_pointer_cast ( access_ptr< U > const &  a)
inline

Down cast an access_ptr.

template<typename T , typename U >
access_ptr< T > protocols::jd2::utility::pointer::dynamic_pointer_cast ( access_ptr< U > const &  a)
inline

Dynamic cast an access_ptr.

template<typename T >
T* protocols::jd2::utility::pointer::get_pointer ( access_ptr< T > const &  a)
inline

Get pointer of access_ptr: needed by boost::mem_fn.

template<typename T , typename U >
bool protocols::jd2::utility::pointer::operator!= ( access_ptr< T > const &  a,
access_ptr< U > const &  b 
)
inline
template<typename T >
bool protocols::jd2::utility::pointer::operator!= ( access_ptr< T > const &  a,
T const *const  b 
)
inline

access_ptr != pointer

template<typename T >
bool protocols::jd2::utility::pointer::operator!= ( T const *const  a,
access_ptr< T > const &  b 
)
inline

pointer != access_ptr

template<typename T , typename U >
bool protocols::jd2::utility::pointer::operator< ( access_ptr< T > const &  a,
access_ptr< U > const &  b 
)
inline
template<typename T >
bool protocols::jd2::utility::pointer::operator< ( access_ptr< T > const &  a,
T const *const  b 
)
inline

access_ptr < pointer

template<typename T >
bool protocols::jd2::utility::pointer::operator< ( T const *const  a,
access_ptr< T > const &  b 
)
inline

pointer < access_ptr

template<typename CharT , typename CharTraits , typename T >
std::basic_ostream< CharT, CharTraits >& protocols::jd2::utility::pointer::operator<< ( std::basic_ostream< CharT, CharTraits > &  os,
access_ptr< T > const &  a 
)
inline

Stream output.

template<typename T , typename U >
bool protocols::jd2::utility::pointer::operator== ( access_ptr< T > const &  a,
access_ptr< U > const &  b 
)
inline
template<typename T >
bool protocols::jd2::utility::pointer::operator== ( access_ptr< T > const &  a,
T const *const  b 
)
inline

access_ptr == pointer

template<typename T >
bool protocols::jd2::utility::pointer::operator== ( T const *const  a,
access_ptr< T > const &  b 
)
inline

pointer == access_ptr

template<typename T , typename U >
access_ptr< T > protocols::jd2::utility::pointer::static_pointer_cast ( access_ptr< U > const &  a)
inline

Static cast an access_ptr.

template<typename T >
void protocols::jd2::utility::pointer::swap ( access_ptr< T > &  a,
access_ptr< T > &  b 
)
inline