- Main Page
- Classes
- Files
- Directories
- Examples

- 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 278 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 284 of file fbxio.h.

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

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

Destructor.

Definition at line 296 of file fbxio.h.

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

## Member Data Documentation

FbxIO* mFbx

Search for all occurrences

Definition at line 280 of file fbxio.h.

const FbxXRefManager* mXRefManager

Search for all occurrences

Definition at line 281 of file fbxio.h.

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

- fbxsdk/fileio/fbx/fbxio.h