Definition at line 47 of file deepcopy_ptr.h.
#include <mrpt/containers/deepcopy_ptr.h>
Public Types | |
using | value_type = T |
using | copier_t = Copier |
Public Member Functions | |
generic_copier_ptr (T *ptr) | |
Ctor from a pointer; takes ownership. More... | |
generic_copier_ptr () | |
Default ctor; init to nullptr. More... | |
generic_copier_ptr (const generic_copier_ptr< T, Copier > &o) | |
copy ctor: makes a copy of the object via clone() More... | |
~generic_copier_ptr () | |
void | move_from (generic_copier_ptr &o) |
generic_copier_ptr (generic_copier_ptr< T, Copier > &&o) | |
move ctor More... | |
generic_copier_ptr< T, Copier > & | operator= (generic_copier_ptr< T, Copier > &&o) |
move operator More... | |
generic_copier_ptr< T, Copier > & | operator= (const generic_copier_ptr< T, Copier > &o) |
copy operator More... | |
T * | operator-> () |
const T * | operator-> () const |
T & | operator* (void) |
const T & | operator* (void) const |
T * | get () |
const T * | get () const |
operator bool () const | |
bool | operator! (void) const |
T * | release () |
Releases the pointer (do not destroy the object) More... | |
void | reset (T *ptr=nullptr) |
void | resetDefaultCtor () |
Protected Attributes | |
T * | m_ptr |
using mrpt::containers::internal::generic_copier_ptr< T, Copier >::copier_t = Copier |
Definition at line 51 of file deepcopy_ptr.h.
using mrpt::containers::internal::generic_copier_ptr< T, Copier >::value_type = T |
Definition at line 50 of file deepcopy_ptr.h.
|
inlineexplicit |
Ctor from a pointer; takes ownership.
Definition at line 53 of file deepcopy_ptr.h.
|
inline |
Default ctor; init to nullptr.
Definition at line 55 of file deepcopy_ptr.h.
|
inline |
copy ctor: makes a copy of the object via clone()
Definition at line 57 of file deepcopy_ptr.h.
|
inline |
Definition at line 61 of file deepcopy_ptr.h.
|
inline |
move ctor
Definition at line 72 of file deepcopy_ptr.h.
|
inline |
Definition at line 126 of file deepcopy_ptr.h.
|
inline |
Definition at line 127 of file deepcopy_ptr.h.
|
inline |
Definition at line 66 of file deepcopy_ptr.h.
|
inline |
Definition at line 128 of file deepcopy_ptr.h.
|
inline |
Definition at line 129 of file deepcopy_ptr.h.
|
inline |
Definition at line 111 of file deepcopy_ptr.h.
|
inline |
Definition at line 118 of file deepcopy_ptr.h.
|
inline |
Definition at line 96 of file deepcopy_ptr.h.
|
inline |
Definition at line 103 of file deepcopy_ptr.h.
|
inline |
copy operator
Definition at line 87 of file deepcopy_ptr.h.
|
inline |
move operator
Definition at line 78 of file deepcopy_ptr.h.
|
inline |
Releases the pointer (do not destroy the object)
Definition at line 131 of file deepcopy_ptr.h.
|
inline |
Definition at line 138 of file deepcopy_ptr.h.
Referenced by mrpt::containers::internal::generic_copier_ptr< T >::operator=(), mrpt::containers::internal::generic_copier_ptr< T >::resetDefaultCtor(), and TEST().
|
inline |
Definition at line 144 of file deepcopy_ptr.h.
|
protected |
Definition at line 146 of file deepcopy_ptr.h.
Referenced by mrpt::containers::internal::generic_copier_ptr< T >::generic_copier_ptr(), mrpt::containers::internal::generic_copier_ptr< T >::get(), mrpt::containers::internal::generic_copier_ptr< T >::move_from(), mrpt::containers::internal::generic_copier_ptr< T >::operator bool(), mrpt::containers::internal::generic_copier_ptr< T >::operator!(), mrpt::containers::internal::generic_copier_ptr< T >::operator*(), mrpt::containers::internal::generic_copier_ptr< T >::operator->(), mrpt::containers::internal::generic_copier_ptr< T >::operator=(), mrpt::containers::internal::generic_copier_ptr< T >::release(), mrpt::containers::internal::generic_copier_ptr< T >::reset(), and mrpt::containers::internal::generic_copier_ptr< T >::~generic_copier_ptr().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |