fbxsdk/core/fbxpropertyhandle.h Source File
Go to the documentation of this file.
13 #ifndef _FBXSDK_CORE_PROPERTY_HANDLE_H_
14 #define _FBXSDK_CORE_PROPERTY_HANDLE_H_
110 const char* GetName()
const;
113 const char* GetLabel()
const;
118 bool SetLabel(
const char* pLabel);
148 void* GetUserData()
const;
153 bool SetUserData(
const void* pUserData);
156 int GetUserTag()
const;
161 bool SetUserTag(
int pUserData);
171 int AddEnumValue(
const char* pStringValue);
176 void InsertEnumValue(
int pIndex,
const char* pStringValue);
185 void SetEnumValue(
int pIndex,
const char* pStringValue);
189 void RemoveEnumValue(
int pIndex);
194 char* GetEnumValue(
int pIndex);
201 void BeginCreateOrFindProperty();
205 void EndCreateOrFindProperty();
209 inline bool IsRoot()
const {
return ( mPage && mId == 0 ) ?
true :
false; }
274 FbxPropertyHandle Find(
const char* pName,
const char* pChildrenSeparator,
bool pCaseSensitive)
const;
350 void ClearConnectCache();
353 void WipeAllConnections();
374 bool GetMin(
void* pValue,
EFbxType pValueType)
const;
380 bool SetMin(
const void* pValue,
EFbxType pValueType);
392 template <
class T>
inline T
GetMin(
const T* pFBX_TYPE)
const { T lValue;
GetMin(&lValue,
FbxTypeOf(lValue));
return lValue; }
396 bool HasSoftMin()
const;
402 bool GetSoftMin(
void* pValue,
EFbxType pValueType)
const;
408 bool SetSoftMin(
const void* pValue,
EFbxType pValueType);
429 bool GetMax(
void* pValue,
EFbxType pValueType)
const;
435 bool SetMax(
const void* pValue,
EFbxType pValueType);
446 template <
class T>
inline T
GetMax(
const T* pFBX_TYPE)
const { T lValue;
GetMax(&lValue,
FbxTypeOf(lValue));
return lValue; }
450 bool HasSoftMax()
const;
456 bool GetSoftMax(
void* pValue,
EFbxType pValueType)
const;
462 bool SetSoftMax(
const void* pValue,
EFbxType pValueType);
494 bool GetDefaultValue(
void* pValue,
EFbxType pValueType)
const;
500 bool Get(
void* pValue,
EFbxType pValueType)
const;
508 bool Set(
const void* pValue,
EFbxType pValueType,
bool pCheckValueEquality);
513 template <
class T>
inline bool Set(
const T& pValue){
return Set(&pValue,
FbxTypeOf(pValue)); }
518 template <
class T>
inline T
Get(
const T* pFBX_TYPE)
const { T lValue;
Get(&lValue,
FbxTypeOf(lValue));
return lValue; }
527 void SetPageDataPtr(
void* pData);
531 void* GetPageDataPtr()
const;
540 bool PushPropertiesToParentInstance();
549 bool IsAReferenceTo(
void)
const;
553 void* GetReferenceTo(
void)
const;
557 bool IsReferencedBy(
void)
const;
561 int GetReferencedByCount(
void)
const;
566 void* GetReferencedBy(
int pIndex)
const;
Class to manage property handle.
T GetMax(const T *pFBX_TYPE) const
Get the maximum value of this property.
FBX SDK environment definition.
T GetSoftMax(const T *pFBX_TYPE) const
Get the soft maximum value of this property.
EFlags
Property flags that affect their behaviors.
bool SetSoftMax(const T &pValue)
According the given value and its value type, set the soft maximum value and value type for this prop...
bool IsRoot() const
Judge if the property is the root property.
bool Set(const T &pValue)
Set property value with the given value .
bool SetMax(const T &pValue)
According the given value and its value type, set the maximum value and value type for this property...
EFbxType
Type identifier constants.
T GetMin(const T *pFBX_TYPE) const
Get the minimum value of this property.
EFbxType FbxTypeOf(const FbxChar &)
bool SetMin(const T &pValue)
According the given value and its value type, set the minimum value and value type for this property...
Class to manage Connect Filter.
#define FBXSDK_PROPERTY_ID_ROOT
T GetSoftMin(const T *pFBX_TYPE) const
Get the soft minimum value of this property.
EInheritType
Property inherit types.
bool SetSoftMin(const T &pValue)
According the given value and its value type, set the soft minimum value and value type for this prop...
T Get(const T *pFBX_TYPE) const
get property value.