Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
Node class to keep track of address and the reference count for a reference-counted utility class and delete the object. More...
#include <Teuchos_RCPNode.hpp>
Classes | |
struct | extra_data_entry_t |
Protected Member Functions | |
void | pre_delete_extra_data () |
Private Types | |
typedef Teuchos::map< std::string, extra_data_entry_t > | extra_data_map_t |
Private Member Functions | |
TEUCHOS_RCP_DECL_ATOMIC (count_[2], int) | |
TEUCHOS_RCP_DECL_ATOMIC (has_ownership_, bool) | |
void | impl_pre_delete_extra_data () |
RCPNode () | |
RCPNode (const RCPNode &) | |
RCPNode & | operator= (const RCPNode &) |
Private Attributes | |
extra_data_map_t * | extra_data_map_ |
Related Symbols | |
(Note that these are not member symbols.) | |
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. | |
Node class to keep track of address and the reference count for a reference-counted utility class and delete the object.
This is not a general user-level class. This is used in the implementation of all of the reference-counting utility classes.
NOTE: The reference counts all start a 0 so the client (i.e. RCPNodeHandle) must increment them from 0 after creation.
Definition at line 153 of file Teuchos_RCPNode.hpp.
|
private |
Definition at line 299 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 156 of file Teuchos_RCPNode.hpp.
|
inlinevirtual |
Definition at line 166 of file Teuchos_RCPNode.hpp.
|
private |
|
inline |
attemptIncrementStrongCountFromNonZeroValue() supports weak to strong conversion but this is forward looking code.
Definition at line 174 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 202 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 207 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 212 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 222 of file Teuchos_RCPNode.hpp.
Definition at line 233 of file Teuchos_RCPNode.hpp.
|
inline |
Definition at line 238 of file Teuchos_RCPNode.hpp.
void Teuchos::RCPNode::set_extra_data | ( | const any & | extra_data, |
const std::string & | name, | ||
EPrePostDestruction | destroy_when, | ||
bool | force_unique ) |
Definition at line 215 of file Teuchos_RCPNode.cpp.
Definition at line 245 of file Teuchos_RCPNode.cpp.
|
inline |
Definition at line 250 of file Teuchos_RCPNode.hpp.
any * Teuchos::RCPNode::get_optional_extra_data | ( | const std::string & | type_name, |
const std::string & | name ) |
Definition at line 265 of file Teuchos_RCPNode.cpp.
|
inline |
Definition at line 260 of file Teuchos_RCPNode.hpp.
Implemented in Teuchos::RCPNodeTmpl< T, Dealloc_T >.
Implemented in Teuchos::RCPNodeTmpl< T, Dealloc_T >.
|
pure virtual |
Implemented in Teuchos::RCPNodeTmpl< T, Dealloc_T >.
Implemented in Teuchos::RCPNodeTmpl< T, Dealloc_T >.
|
inlineprotected |
Definition at line 285 of file Teuchos_RCPNode.hpp.
|
private |
|
private |
|
private |
Definition at line 277 of file Teuchos_RCPNode.cpp.
|
related |
Throw that a pointer passed into an RCP object is null.
|
private |
Definition at line 304 of file Teuchos_RCPNode.hpp.