|
PVData C++
|
#include <memory>#include <boost/tr1/memory.hpp>

Go to the source code of this file.
Classes | |
| struct | detail::ref_shower< T > |
Namespaces | |
| namespace | std |
STL namespace. | |
| namespace | epics |
epics | |
Defines | |
| #define | SHARED_FROM_BOOST |
| #define | POINTER_DEFINITIONS(clazz) |
Functions | |
| template<typename T > | |
| inline::detail::ref_shower< T > | show_referrers (const std::tr1::shared_ptr< T > &ptr, bool self=true, bool weak=false) |
| template<typename T > | |
| std::ostream & | std::operator<< (std::ostream &strm, const ::detail::ref_shower< T > &refs) |
class shared_ptr class weak_ptr class bad_weak_ptr function static_pointer_cast; function dynamic_pointer_cast function const_pointer_cast function swap function get_deleter function enable_shared_from_this
Definition in file sharedPtr.h.
| #define POINTER_DEFINITIONS | ( | clazz | ) |
typedef std::tr1::shared_ptr<clazz> shared_pointer; \ typedef std::tr1::shared_ptr<const clazz> const_shared_pointer; \ typedef std::tr1::weak_ptr<clazz> weak_pointer; \ typedef std::tr1::weak_ptr<const clazz> const_weak_pointer
Definition at line 189 of file sharedPtr.h.
| inline ::detail::ref_shower<T> show_referrers | ( | const std::tr1::shared_ptr< T > & | ptr, |
| bool | self = true, |
||
| bool | weak = false |
||
| ) |
Print a list (one per line) of shared_ptr which refer to the same object
| ptr | Use the object pointed to by this shared_ptr |
| self | include or omit a line for this shared_ptr |
| weak | include a line for each weak_ptr (not implemented) shared_ptr<int> x; std::cout << show_referrers(x); |
Definition at line 173 of file sharedPtr.h.
1.7.4