- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# FbxPropertyT< FbxReference > Class Template Reference

Search for all occurrences

## Detailed Description

### template<>
class FbxPropertyT< FbxReference >

Definition at line 1300 of file fbxproperty.h.

`#include <fbxproperty.h>`

Inheritance diagram for FbxPropertyT< FbxReference >:
[legend]

List of all members.

## Public Member Functions
| FbxPropertyT ()
| FbxPropertyT (const FbxProperty &pProperty)
| ~FbxPropertyT ()
const FbxProperty & | StaticInit (FbxObject *pObject, const char *pName, const FbxReference &pValue, bool pForceSet, FbxPropertyAttr::EFlags pFlags=FbxPropertyAttr::eNone)
const FbxProperty & | StaticInit (FbxObject *pObject, const char *pName, const FbxDataType &pDataType, const FbxReference &pValue, bool pForceSet, FbxPropertyAttr::EFlags pFlags=FbxPropertyAttr::eNone)
FbxReference | Get () const
| Gets the value of the property.
FbxPropertyT & | Set (const FbxReference &pValue)
| operator FbxReference () const
FbxPropertyT & | operator= (const FbxReference &pValue)

## Constructor & Destructor Documentation

FbxPropertyT | ( |  | ) | `[inline]`

Search for all occurrences

Definition at line 1303 of file fbxproperty.h.

    : FbxProperty(){}

FbxPropertyT | ( | const FbxProperty & | pProperty | ) | `[inline]`

Search for all occurrences

Definition at line 1304 of file fbxproperty.h.

    : FbxProperty(pProperty){}

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

Search for all occurrences

Definition at line 1305 of file fbxproperty.h.

    {}

## Member Function Documentation

const FbxProperty& StaticInit | ( | FbxObject * | pObject,
|  | const char * | pName,
|  | const FbxReference & | pValue,
|  | bool | pForceSet,
|  | FbxPropertyAttr::EFlags | pFlags = `FbxPropertyAttr::eNone`
| ) |  | `[inline]`

Search for all occurrences

Definition at line 1307 of file fbxproperty.h.

        {
            return StaticInit(pObject, pName, FbxGetDataTypeFromEnum(FbxTypeOf(*((FbxReference*)0))), pValue, pForceSet, pFlags);
        }

const FbxProperty& StaticInit | ( | FbxObject * | pObject,
|  | const char * | pName,
|  | const FbxDataType & | pDataType,
|  | const FbxReference & | pValue,
|  | bool | pForceSet,
|  | FbxPropertyAttr::EFlags | pFlags = `FbxPropertyAttr::eNone`
| ) |  | `[inline]`

Search for all occurrences

Definition at line 1312 of file fbxproperty.h.

        {
            bool lWasFound = false;
            *this = Create(pObject, pDataType, pName, "", true, &lWasFound);
            if( pForceSet || !lWasFound )
            {
                ModifyFlag(pFlags, true);   // modify the flags before we set the value
                Set(pValue);            // since we will trigger callbacks in there!
            }
            ModifyFlag(FbxPropertyAttr::eStatic, true);
            return *this;
        }

FbxReference Get | ( |  | ) | const`[inline]`

Search for all occurrences

Gets the value of the property.

Parameters:

  pFBX_TYPE | The data type of the value.

Returns:
  The property value.

Reimplemented from FbxProperty.

Definition at line 1325 of file fbxproperty.h.

        {
            FbxProperty::NotifyGet();
            return GetSrcObject();
        }

FbxPropertyT& Set | ( | const FbxReference & | pValue | ) | `[inline]`

Search for all occurrences

Definition at line 1331 of file fbxproperty.h.

        {
            bool Result = FbxProperty::NotifySetRequest();
            if( Result )
            {
                DisconnectAllSrcObject();
                ConnectSrcObject(pValue);
                FbxProperty::NotifySet();
            }
            return *this;
        }

operator FbxReference | ( |  | ) | const`[inline]`

Definition at line 1343 of file fbxproperty.h.

        {
            return Get();
        }

FbxPropertyT& operator= | ( | const FbxReference & | pValue | ) | `[inline]`

Definition at line 1348 of file fbxproperty.h.

        {
            return Set(pValue);
        }

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

- fbxsdk/core/fbxproperty.h