#include <c4d_particles.h>
Wrapper around a TP_PShapeI pointer.
Public Member Functions | |
TP_PShapePtr () | |
TP_PShapePtr (const TP_PShapePtr &p) | |
MAXON_IMPLICIT | TP_PShapePtr (TP_PShapeI *p) |
Bool | operator== (const TP_PShapePtr &p) const |
Bool | operator!= (const TP_PShapePtr &p) const |
const TP_PShapePtr & | operator= (const TP_PShapePtr &p) |
const TP_PShapePtr & | operator= (TP_PShapeI *p) |
Bool | IsPopulated () const |
TP_PShapeI * | Get () const |
~TP_PShapePtr () | |
Private Attributes | |
TP_PShapeI * | ptr |
TP_PShapePtr | ( | ) |
Default constructor.
TP_PShapePtr | ( | const TP_PShapePtr & | p | ) |
Copy constructor.
[in] | p | The TP_PShapePtr to copy. |
MAXON_IMPLICIT TP_PShapePtr | ( | TP_PShapeI * | p | ) |
Creates a TP_PShapePtr from a TP_PShapeI pointer.
[in] | p | The TP_PShapeI pointer. |
~TP_PShapePtr | ( | ) |
Destructor.
Bool operator== | ( | const TP_PShapePtr & | p | ) | const |
Equality operator.
[in] | p | The TP_PShapePtr to compare with. |
Bool operator!= | ( | const TP_PShapePtr & | p | ) | const |
Inequality operator.
[in] | p | The TP_PShapePtr to compare with. |
const TP_PShapePtr& operator= | ( | const TP_PShapePtr & | p | ) |
const TP_PShapePtr& operator= | ( | TP_PShapeI * | p | ) |
Assignment operator.
[in] | p | The TP_PShapeI to assign to the internal pointer. |
Bool IsPopulated | ( | ) | const |
Checks if the internal TP_PShapeI pointer has been set.
TP_PShapeI* Get | ( | ) | const |
Retrieves the internal TP_PShapeI pointer.
|
private |