PVData C++
8.0.6
|
Go to the source code of this file.
Classes | |
struct | detail::ref_shower< T > |
Namespaces | |
std | |
epics | |
epics | |
Macros | |
#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 | ) |
Definition at line 198 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 182 of file sharedPtr.h.