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 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FbxPropertyT ()
 FbxPropertyT (const FbxProperty &pProperty)
 ~FbxPropertyT ()
const FbxPropertyStaticInit (FbxObject *pObject, const char *pName, const FbxReference &pValue, bool pForceSet, FbxPropertyAttr::EFlags pFlags=FbxPropertyAttr::eNone)
const FbxPropertyStaticInit (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.
FbxPropertyTSet (const FbxReference &pValue)
 operator FbxReference () const
FbxPropertyToperator= (const FbxReference &pValue)

Constructor & Destructor Documentation

FbxPropertyT ( ) [inline]

Definition at line 1303 of file fbxproperty.h.

FbxPropertyT ( const FbxProperty pProperty) [inline]

Definition at line 1304 of file fbxproperty.h.

: FbxProperty(pProperty){}
~FbxPropertyT ( ) [inline]

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]

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]

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]

Gets the value of the property.

Parameters:
pFBX_TYPEThe data type of the value.
Returns:
The property value.

Reimplemented from FbxProperty.

Definition at line 1325 of file fbxproperty.h.

FbxPropertyT& Set ( const FbxReference pValue) [inline]

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: