Class to manage property handle.
Definition at line 64 of file kfbxpropertyhandle.h.
#include <kfbxpropertyhandle.h>
Constructor and Destructor |
|
static KFbxObjectHandle | Create () |
Create an instance. |
|
static KFbxObjectHandle | Create (KFbxObjectHandle const &pInstanceOf) |
Create an instance with given instance.
|
|
static KFbxTypeInfoHandle | Create (char const *pName, EFbxType pType=eUNIDENTIFIED) |
Create an instance with given name and type.
|
|
static KFbxTypeInfoHandle | Create (char const *pName, KFbxTypeInfoHandle pTypeInfo) |
Create an instance with given name and type
info. |
|
bool | Destroy () |
If this property is root property, delete
the property page, otherwise delete the property. |
|
KFbxPropertyHandle () | |
Default constructor. |
|
KFbxPropertyHandle (KFbxPropertyHandle const &pAddress) | |
Copy constructor. |
|
~KFbxPropertyHandle () | |
Destructor. |
|
KFbxPropertyHandle (KFbxPropertyPage *pPage, kFbxPropertyId pId=kFbxProperyIdRoot) | |
Character constructor. |
|
Assignment and basic info |
|
KFbxPropertyHandle & | operator= (KFbxPropertyHandle const &pHandle) |
KFbxPropertyHandle
assignment operator. |
|
bool | operator== (KFbxPropertyHandle const &pHandle) const |
Equality operator. |
|
bool | operator!= (KFbxPropertyHandle const &pHandle) const |
Inequality operator. |
|
bool | Is (KFbxPropertyHandle const &pHandle) const |
Compare type info together. |
|
bool | Valid () const |
Judge validity. |
|
const char * | GetName () const |
Get the property name. |
|
EFbxType | GetType () const |
Get the property type. |
|
KFbxTypeInfoHandle | GetTypeInfo () const |
Get the property type info. |
|
const char * | GetLabel () const |
Get the property label. |
|
bool | SetLabel (char const *pLabel) |
Set a label to the property. |
|
FbxPropertyFlags::eFbxPropertyFlags | GetFlags () const |
Get the property attribute state. |
|
bool | ModifyFlags (FbxPropertyFlags::eFbxPropertyFlags pFlags, bool pValue) |
According the given parameter Change the
attributes of the property. |
|
KFbxInheritType | GetFlagsInheritType (FbxPropertyFlags::eFbxPropertyFlags pFlags, bool pCheckReferences) const |
Gets the inheritance type for the given
flag. |
|
bool | SetFlagsInheritType (FbxPropertyFlags::eFbxPropertyFlags pFlags, KFbxInheritType pType) |
Sets the inheritance type for the given
flag. |
|
void * | GetUserData () const |
Get the property user data. |
|
bool | SetUserData (void const *pUserData) |
Set user data to the property. |
|
int | GetUserTag () const |
Get the property user tag. |
|
bool | SetUserTag (int pUserData) |
Set user tag to the property. |
|
Enum management |
|
int | AddEnumValue (char const *pStringValue) |
Add new value at the end of the enum list in
the property. |
|
void | InsertEnumValue (int pIndex, char const *pStringValue) |
Insert new value at the given index of the
enum list in property. |
|
int | GetEnumCount () |
Get the enum count of enum list in property.
|
|
void | SetEnumValue (int pIndex, char const *pStringValue) |
Set value at the given index of the enum
list in the property. |
|
void | RemoveEnumValue (int pIndex) |
Remove the value at the index of the enum
list in the property. |
|
char * | GetEnumValue (int pIndex) |
Get the value at the index of enum list in
the property. |
|
Child and Struct management |
|
KFbxPropertyHandle | Add (char const *pName, KFbxTypeInfoHandle const &pTypeInfo) |
Add a property to the property page.
|
|
void | BeginCreateOrFindProperty () |
Create the map for find property in the
property page. |
|
void | EndCreateOrFindProperty () |
Clear the map which created for find
property. |
|
bool | IsRoot () const |
Judge if the property is the root property.
|
|
bool | IsChildOf (KFbxPropertyHandle const &pParent) const |
Judge if the property is the child property
of the given parent property. |
|
bool | IsDescendentOf (KFbxPropertyHandle const &pParent) const |
Judge if the property is descendent property
of the given property. |
|
KFbxPropertyHandle | GetParent () const |
Get parent property. |
|
bool | SetParent (KFbxPropertyHandle const &pOther) |
Set parent property handle.No matter what
enters,the result is always false. |
|
KFbxPropertyHandle | GetChild () const |
Get child property. |
|
KFbxPropertyHandle | GetSibling () const |
Get sibling property. |
|
KFbxPropertyHandle | GetFirstDescendent () const |
Get first descendent property. |
|
KFbxPropertyHandle | GetNextDescendent (KFbxPropertyHandle const &pHandle) const |
Get first descendent property which after
the given property. |
|
KFbxPropertyHandle | Find (char const *pName, bool pCaseSensitive) const |
Find the property with given name. |
|
KFbxPropertyHandle | Find (char const *pName, KFbxTypeInfoHandle const &pTypeInfo, bool pCaseSensitive) const |
Find the property with given name and type
info. |
|
KFbxPropertyHandle | Find (char const *pName, const char *pChildrenSeparator, bool pCaseSensitive) const |
Separate the given name by children
separator string and then find the property.The step is strip the
first part of the name and search, if the property can be found,
strip the second part of the name and continue search, until no
property be found,then return the last found property. |
|
KFbxPropertyHandle | Find (char const *pName, const char *pChildrenSeparator, KFbxTypeInfoHandle const &pTypeInfo, bool pCaseSensitive) const |
Separate the given name by children
separator string and then find the property.The step is strip the
first part of the name and search, if the property can be found,
strip the second part of the name and continue search, until no
property be found,then return the last found property. |
|
Connection management |
|
bool | ConnectSrc (KFbxPropertyHandle const &pSrc, kFbxConnectionType const pType=eFbxConnectionDefault) |
Connect source property. |
|
int | GetSrcCount (KFbxConnectionPointFilter *pFilter=0) const |
Get source properties' count. |
|
KFbxPropertyHandle | GetSrc (KFbxConnectionPointFilter *pFilter=0, int pIndex=0) const |
Get source property with the given index.
|
|
bool | DisconnectSrc (KFbxPropertyHandle const &pSrc) |
Disconnect source property. |
|
bool | IsConnectedSrc (KFbxPropertyHandle const &pSrc) |
Judge if it is connected with the given
source property. |
|
bool | ConnectDst (KFbxPropertyHandle const &pDst, kFbxConnectionType const pType=eFbxConnectionDefault) |
Connect destination property. |
|
int | GetDstCount (KFbxConnectionPointFilter *pFilter=0) const |
Get destination properties' count. |
|
KFbxPropertyHandle | GetDst (KFbxConnectionPointFilter *pFilter=0, int pIndex=0) const |
Get destination property with the given
index. |
|
bool | DisconnectDst (KFbxPropertyHandle const &pDst) |
Disconnect destination property. |
|
bool | IsConnectedDst (KFbxPropertyHandle const &pDst) |
Judge if it is connected with the given
destination property. |
|
void | ClearConnectCache () |
Clear connect cache. |
|
void | WipeAllConnections () |
Clear all connect without sending any
notification (Internal use ONLY) |
|
Limits Functions |
|
Minimum and maximum
value limits can be associated with properties, but FBX will not
verify that these limits are respected.FBX however will store and
retrieve limits from files, and will assure that they are
persistent in memory while the property handle object exists.Soft
minimums and maximums values are specifying a second set of limits
that can be used for UI objects such as sliders. FBX will handle
them the same way it does with the normal limits. |
|
bool | HasMin () const |
Judge if this property has a minimum value.
|
|
bool | GetMin (void *pValue, EFbxType pValueType) const |
Get the minimum value and value type of this
property. |
|
bool | SetMin (void const *pValue, EFbxType pValueType) |
Set the minimum value and value type for
this property. |
|
template<class T > | |
bool | SetMin (T const &pValue) |
According the given value and its value
type, set the minimum value and value type for this property.
|
|
template<class T > | |
T | GetMin (T const *pFBX_TYPE) const |
Get the minimum value of this property.
|
|
bool | HasSoftMin () const |
Judge if this property has soft minimum
value. |
|
bool | GetSoftMin (void *pValue, EFbxType pValueType) const |
Get the soft minimum value and value type of
this property. |
|
bool | SetSoftMin (void const *pValue, EFbxType pValueType) |
Set the soft minimum value and value type
for this property. |
|
template<class T > | |
bool | SetSoftMin (T const &pValue) |
According the given value and its value
type, set the soft minimum value and value type for this property.
|
|
template<class T > | |
T | GetSoftMin (T const *pFBX_TYPE) const |
Get the soft minimum value of this property.
|
|
bool | HasMax () const |
Judge if this property has maximum value.
|
|
bool | GetMax (void *pValue, EFbxType pValueType) const |
Get the maximum value and value type of this
property. |
|
bool | SetMax (void const *pValue, EFbxType pValueType) |
Set the maximum value and value type for
this property. |
|
template<class T > | |
bool | SetMax (T const &pValue) |
According the given value and its value
type, set the maximum value and value type for this property.
|
|
template<class T > | |
T | GetMax (T const *pFBX_TYPE) const |
Get the maximum value of this property.
|
|
bool | HasSoftMax () const |
Judge if this property has soft maximum
value. |
|
bool | GetSoftMax (void *pValue, EFbxType pValueType) const |
Get the soft maximum value and value type of
this property. |
|
bool | SetSoftMax (void const *pValue, EFbxType pValueType) |
Set the soft maximum value and value type
for this property. |
|
template<class T > | |
bool | SetSoftMax (T const &pValue) |
According the given value and its value
type, set the soft maximum value and value type for this property.
|
|
template<class T > | |
T | GetSoftMax (T const *pFBX_TYPE) const |
Get the soft maximum value of this property.
|
|
Value |
|
KFbxInheritType | GetValueInheritType (bool pCheckReferences) const |
Get value inherit type of this property.
|
|
bool | SetValueInheritType (KFbxInheritType pType) |
Set value inherit type for this property .
|
|
bool | GetDefaultValue (void *pValue, EFbxType pValueType) const |
Get default value and value type of this
property . |
|
bool | Get (void *pValue, EFbxType pValueType) const |
Get value and value type of this property .
|
|
bool | Set (void const *pValue, EFbxType pValueType, bool pCheckValueEquality) |
Set property value and value type for this
property. |
|
template<class T > | |
bool | Set (T const &pValue) |
Set property value with the given value .
|
|
template<class T > | |
T | Get (T const *pFBX_TYPE) const |
get property value. |
|
Page settings |
|
void | SetPageDataPtr (void *pData) |
Set the property page data pointer. |
|
void * | GetPageDataPtr () const |
Get property page data pointer. |
|
Page Internal Entry Management |
|
bool | PushPropertiesToParentInstance () |
Push properties to parent instance. |
|
Reference Management |
|
bool | IsAReferenceTo (void) const |
Judge if this property page is a instance of
other page. |
|
void * | GetReferenceTo (void) const |
Get the property page which this property
page make reference to. |
|
bool | IsReferencedBy (void) const |
Judge if this property page is referenced by
other pages. |
|
int | GetReferencedByCount (void) const |
Get the count of property pages which make
reference to this property page. |
|
void * | GetReferencedBy (int pIndex) const |
According the given index,get the property
page which make reference to this property page. |
Default constructor.
KFbxPropertyHandle | ( | KFbxPropertyHandle const & | pAddress | ) |
Copy constructor.
pAddress | KFbxPropertyHandle copied to this one. |
~KFbxPropertyHandle | ( | ) |
Destructor.
KFbxPropertyHandle | ( | KFbxPropertyPage * | pPage, |
kFbxPropertyId | pId = kFbxProperyIdRoot |
||
) |
Character constructor.
pPage | |
pId |
static KFbxObjectHandle Create | ( | ) | [static] |
Create an instance.
static KFbxObjectHandle Create | ( | KFbxObjectHandle const & | pInstanceOf | ) | [static] |
Create an instance with given instance.
pInstanceOf | The given instance. |
static KFbxTypeInfoHandle Create | ( | char const * | pName, |
EFbxType | pType =
eUNIDENTIFIED |
||
) | [static] |
static KFbxTypeInfoHandle Create | ( | char const * | pName, |
KFbxTypeInfoHandle | pTypeInfo | ||
) | [static] |
Create an instance with given name and type info.
pName | |
pTypeInfo |
bool Destroy | ( | ) |
If this property is root property, delete the property page, otherwise delete the property.
KFbxPropertyHandle& operator= | ( | KFbxPropertyHandle const & | pHandle | ) |
KFbxPropertyHandle assignment operator.
pHandle | KFbxPropertyHandle assigned to this one. |
bool operator== | ( | KFbxPropertyHandle const & | pHandle | ) | const |
Equality operator.
pHandle | KFbxPropertyHandle compared with this one. |
True
if equal, false
otherwise.bool operator!= | ( | KFbxPropertyHandle const & | pHandle | ) | const |
Inequality operator.
pHandle | KFbxPropertyHandle compared with this one. |
True
if unequal, false
otherwise.bool Is | ( | KFbxPropertyHandle const & | pHandle | ) | const |
Compare type info together.
pHandle | KFbxPropertyHandle compared with this one. |
True
if equal, false
otherwise.bool Valid | ( | ) | const |
Judge validity.
const char* GetName | ( | ) | const |
Get the property name.
EFbxType GetType | ( | ) | const |
Get the property type.
KFbxTypeInfoHandle GetTypeInfo | ( | ) | const |
Get the property type info.
const char* GetLabel | ( | ) | const |
Get the property label.
bool SetLabel | ( | char const * | pLabel | ) |
Set a label to the property.
pLabel | The given label string |
FbxPropertyFlags::eFbxPropertyFlags GetFlags | ( | ) | const |
Get the property attribute state.
bool ModifyFlags | ( | FbxPropertyFlags::eFbxPropertyFlags | pFlags, |
bool | pValue | ||
) |
According the given parameter Change the attributes of the property.
pFlags | The given flags used as mask. |
pValue | If pValue is true, set mask with given flags, otherwise unset mask with given flags. |
KFbxInheritType GetFlagsInheritType | ( | FbxPropertyFlags::eFbxPropertyFlags | pFlags, |
bool | pCheckReferences | ||
) | const |
Gets the inheritance type for the given flag.
pFlags | The flag to query |
pCheckReferences | Decide whether check instance. If it is true, check instance. |
bool SetFlagsInheritType | ( | FbxPropertyFlags::eFbxPropertyFlags | pFlags, |
KFbxInheritType | pType | ||
) |
Sets the inheritance type for the given flag.
pFlags | The flag to set |
pType | The inheritance type to set |
void* GetUserData | ( | ) | const |
Get the property user data.
bool SetUserData | ( | void const * | pUserData | ) |
Set user data to the property.
pUserData | The given user data |
int GetUserTag | ( | ) | const |
Get the property user tag.
bool SetUserTag | ( | int | pUserData | ) |
Set user tag to the property.
pUserData | The given user tag |
int AddEnumValue | ( | char const * | pStringValue | ) |
Add new value at the end of the enum list in the property.
pStringValue | The given new value |
void InsertEnumValue | ( | int | pIndex, |
char const * | pStringValue | ||
) |
Insert new value at the given index of the enum list in property.
pIndex | The given index |
pStringValue | The given new value |
int GetEnumCount | ( | ) |
Get the enum count of enum list in property.
void SetEnumValue | ( | int | pIndex, |
char const * | pStringValue | ||
) |
Set value at the given index of the enum list in the property.
pIndex | The given index |
pStringValue | The given new value used to instead the old value. |
void RemoveEnumValue | ( | int | pIndex | ) |
Remove the value at the index of the enum list in the property.
pIndex | The given index |
char* GetEnumValue | ( | int | pIndex | ) |
Get the value at the index of enum list in the property.
pIndex | The given index |
KFbxPropertyHandle Add | ( | char const * | pName, |
KFbxTypeInfoHandle const & | pTypeInfo | ||
) |
Add a property to the property page.
pName | The name of property. |
pTypeInfo | The added property's type info. |
void BeginCreateOrFindProperty | ( | ) |
Create the map for find property in the property page.
void EndCreateOrFindProperty | ( | ) |
Clear the map which created for find property.
bool IsRoot | ( | ) | const [inline] |
Judge if the property is the root property.
Definition at line 270 of file kfbxpropertyhandle.h.
{ return (mPage && (mId==0)) ? true : false; }
bool IsChildOf | ( | KFbxPropertyHandle const & | pParent | ) | const |
Judge if the property is the child property of the given parent property.
pParent | The given parent property handle |
bool IsDescendentOf | ( | KFbxPropertyHandle const & | pParent | ) | const |
Judge if the property is descendent property of the given property.
pParent | The given parent property handle |
KFbxPropertyHandle GetParent | ( | ) | const |
Get parent property.
bool SetParent | ( | KFbxPropertyHandle const & | pOther | ) |
Set parent property handle.No matter what enters,the result is always false.
pOther |
KFbxPropertyHandle GetChild | ( | ) | const |
Get child property.
KFbxPropertyHandle GetSibling | ( | ) | const |
Get sibling property.
KFbxPropertyHandle GetFirstDescendent | ( | ) | const |
Get first descendent property.
KFbxPropertyHandle GetNextDescendent | ( | KFbxPropertyHandle const & | pHandle | ) | const |
Get first descendent property which after the given property.
pHandle | The given property handle |
KFbxPropertyHandle Find | ( | char const * | pName, |
bool | pCaseSensitive | ||
) | const |
Find the property with given name.
pName | The given property name |
pCaseSensitive | Decide if the given property name is case sensitive |
KFbxPropertyHandle Find | ( | char const * | pName, |
KFbxTypeInfoHandle const & | pTypeInfo, | ||
bool | pCaseSensitive | ||
) | const |
Find the property with given name and type info.
pName | The given property name |
pTypeInfo | The given property type info |
pCaseSensitive | Decide if the given property name is case sensitive |
KFbxPropertyHandle Find | ( | char const * | pName, |
const char * | pChildrenSeparator, | ||
bool | pCaseSensitive | ||
) | const |
Separate the given name by children separator string and then find the property.The step is strip the first part of the name and search, if the property can be found, strip the second part of the name and continue search, until no property be found,then return the last found property.
pName | The given property name |
pChildrenSeparator | The given children separator string |
pCaseSensitive | Decide if the given property name is case sensitive |
KFbxPropertyHandle Find | ( | char const * | pName, |
const char * | pChildrenSeparator, | ||
KFbxTypeInfoHandle const & | pTypeInfo, | ||
bool | pCaseSensitive | ||
) | const |
Separate the given name by children separator string and then find the property.The step is strip the first part of the name and search, if the property can be found, strip the second part of the name and continue search, until no property be found,then return the last found property.
pName | The given property name |
pChildrenSeparator | The given children separator string |
pTypeInfo | The given property type info |
pCaseSensitive | Decide if the given property name is case sensitive |
bool ConnectSrc | ( | KFbxPropertyHandle const & | pSrc, |
kFbxConnectionType const | pType =
eFbxConnectionDefault |
||
) |
Connect source property.
pSrc | The given source property |
pType | The given property type |
int GetSrcCount | ( | KFbxConnectionPointFilter * | pFilter = 0 |
) | const |
Get source properties' count.
pFilter | The filter used to get sub connection point. If it is not zero, return the source count of the sub connection point. Otherwise, return the src count of this property. |
KFbxPropertyHandle GetSrc | ( | KFbxConnectionPointFilter * | pFilter = 0 , |
int | pIndex = 0 |
||
) | const |
Get source property with the given index.
pFilter | The filter used to get sub connection point. If it is not zero, return the source property of the sub connection point. Otherwise, return the source property of this property. |
pIndex | The given index |
bool DisconnectSrc | ( | KFbxPropertyHandle const & | pSrc | ) |
Disconnect source property.
pSrc | The given source property |
bool IsConnectedSrc | ( | KFbxPropertyHandle const & | pSrc | ) |
Judge if it is connected with the given source property.
pSrc | The given source property |
bool ConnectDst | ( | KFbxPropertyHandle const & | pDst, |
kFbxConnectionType const | pType =
eFbxConnectionDefault |
||
) |
Connect destination property.
pDst | The given destination property |
pType | The given property type |
int GetDstCount | ( | KFbxConnectionPointFilter * | pFilter = 0 |
) | const |
Get destination properties' count.
pFilter | The filter used to get sub connection point.If it is not zero,return the destination count of the sub connection point. Otherwise, return the destination count of this property. |
KFbxPropertyHandle GetDst | ( | KFbxConnectionPointFilter * | pFilter = 0 , |
int | pIndex = 0 |
||
) | const |
Get destination property with the given index.
pFilter | The filter used to get sub connection point.If it is not zero,return the destination property of the sub connection point. Otherwise, return the destination property of this property. |
pIndex | The given index |
bool DisconnectDst | ( | KFbxPropertyHandle const & | pDst | ) |
Disconnect destination property.
pDst | The given destination property |
bool IsConnectedDst | ( | KFbxPropertyHandle const & | pDst | ) |
Judge if it is connected with the given destination property.
pDst | The given destination property |
void ClearConnectCache | ( | ) |
Clear connect cache.
void WipeAllConnections | ( | ) |
Clear all connect without sending any notification (Internal use ONLY)
bool HasMin | ( | ) | const |
Judge if this property has a minimum value.
bool GetMin | ( | void * | pValue, |
EFbxType | pValueType | ||
) | const |
Get the minimum value and value type of this property.
pValue | The minimum value of this property. |
pValueType | The value type of this property. |
bool SetMin | ( | void const * | pValue, |
EFbxType | pValueType | ||
) |
Set the minimum value and value type for this property.
pValue | The given minimum value . |
pValueType | The given value type . |
bool SetMin | ( | T const & | pValue | ) | [inline] |
According the given value and its value type, set the minimum value and value type for this property.
pValue | The given value . |
Definition at line 473 of file kfbxpropertyhandle.h.
T GetMin | ( | T const * | pFBX_TYPE | ) | const [inline] |
Get the minimum value of this property.
pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 480 of file kfbxpropertyhandle.h.
bool HasSoftMin | ( | ) | const |
Judge if this property has soft minimum value.
bool GetSoftMin | ( | void * | pValue, |
EFbxType | pValueType | ||
) | const |
Get the soft minimum value and value type of this property.
pValue | The soft minimum value of this property. |
pValueType | The value type of this property. |
bool SetSoftMin | ( | void const * | pValue, |
EFbxType | pValueType | ||
) |
Set the soft minimum value and value type for this property.
pValue | The given soft minimum value . |
pValueType | The given value type . |
bool SetSoftMin | ( | T const & | pValue | ) | [inline] |
According the given value and its value type, set the soft minimum value and value type for this property.
pValue | The given value . |
Definition at line 505 of file kfbxpropertyhandle.h.
{ return SetSoftMin( &pValue,FbxTypeOf(pValue) ); }
T GetSoftMin | ( | T const * | pFBX_TYPE | ) | const [inline] |
Get the soft minimum value of this property.
pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 512 of file kfbxpropertyhandle.h.
{ T lValue; GetSoftMin( &lValue,FbxTypeOf(lValue) ); return lValue; }
bool HasMax | ( | ) | const |
Judge if this property has maximum value.
bool GetMax | ( | void * | pValue, |
EFbxType | pValueType | ||
) | const |
Get the maximum value and value type of this property.
pValue | The maximum value of this property. |
pValueType | The value type of this property. |
bool SetMax | ( | void const * | pValue, |
EFbxType | pValueType | ||
) |
Set the maximum value and value type for this property.
pValue | The given maximum value . |
pValueType | The given value type . |
bool SetMax | ( | T const & | pValue | ) | [inline] |
According the given value and its value type, set the maximum value and value type for this property.
pValue | The given value . |
Definition at line 537 of file kfbxpropertyhandle.h.
T GetMax | ( | T const * | pFBX_TYPE | ) | const [inline] |
Get the maximum value of this property.
pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 544 of file kfbxpropertyhandle.h.
bool HasSoftMax | ( | ) | const |
Judge if this property has soft maximum value.
bool GetSoftMax | ( | void * | pValue, |
EFbxType | pValueType | ||
) | const |
Get the soft maximum value and value type of this property.
pValue | The soft maximum value of this property. |
pValueType | The value type of this property. |
bool SetSoftMax | ( | void const * | pValue, |
EFbxType | pValueType | ||
) |
Set the soft maximum value and value type for this property.
pValue | The given soft maximum value . |
pValueType | The given value type . |
bool SetSoftMax | ( | T const & | pValue | ) | [inline] |
According the given value and its value type, set the soft maximum value and value type for this property.
pValue | The given value . |
Definition at line 569 of file kfbxpropertyhandle.h.
{ return SetSoftMax( &pValue,FbxTypeOf(pValue) ); }
T GetSoftMax | ( | T const * | pFBX_TYPE | ) | const [inline] |
Get the soft maximum value of this property.
pFBX_TYPE | Not used in this function. This is a dummy argument for the correct instantiation of the templated function. |
Definition at line 576 of file kfbxpropertyhandle.h.
{ T lValue; GetSoftMax( &lValue,FbxTypeOf(lValue) ); return lValue; }
KFbxInheritType GetValueInheritType | ( | bool | pCheckReferences | ) | const |
Get value inherit type of this property.
pCheckReferences | If it is true,check instance of this property page,otherwise,only check this page. |
bool SetValueInheritType | ( | KFbxInheritType | pType | ) |
Set value inherit type for this property .
pType | The given value inherit type. |
bool GetDefaultValue | ( | void * | pValue, |
EFbxType | pValueType | ||
) | const |
Get default value and value type of this property .
pValue | The gotten default value of this property. |
pValueType | The gotten default value type of this property. |
bool Get | ( | void * | pValue, |
EFbxType | pValueType | ||
) | const |
Get value and value type of this property .
pValue | The gotten value of this property. |
pValueType | The gotten value type of this property. |
bool Set | ( | void const * | pValue, |
EFbxType | pValueType, | ||
bool | pCheckValueEquality | ||
) |
Set property value and value type for this property.
pValue | The given property value . |
pValueType | The given property value type |
pCheckValueEquality | If it is true, when the given value is equal with the property value, the property value will not be set. |
bool Set | ( | T const & | pValue | ) | [inline] |
Set property value with the given value .
pValue | The given value . |
Definition at line 624 of file kfbxpropertyhandle.h.
T Get | ( | T const * | pFBX_TYPE | ) | const [inline] |
get property value.
pFBX_TYPE | Not be used. |
Definition at line 630 of file kfbxpropertyhandle.h.
void SetPageDataPtr | ( | void * | pData | ) |
Set the property page data pointer.
pData | The given page data pointer. |
void* GetPageDataPtr | ( | ) | const |
Get property page data pointer.
bool PushPropertiesToParentInstance | ( | ) |
Push properties to parent instance.
bool IsAReferenceTo | ( | void | ) | const |
Judge if this property page is a instance of other page.
void* GetReferenceTo | ( | void | ) | const |
Get the property page which this property page make reference to.
bool IsReferencedBy | ( | void | ) | const |
Judge if this property page is referenced by other pages.
int GetReferencedByCount | ( | void | ) | const |
Get the count of property pages which make reference to this property page.
void* GetReferencedBy | ( | int | pIndex | ) | const |
According the given index,get the property page which make reference to this property page.
pIndex | The given index |