|
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. | |
| 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. | |
| 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 |
| | |
Templated implementation class of RCPNode that has the responsibility for deleting the reference-counted object.
Definition at line 486 of file Teuchos_RCPNode.hpp.
| Teuchos::RCPNodeTmpl< T, Dealloc_T >::RCPNodeTmpl | ( | T * | p, |
| Dealloc_T | dealloc, | ||
| bool | has_ownership_in | ||
| ) | [inline] |
For defined types.
Definition at line 489 of file Teuchos_RCPNode.hpp.
| Teuchos::RCPNodeTmpl< T, Dealloc_T >::RCPNodeTmpl | ( | T * | p, |
| Dealloc_T | dealloc, | ||
| bool | has_ownership_in, | ||
| ENull | |||
| ) | [inline] |
For undefined types .
Definition at line 498 of file Teuchos_RCPNode.hpp.
| Teuchos::RCPNodeTmpl< T, Dealloc_T >::~RCPNodeTmpl | ( | ) | [inline] |
Definition at line 513 of file Teuchos_RCPNode.hpp.
| Dealloc_T& Teuchos::RCPNodeTmpl< T, Dealloc_T >::get_nonconst_dealloc | ( | ) | [inline] |
Definition at line 507 of file Teuchos_RCPNode.hpp.
| const Dealloc_T& Teuchos::RCPNodeTmpl< T, Dealloc_T >::get_dealloc | ( | ) | const [inline] |
Definition at line 510 of file Teuchos_RCPNode.hpp.
| virtual bool Teuchos::RCPNodeTmpl< T, Dealloc_T >::is_valid_ptr | ( | ) | const [inline, virtual] |
Implements Teuchos::RCPNode.
Definition at line 522 of file Teuchos_RCPNode.hpp.
| virtual void Teuchos::RCPNodeTmpl< T, Dealloc_T >::delete_obj | ( | ) | [inline, virtual] |
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 531 of file Teuchos_RCPNode.hpp.
| virtual void Teuchos::RCPNodeTmpl< T, Dealloc_T >::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 [inline, virtual] |
Implements Teuchos::RCPNode.
Definition at line 567 of file Teuchos_RCPNode.hpp.
| const std::string Teuchos::RCPNodeTmpl< T, Dealloc_T >::get_base_obj_type_name | ( | ) | const [inline, virtual] |
Implements Teuchos::RCPNode.
Definition at line 610 of file Teuchos_RCPNode.hpp.
1.7.6.1