|
| | RCPNodeTmpl (T *p, Dealloc_T dealloc, bool has_ownership_in) |
| | For defined types.
|
| |
| | RCPNodeTmpl (T *p, Dealloc_T dealloc, bool has_ownership_in, ENull) |
| | For undefined types .
|
| |
| Dealloc_T & | get_nonconst_dealloc () |
| |
| const Dealloc_T & | get_dealloc () const |
| |
| | ~RCPNodeTmpl () |
| |
| virtual bool | is_valid_ptr () const |
| |
| virtual void | delete_obj () |
| | Delete the underlying object. Will abort if an exception is detected in the destructor.
|
| |
| virtual void | throw_invalid_obj_exception (const std::string &rcp_type_name, const void *rcp_ptr, const RCPNode *rcp_node_ptr, const void *rcp_obj_ptr) const |
| |
| const std::string | get_base_obj_type_name () const |
| |
| | RCPNode (bool has_ownership_in) |
| |
| virtual | ~RCPNode () |
| |
| bool | attemptIncrementStrongCountFromNonZeroValue () |
| | attemptIncrementStrongCountFromNonZeroValue() supports weak to strong conversion but this is forward looking code.
|
| |
| int | strong_count () const |
| |
| int | weak_count () const |
| |
| void | incr_count (const ERCPStrength strength) |
| |
| int | deincr_count (const ERCPStrength strength) |
| |
| void | has_ownership (bool has_ownership_in) |
| |
| bool | has_ownership () const |
| |
| void | set_extra_data (const any &extra_data, const std::string &name, EPrePostDestruction destroy_when, bool force_unique) |
| |
| any & | get_extra_data (const std::string &type_name, const std::string &name) |
| |
| const any & | get_extra_data (const std::string &type_name, const std::string &name) const |
| |
| any * | get_optional_extra_data (const std::string &type_name, const std::string &name) |
| |
| const any * | get_optional_extra_data (const std::string &type_name, const std::string &name) const |
| |
| virtual bool | is_valid_ptr () const =0 |
| |
| virtual void | delete_obj ()=0 |
| |
| virtual void | throw_invalid_obj_exception (const std::string &rcp_type_name, const void *rcp_ptr, const RCPNode *rcp_node_ptr, const void *rcp_obj_ptr) const =0 |
| |
| virtual const std::string | get_base_obj_type_name () const =0 |
| |
template<class T, class Dealloc_T>
class Teuchos::RCPNodeTmpl< T, Dealloc_T >
Templated implementation class of RCPNode that has the responsibility for deleting the reference-counted object.
Definition at line 558 of file Teuchos_RCPNode.hpp.