![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cNewPtr.h>
Public Member Functions | |
cNewPtr2 () | |
cNewPtr2 (const THIS_t &rObj) | |
cNewPtr2 (const SUPER_t &rObj) | |
cNewPtr2 (TYPE *pObj) | |
THIS_t & | operator= (TYPE *p2) |
THIS_t & | operator= (const THIS_t &ref) |
![]() | |
cNewPtr () noexcept | |
cNewPtr (TYPE *pObj) noexcept | |
~cNewPtr () | |
void | AllocArray (size_t nSize=1) noexcept |
void | AllocArray (size_t nSize, const TYPE *p) noexcept |
void | ReleasePtr () noexcept |
THIS_t & | operator= (TYPE *p2) noexcept |
THIS_t & | operator= (THIS_t &ref) noexcept |
TYPE & | operator* () const |
TYPE * | operator-> () const |
bool | operator!= (const TYPE *p2) const noexcept |
bool | operator== (const TYPE *p2) const noexcept |
![]() | |
cPtrFacade (TYPE *p=nullptr) noexcept | |
cPtrFacade (THIS_t &&ref) noexcept | |
bool | isValidPtr () const noexcept |
TYPE ** | get_PPtr () |
TYPE * | get_Ptr () const noexcept |
void | put_Ptr (TYPE *p) noexcept |
void | ReleasePtr () noexcept |
void | AttachPtr (TYPE *p) noexcept |
TYPE * | DetachPtr () noexcept |
THIS_t & | operator= (TYPE *p) noexcept |
THIS_t & | operator= (THIS_t &&ref) noexcept |
operator TYPE * () const noexcept | |
TYPE & | get_Ref () const |
TYPE & | operator* () const |
TYPE * | operator-> () const |
bool | operator! () const noexcept |
Comparison ops. More... | |
bool | operator!= (TYPE *p2) const noexcept |
bool | operator== (TYPE *p2) const noexcept |
Static Public Member Functions | |
static TYPE * | Dupe (const SUPER_t &rObj) |
Additional Inherited Members | |
![]() | |
void | AsignPtr (TYPE *p2) noexcept |
void | AsignRef (THIS_t &ref) noexcept |
void | FreeLast () noexcept |
![]() | |
TYPE * | m_p |
Pointer to some object of TYPE. More... | |
cNewPtr Allow a copy constructor that does deep copy.
|
inline |
|
inline |
copy the contents? beware performance problems here. I don't know if its a derived type or array?
|
inline |
copy the contents? beware performance problems here. I don't know if its a derived type or array?
|
inlineexplicit |
|
inlinestatic |
|
inline |
|
inline |