This is a const pointer to an InternalName, and should be used in lieu of a CPT(InternalName) in function arguments. More...
#include "internalName.h"
Public Member Functions | |
CPT_InternalName (const To *ptr=(const To *) NULL) | |
CPT_InternalName (const PointerTo< InternalName > ©) | |
CPT_InternalName (const ConstPointerTo< InternalName > ©) | |
CPT_InternalName (const string &name) | |
template<int N> | |
CPT_InternalName (const char(&literal)[N]) | |
CPT_InternalName & | operator= (const To *ptr) |
CPT_InternalName & | operator= (const PointerTo< InternalName > ©) |
CPT_InternalName & | operator= (const ConstPointerTo< InternalName > ©) |
![]() | |
ConstPointerTo (const To *ptr=(const To *) NULL) | |
ConstPointerTo (const PointerTo< InternalName > ©) | |
ConstPointerTo (const ConstPointerTo< InternalName > ©) | |
const InternalName *& | cheat () |
void | clear () |
operator const InternalName * () const | |
const To & | operator* () const |
const To * | operator-> () const |
ConstPointerTo< InternalName > & | operator= (const To *ptr) |
ConstPointerTo< InternalName > & | operator= (const PointerTo< InternalName > ©) |
ConstPointerTo< InternalName > & | operator= (const ConstPointerTo< InternalName > ©) |
const To * | p () const |
![]() | |
void | clear () |
void | output (ostream &out) const |
![]() | |
size_t | get_hash () const |
bool | is_null () const |
Returns true if the PointerTo is a NULL pointer, false otherwise. More... | |
bool | operator!= (const PointerToVoid &other) const |
bool | operator< (const void *other) const |
bool | operator< (const PointerToVoid &other) const |
bool | operator== (const PointerToVoid &other) const |
void | swap (PointerToVoid &other) NOEXCEPT |
Swaps the contents of this PointerTo with the other, without touching the reference counts. More... | |
Additional Inherited Members | |
![]() | |
typedef PointerToBase < InternalName >::To | To |
![]() | |
typedef InternalName | To |
This is a const pointer to an InternalName, and should be used in lieu of a CPT(InternalName) in function arguments.
The extra feature that it offers is that it has a constructor to automatically convert from a string, so that strings are coerced by the compiler when passed to such a function.
Definition at line 197 of file internalName.h.