#include <PXXObject.h>
Inheritance diagram for PXXObject:
Public Member Functions | |
SET_LOGGER ("PXXObject") | |
PXXObject () | |
PXXObject (const PXXObject &org) | |
PXXObject & | operator= (const PXXObject &orig) |
const PXXObject & | operator= (const PXXObject &orig) const |
virtual | ~PXXObject () |
virtual void | SetOwnerPtr (void *ownerptr) |
virtual const void * | GetOwnerPtr () const |
virtual void | InitializePointer (PXXObjectPtr objptr) |
virtual void | Delete (PXXObjectPtr objptr) |
virtual string | GetTypeName () const |
virtual void | SetTypeName (const string &s) |
|
Constructor |
|
Copy constructor. DO NOT COPY fMyOwnerPtr_. |
|
Destructor. |
|
Delete is a wrapper function for delete operator. It deletes ROOT pointer, but not delete shared_pointer. It checks whether the object is owner of objptr or not: if (this == objptr->GetOwnerPtr()) { then delete objptr only when the if test is true. |
|
Return its owner which is used to check owner. |
|
Get type name. Type name doesn't have to be same as class name. |
|
Initialize a pointer to 0. Currently, only ROOT pointer is required initialize. |
|
|
|
operator=. DO NOT COPY fMyOwnerPtr_. |
|
Reimplemented in PXXUnpackerUtil. |
|
Set pointer to owner. Only the owner can execute delete for its datamembers. You should call it only when you create an object with "new" operator. |
|
Set type name. Type name doesn't have to same as class name. |