TP_PShapePtr Class Reference

#include <c4d_particles.h>

详细描述

Wrapper around a TP_PShapeI pointer.

公共成员函数

  TP_PShapePtr ()
  TP_PShapePtr (const TP_PShapePtr &p)
MAXON_IMPLICIT   TP_PShapePtr ( TP_PShapeI *p)
Bool   operator== (const TP_PShapePtr &p)
Bool   operator!= (const TP_PShapePtr &p)
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() [1/3]

TP_PShapePtr ( )

Default constructor.

◆  TP_PShapePtr() [2/3]

TP_PShapePtr ( const TP_PShapePtr p )

Copy constructor.

参数
[in] p The TP_PShapePtr to copy.

◆  TP_PShapePtr() [3/3]

MAXON_IMPLICIT TP_PShapePtr ( TP_PShapeI p )

Creates a TP_PShapePtr from a TP_PShapeI pointer.

参数
[in] p The TP_PShapeI pointer.

◆  ~TP_PShapePtr()

~ TP_PShapePtr ( )

Destructor.

成员函数文档编制

◆  operator==()

Bool operator== ( const TP_PShapePtr p )

Equality operator.

参数
[in] p The TP_PShapePtr to compare with.
返回
true if the internal TP_PShapeI pointers are equal, otherwise false .

◆  operator!=()

Bool operator!= ( const TP_PShapePtr p )

Inequality operator.

参数
[in] p The TP_PShapePtr to compare with.
返回
true if the internal TP_PShapeI pointers are not equal, otherwise false .

◆  operator=() [1/2]

const TP_PShapePtr & operator= ( const TP_PShapePtr p )

Assignment operator.

参数
[in] p The TP_PShapePtr to assign.
返回
*this.

◆  operator=() [2/2]

const TP_PShapePtr & operator= ( TP_PShapeI p )

Assignment operator.

参数
[in] p The TP_PShapeI to assign to the internal pointer.
返回
*this.

◆  IsPopulated()

Bool IsPopulated ( ) const

Checks if the internal TP_PShapeI pointer has been set.

返回
true if the internal TP_PShapeI pointer is not nullptr , otherwise false .

◆  Get()

TP_PShapeI * Get ( ) const

Retrieves the internal TP_PShapeI pointer.

返回
The internal TP_PShapeI pointer.

Member Data Documentation

◆  ptr

TP_PShapeI * ptr
private