|
Teuchos - Trilinos Tools Package
Version of the Day
|
Templated implementation class of RCPNode that has the responsibility for deleting the reference-counted object.
More...
#include <Teuchos_RCPNode.hpp>
Public Member Functions | |
| RCPNodeTmpl (T *p, Dealloc_T dealloc, bool has_ownership_in) | |
| For defined types. More... | |
| RCPNodeTmpl (T *p, Dealloc_T dealloc, bool has_ownership_in, ENull) | |
| For undefined types . More... | |
| 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. More... | |
| 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 |
Public Member Functions inherited from Teuchos::RCPNode | |
| RCPNode (bool has_ownership_in) | |
| virtual | ~RCPNode () |
| int | strong_count () const |
| int | weak_count () const |
| int | 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 |
Additional Inherited Members | |
Protected Member Functions inherited from Teuchos::RCPNode | |
| void | pre_delete_extra_data () |
Related Functions inherited from Teuchos::RCPNode | |
| TEUCHOSCORE_LIB_DLL_EXPORT void | throw_null_ptr_error (const std::string &type_name) |
| Throw that a pointer passed into an RCP object is null. More... | |
Templated implementation class of RCPNode that has the responsibility for deleting the reference-counted object.
Definition at line 492 of file Teuchos_RCPNode.hpp.
|
inline |
For defined types.
Definition at line 495 of file Teuchos_RCPNode.hpp.
|
inline |
For undefined types .
Definition at line 504 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 519 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 513 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 516 of file Teuchos_RCPNode.hpp.
|
inlinevirtual |
Implements Teuchos::RCPNode.
Definition at line 528 of file Teuchos_RCPNode.hpp.
|
inlinevirtual |
Delete the underlying object.
Provides the "strong guarantee" when exceptions are thrown in debug mode and but may not even provide the "basic guarantee" in release mode. .
Implements Teuchos::RCPNode.
Definition at line 537 of file Teuchos_RCPNode.hpp.
|
inlinevirtual |
Implements Teuchos::RCPNode.
Definition at line 573 of file Teuchos_RCPNode.hpp.
|
inlinevirtual |
Implements Teuchos::RCPNode.
Definition at line 616 of file Teuchos_RCPNode.hpp.
1.8.13