- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# FbxIO::FbxAutoResetXRefManager Struct Reference

Search for all occurrences

## Detailed Description

Exception-safe way of setting/resetting the xref manager in a FbxIO object.

Definition at line 324 of file fbxio.h.

`#include <fbxio.h>`

List of all members.

## Public Member Functions
| FbxAutoResetXRefManager (FbxIO *pFbx, FbxXRefManager &pXRefManager)
| Default constructor.
| ~FbxAutoResetXRefManager ()
| Destructor.
## Public Attributes
FbxIO * | mFbx
const FbxXRefManager * | mXRefManager

## Constructor & Destructor Documentation

FbxAutoResetXRefManager | ( | FbxIO * | pFbx,
|  | FbxXRefManager & | pXRefManager
| ) |  | `[inline]`

Default constructor.

Definition at line 330 of file fbxio.h.

            : mFbx(pFbx)
            , mXRefManager(NULL)
            {
                if( mFbx )
                {
                    mXRefManager = mFbx->ProjectGetXRefManager();
                    mFbx->ProjectSetXRefManager(&pXRefManager);
                }
            }

~FbxAutoResetXRefManager | ( |  | ) | `[inline]`

Destructor.

Definition at line 342 of file fbxio.h.

            {
                if( mFbx )
                {
                    mFbx->ProjectSetXRefManager(mXRefManager);
                }
            }

## Member Data Documentation

FbxIO* mFbx

Search for all occurrences

Definition at line 326 of file fbxio.h.

const FbxXRefManager* mXRefManager

Search for all occurrences

Definition at line 327 of file fbxio.h.

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

- fbxsdk/fileio/fbx/fbxio.h