FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxAutoDeletePtr< Type > Class Template Reference

#include <fbxalloc.h>

Class Description

template<class Type>
class FbxAutoDeletePtr< Type >

Scoped pointer for FbxNew allocations, which call FbxDelete() to deallocate.

Definition at line 261 of file fbxalloc.h.

+ Inheritance diagram for FbxAutoDeletePtr< Type >:

Public Member Functions

 FbxAutoDeletePtr (Type *pPtr=0)
 Construct from a pointer. More...
 
- Public Member Functions inherited from FbxAutoPtr< Type, FbxDeletionPolicyDelete< Type > >
 FbxAutoPtr (Type *pPtr=0)
 Construct from a pointer. More...
 
 ~FbxAutoPtr ()
 Destructor. More...
 
Type * Get () const
 Retrieve the pointer it holds. More...
 
Type * operator-> () const
 Member access operator. More...
 
 operator Type * () const
 Convert to a Type pointer. More...
 
Type & operator* () const
 Dereference operator. More...
 
bool operator! () const
 Logical not operator. More...
 
 operator bool () const
 Convert to boolean value. More...
 
void Reset (Type *pPtr=0)
 Reset the scoped pointer by swapping with another pointer. More...
 
void Swap (FbxAutoPtr &pOther)
 Swap with another pointer. More...
 
Type * Release ()
 Release the pointer, so that it won't perform deletion in its destruction. More...
 

Constructor & Destructor Documentation

◆ FbxAutoDeletePtr()

FbxAutoDeletePtr ( Type *  pPtr = 0)
inlineexplicit

Construct from a pointer.

Definition at line 265 of file fbxalloc.h.

FbxAutoPtr mimics the auto_ptr class template implementation available in the C++ Standard Library...
Definition: fbxalloc.h:190

The documentation for this class was generated from the following file: