![]() |
Rosetta Utilities
2014.52
|
Classes | |
| class | ReferenceCount |
| Base class for reference-counted polymorphic classes. More... | |
| class | ReferenceCountMI |
| Interface class for reference counted polymorphic classes. More... | |
| class | ReferenceCountMI_ |
| Base class for reference counted polymorphic classes. More... | |
Typedefs | |
| typedef shared_ptr < ReferenceCount > | ReferenceCountOP |
| typedef shared_ptr < ReferenceCount const > | ReferenceCountCOP |
Functions | |
| template<typename T , typename U > | |
| bool | equal (weak_ptr< T > const &a, weak_ptr< U > const &b) |
| Equality comparator. More... | |
| template<typename T , typename U > | |
| bool | equal (weak_ptr< T > &a, shared_ptr< U > const &bs) |
| Equality comparator. More... | |
| template<typename T , typename U > | |
| bool | equal (weak_ptr< T > &a, U *const b) |
| Equality comparator. More... | |
| template<typename T > | |
| void | delete_and_assign (T *&p, T *n) |
| Delete a pointer and assign a new pointer. More... | |
| template<typename T > | |
| void | delete_and_zero (T *&p) |
| Delete a pointer and assign and set it to zero. More... | |
| template<typename T > | |
| void | delete_and_assign_array (T *&p, T *n) |
| Delete a pointer to an array and assign a new pointer. More... | |
| template<typename T > | |
| void | delete_and_zero_array (T *&p) |
| Delete a pointer to an array and set it to zero. More... | |
| typedef shared_ptr< ReferenceCount const > utility::pointer::ReferenceCountCOP |
| typedef shared_ptr< ReferenceCount > utility::pointer::ReferenceCountOP |
|
inline |
Delete a pointer and assign a new pointer.
|
inline |
Delete a pointer to an array and assign a new pointer.
|
inline |
Delete a pointer and assign and set it to zero.
|
inline |
Delete a pointer to an array and set it to zero.
|
inline |
Equality comparator.
Referenced by utility::file::equali(), and numeric::operator==().
|
inline |
Equality comparator.
|
inline |
Equality comparator.
1.8.7