#include
<kfbxproperty.h>
Definition at line 64 of file kfbxproperty.h.
Constructor and Destructor. |
|
typedef FbxPropertyFlags::eFbxPropertyFlags |
EFlags |
static KFbxProperty | Create (KFbxProperty const &pCompoundProperty, KFbxDataType const &pDataType, char const *pName, char const *pLabel="", bool pCheckForDup=true, bool *pWasFound=NULL) |
Creates a runtime property on the specified
property. |
|
static KFbxProperty | Create (KFbxObject *pObject, KFbxDataType const &pDataType, char const *pName, char const *pLabel="", bool pCheckForDup=true, bool *pWasFound=NULL) |
Creates a runtime property on the specified
object. |
|
static KFbxProperty | CreateFrom (KFbxProperty const &pCompoundProperty, KFbxProperty &pFromProperty, bool pCheckForDup=true) |
Creates a dynamic property from another
property on the specified property. |
|
static KFbxProperty | CreateFrom (KFbxObject *pObject, KFbxProperty &pFromProperty, bool pCheckForDup=true) |
Creates a dynamic property from another
property on the specified object. |
|
void | Destroy () |
Destroys a dynamic property. |
|
void | DestroyRecursively () |
Destroys a dynamic property and its
children. |
|
void | DestroyChildren () |
Destroys children of a dynamic property.
|
|
KFbxProperty () | |
Static property constructor. |
|
KFbxProperty (KFbxProperty const &pProperty) | |
Copy constructor for properties. |
|
KFbxProperty (KFbxPropertyHandle const &pPropertyHandle) | |
Copy constructor for properties. |
|
~KFbxProperty () | |
Static property destructor. |
|
Value management. |
|
static bool | HasDefaultValue (KFbxProperty &pProperty) |
Checks if the specified property's value has
changed from its default value. |
|
bool | IsValid () const |
Judges the property's validity. |
|
bool | Set (void const *pValue, EFbxType pValueType, bool pCheckForValueEquality) |
Sets the value of this property. |
|
bool | Set (void const *pValue, EFbxType pValueType) |
Sets the value of this function. |
|
bool | Get (void *pValue, EFbxType pValueType) const |
Returns the value of the property. |
|
template<class T> | |
bool | Set (T const &pValue) |
Sets the value of the property. |
|
template<class T> | |
T | Get (T const *pFBX_TYPE) const |
Gets the value of the property. |
|
KFbxInheritType | GetValueInheritType () const |
Queries the inheritance type of the
property. |
|
bool | SetValueInheritType (KFbxInheritType pType) |
Sets the inheritance type of the property.
|
|
bool | Modified () const |
Checks if the property's value has been
modified from its default value. |
|
Property Identification. |
|
KFbxDataType | GetPropertyDataType () const |
Returns the property data type. |
|
KString | GetName () const |
Returns the internal name of the property.
|
|
KString | GetHierarchicalName () const |
Returns the hierarchical name of the
property. |
|
KString | GetLabel (bool pReturnNameIfEmpty=true) const |
Returns the property label. |
|
void | SetLabel (const KString &pLabel) |
Sets a label for the property. |
|
KFbxObject * | GetFbxObject () const |
Returns the object that contains the
property. |
|
User data |
|
void | SetUserTag (int pTag) |
Sets the user tag. |
|
int | GetUserTag () |
Gets the user tag. |
|
void | SetUserDataPtr (void *pUserData) |
Sets the user data pointer. |
|
void * | GetUserDataPtr () |
Gets the user data pointer. |
|
Property Flags. |
|
void | ModifyFlag (eFbxPropertyFlags pFlag, bool pValue) |
Changes the property attribute. |
|
bool | GetFlag (eFbxPropertyFlags pFlag) const |
Returns the state of the property attribute.
|
|
KFbxInheritType | GetFlagInheritType (eFbxPropertyFlags pFlag) const |
Returns the inheritance type of the given
flag, similar to GetValueInheritType().
|
|
bool | SetFlagInheritType (eFbxPropertyFlags pFlag, KFbxInheritType pType) |
Sets the inheritance type for the specific
flag, similar to SetValueInheritType().
|
|
bool | ModifiedFlag (eFbxPropertyFlags pFlag) const |
Checks if the property flag has been
modified from its default value. |
|
Assignment and comparison operators |
|
KFbxProperty & | operator= (KFbxProperty const &pKProperty) |
Assignment operator. |
|
bool | operator== (KFbxProperty const &pKProperty) const |
Equivalence operator. |
|
bool | operator!= (KFbxProperty const &pKProperty) const |
Non-equivalence operator. |
|
bool | operator== (int pValue) const |
Equivalence operator. |
|
bool | operator!= (int pValue) const |
Non-equivalence operator. |
|
bool | CompareValue (KFbxProperty const &pProp) const |
Compares this property's value to another
property's value. |
|
Property Limits. |
|
Property limits are provided for convenience if
some applications desire to bound the range of possible values for
a given type property.
Note: These limits are meaningless for the boolean type. It is
the responsibility of the calling application to implement the
necessary instructions to limit the property of boolean type. |
|
void | SetMinLimit (double pMin) |
Sets a minimum property value limit.
|
|
bool | HasMinLimit () const |
Returns whether a minimum limit exists, if
it returns false, calling GetMinLimit()
produces undefined behavior. |
|
double | GetMinLimit () const |
Returns the minimum property value limit.
|
|
bool | HasMaxLimit () const |
Returns whether a maximum limit exists, if
it returns false, calling GetMaxLimit() produces
undefined behavior. |
|
void | SetMaxLimit (double pMax) |
Sets a maximum property value limit.
|
|
double | GetMaxLimit () const |
Returns the maximum property value. |
|
void | SetLimits (double pMin, double pMax) |
Sets the minimum and maximum value limit of
the property. |
|
Enum and property list |
|
int | AddEnumValue (char const *pStringValue) |
Adds a string value at the end of the
enumeration list. |
|
void | InsertEnumValue (int pIndex, char const *pStringValue) |
Inserts a string value at the specific
index. |
|
int | GetEnumCount () const |
Returns the number of elements in the
enumeration list. |
|
void | SetEnumValue (int pIndex, char const *pStringValue) |
Sets a string value at the specific index.
|
|
void | RemoveEnumValue (int pIndex) |
Removes the string value at the specified
index. |
|
const char * | GetEnumValue (int pIndex) const |
Returns a string value at the specified
index. |
|
Hierarchical properties |
|
bool | IsRoot () const |
Judges if this property is the root
property. |
|
bool | IsChildOf (KFbxProperty const &pParent) const |
Judges whether this property is a child of
the specified property. |
|
bool | IsDescendentOf (KFbxProperty const &pAncestor) const |
Judges whether this property is a descendant
of the specified property. |
|
KFbxProperty | GetParent () const |
Returns the parent property of this
property. |
|
bool | SetParent (const KFbxProperty &pOther) |
Sets the parent for this property (this
function has not been implemented, so it always return
false ). |
|
KFbxProperty | GetChild () const |
Returns the first child of this property.
|
|
KFbxProperty | GetSibling () const |
Returns the sibling of this property.
|
|
KFbxProperty | GetFirstDescendent () const |
Returns the first property that is a
descendant of this property. |
|
KFbxProperty | GetNextDescendent (KFbxProperty const &pProperty) const |
Returns the property that follows pProperty
that is a descendant of this property. |
|
KFbxProperty | Find (char const *pName, bool pCaseSensitive=true) const |
Searches a property using its name. |
|
KFbxProperty | Find (char const *pName, KFbxDataType const &pDataType, bool pCaseSensitive=true) const |
Searches a property using its name and data
type. |
|
KFbxProperty | FindHierarchical (char const *pName, bool pCaseSensitive=true) const |
Searches a property using its full name.
|
|
KFbxProperty | FindHierarchical (char const *pName, KFbxDataType const &pDataType, bool pCaseSensitive=true) const |
Searches a property using its full name and
data type. |
|
Optimizations |
|
void | BeginCreateOrFindProperty () |
Internal function for building a property
name map. |
|
void | EndCreateOrFindProperty () |
Internal function for clearing the property
name map. |
|
Array Management |
|
bool | SetArraySize (int pSize, bool pVariableArray) |
Sets the array size(not implemented).
|
|
int | GetArraySize () const |
Returns the array size(not implemented).
|
|
KFbxProperty | GetArrayItem (int pIndex) const |
Returns the (pIndex)th array item. |
|
KFbxProperty | operator[] (int pIndex) const |
Returns the (pIndex)th array item. |
|
FCurve Management |
|
K_DEPRECATED KFCurveNode * | CreateKFCurveNode (const char *pTakeName=NULL) |
Creates a
KFCurveNode on a take. |
|
K_DEPRECATED KFCurveNode * | GetKFCurveNode (bool pCreateAsNeeded=false, const char *pTakeName=NULL) |
Returns the
KFCurveNode of the property from a take. |
|
K_DEPRECATED KFCurve * | GetKFCurve (const char *pChannel=NULL, bool pCreateAsNeeded=true) |
Tries to get the KFCurve of the
specified channel from the current take. |
|
K_DEPRECATED KFCurve * | GetKFCurve (const char *pChannel, const char *pTakeName, bool pCreateAsNeeded=true) |
Tries to get the KFCurve of the
specified channel from the given take. |
|
Curve Management |
|
KFbxAnimCurveNode * | CreateCurveNode (KFbxAnimLayer *pAnimLayer) |
Creates a KFbxAnimCurveNode
on the specified layer. |
|
KFbxAnimCurveNode * | GetCurveNode (KFbxAnimLayer *pAnimLayer, bool pCreateAsNeeded=false) |
Get the KFbxAnimCurveNode
of the property that is connected to the specified animation layer.
|
|
KFbxAnimCurveNode * | GetCurveNode (bool pCreateAsNeeded=false, const char *pAnimStackName=NULL) |
Use the animation stack name to look for the
AnimStack and retrieves the first layer from the stack. |
|
template<class T> | |
T * | GetCurve (KFbxAnimLayer *pAnimLayer, bool pCreateAsNeeded=false) |
Get the KFbxAnimCurve from the specified animation layer.
|
|
template<class T> | |
T * | GetCurve (KFbxAnimLayer *pAnimLayer, const char *pChannel, bool pCreateAsNeeded=false) |
Get the KFbxAnimCurve from the specified animation layer.
|
|
template<class T> | |
T * | GetCurve (KFbxAnimLayer *pAnimLayer, const char *pName, const char *pChannel, bool pCreateAsNeeded=false) |
Get the KFbxAnimCurve of the specified channel from the
specified animation layer. |
|
General Object Connection and Relationship Management |
|
bool | ConnectSrcObject (KFbxObject *pObject, kFbxConnectionType pType=eFbxConnectionNone) |
Connects this property to one source object.
|
|
bool | IsConnectedSrcObject (const KFbxObject *pObject) const |
Judges whether this property connects with
the source object. |
|
bool | DisconnectSrcObject (KFbxObject *pObject) |
Disconnects this property from one source
object. |
|
bool | DisconnectAllSrcObject () |
Disconnects this property from all the
source objects. |
|
bool | DisconnectAllSrcObject (KFbxCriteria const &pCriteria) |
Disconnects this property from all source
objects that satisfy a given criteria. |
|
bool | DisconnectAllSrcObject (const kFbxClassId &pClassId) |
Disconnects this property from all the
source objects of a specific class type. |
|
bool | DisconnectAllSrcObject (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria) |
Disconnects this property from all the
source objects of a specific class type that satisfy the given
criteria. |
|
int | GetSrcObjectCount () const |
Returns the number of source objects with
which this property connects. |
|
int | GetSrcObjectCount (KFbxCriteria const &pCriteria) const |
Returns the number of source objects that
satisfy the given criteria with which this property connects.
|
|
int | GetSrcObjectCount (const kFbxClassId &pClassId) const |
Returns the number of source objects of the
specific class type with which this property connects. |
|
int | GetSrcObjectCount (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria) const |
Returns the number of source objects which
are of the specified class type and satisfy the given criteria with
which this property connects. |
|
KFbxObject * | GetSrcObject (int pIndex=0) const |
Returns the source object at the specified
index with which this property connects. |
|
KFbxObject * | GetSrcObject (KFbxCriteria const &pCriteria, int pIndex=0) const |
Returns the source object that satisfies the
criteria at the specified index with which this property connects.
|
|
KFbxObject * | GetSrcObject (const kFbxClassId &pClassId, int pIndex=0) const |
Returns the source object of the specified
class type at the specified index with which this property
connects. |
|
KFbxObject * | GetSrcObject (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria, int pIndex=0) const |
Returns the source object which is of the
specified class type and satisfies the given criteria at the
specified index. |
|
KFbxObject * | FindSrcObject (const char *pName, int pStartIndex=0) const |
Searches the source object with the
specified name, starting with the specified index. |
|
KFbxObject * | FindSrcObject (KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the
specified name which satisfies the given criteria, starting with
the specified index. |
|
KFbxObject * | FindSrcObject (const kFbxClassId &pClassId, const char *pName, int pStartIndex=0) const |
Searches the source object with the
specified name which is of the specified class type, starting with
the specified index. |
|
KFbxObject * | FindSrcObject (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the
specified name which is of the specified class type and satisfies
the given criteria, starting with the specified index. |
|
template<class T> | |
bool | DisconnectAllSrcObject (T const *pFBX_TYPE) |
Disconnects this property from all source
objects of the specified class type. |
|
template<class T> | |
bool | DisconnectAllSrcObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) |
Disconnects this property from all source
objects which are of the specified class type and satisfy the given
criteria. |
|
template<class T> | |
int | GetSrcObjectCount (T const *pFBX_TYPE) const |
Returns the number of source objects of a
specific class type with which this property connects. |
|
template<class T> | |
int | GetSrcObjectCount (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) const |
Returns the number of source objects which
are of the specified class type and satisfy the given criteria with
which this property connects. |
|
template<class T> | |
T * | GetSrcObject (T const *pFBX_TYPE, int pIndex=0) const |
Returns the source object of the specified
class type at the specified index. |
|
template<class T> | |
T * | GetSrcObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, int pIndex=0) const |
Returns the source object which is of the
specified class type and satisfies the given criteria at the
specified index. |
|
template<class T> | |
T * | FindSrcObject (T const *pFBX_TYPE, const char *pName, int pStartIndex=0) const |
Searches the source object with the
specified name which is of the specified class type, starting with
the specified index. |
|
template<class T> | |
T * | FindSrcObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the source object with the
specified name which is of the specified class type and satisfies
the given criteria, starting with the specified index. |
|
bool | ConnectDstObject (KFbxObject *pObject, kFbxConnectionType pType=eFbxConnectionNone) |
Connects this property to one destination
object. |
|
bool | IsConnectedDstObject (const KFbxObject *pObject) const |
Judges whether this property connects with
the destination object. |
|
bool | DisconnectDstObject (KFbxObject *pObject) |
Disconnects this property from the
destination object. |
|
bool | DisconnectAllDstObject () |
Disconnects this property from all the
destination objects. |
|
bool | DisconnectAllDstObject (KFbxCriteria const &pCriteria) |
Disconnects this property from all the
destination objects that satisfy given criteria. |
|
bool | DisconnectAllDstObject (const kFbxClassId &pClassId) |
Disconnects this property from all the
destination objects of the specified class type. |
|
bool | DisconnectAllDstObject (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria) |
Disconnects this property from all the
destination objects which are of the specified class type and
satisfy the given criteria. |
|
int | GetDstObjectCount () const |
Returns the number of destination objects
with which this property connects. |
|
int | GetDstObjectCount (KFbxCriteria const &pCriteria) const |
Returns the number of destination objects
that satisfy the given criteria with which this property connects.
|
|
int | GetDstObjectCount (const kFbxClassId &pClassId) const |
Returns the number of destination objects of
the specified class type with which this property connects.
|
|
int | GetDstObjectCount (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria) const |
Returns the number of destination objects
which are of the specified class type and satisfy the given
criteria with which this property connects. |
|
KFbxObject * | GetDstObject (int pIndex=0) const |
Returns the destination object at the
specified index with which this property connects. |
|
KFbxObject * | GetDstObject (KFbxCriteria const &pCriteria, int pIndex=0) const |
Returns the destination object that
satisfies given criteria at the specified index with which this
property connects. |
|
KFbxObject * | GetDstObject (const kFbxClassId &pClassId, int pIndex=0) const |
Returns the destination object of the
specified class type at the specified index with which this
property connects. |
|
KFbxObject * | GetDstObject (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria, int pIndex=0) const |
Returns the destination object which is of
the specified class type and satisfies the given criteria at the
specified index with which this property connects. |
|
KFbxObject * | FindDstObject (const char *pName, int pStartIndex=0) const |
Searches the destination object with the
specified name, starting with the specified index. |
|
KFbxObject * | FindDstObject (KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the
specified name which satisfies the given criteria, starting with
the specified index. |
|
KFbxObject * | FindDstObject (const kFbxClassId &pClassId, const char *pName, int pStartIndex=0) const |
Searches the destination object with the
specified name which is of the specified class type, starting with
the specified index. |
|
KFbxObject * | FindDstObject (const kFbxClassId &pClassId, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the
specified name which is of the specified class type and satisfies
the given criteria, starting with the specified index. |
|
template<class T> | |
bool | DisconnectAllDstObject (T const *pFBX_TYPE) |
Disconnects this property from all the
destination objects of the specified class type. |
|
template<class T> | |
bool | DisconnectAllDstObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) |
Disconnects this property from all the
destination objects which are of the specified class type and
satisfy the given criteria. |
|
template<class T> | |
int | GetDstObjectCount (T const *pFBX_TYPE) const |
Returns the number of destination objects of
the specified class type with which this property connects.
|
|
template<class T> | |
int | GetDstObjectCount (T const *pFBX_TYPE, KFbxCriteria const &pCriteria) const |
Returns the number of destination objects
which are of the specified class type and satisfy the given
criteria with which this property connects. |
|
template<class T> | |
T * | GetDstObject (T const *pFBX_TYPE, int pIndex=0) const |
Returns the destination object of the
specified class type at the specified index with which this
property connects. |
|
template<class T> | |
T * | GetDstObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, int pIndex=0) const |
Returns the destination object which is of
the specified class type and satisfies the given criteria at the
specified index with which this property connects. |
|
template<class T> | |
T * | FindDstObject (T const *pFBX_TYPE, const char *pName, int pStartIndex=0) const |
Searches the destination object with the
specified name which is of the specified class type, starting with
the specified index. |
|
template<class T> | |
T * | FindDstObject (T const *pFBX_TYPE, KFbxCriteria const &pCriteria, const char *pName, int pStartIndex=0) const |
Searches the destination object with the
specified name which is of the specified class type and satisfies
the given criteria, starting with the specified index. |
|
General Property Connection and Relationship Management |
|
bool | ConnectSrcProperty (KFbxProperty const &pProperty) |
Connects this property to a source property.
|
|
bool | IsConnectedSrcProperty (KFbxProperty const &pProperty) |
Judges whether this property connects with
the specified source property. |
|
bool | DisconnectSrcProperty (KFbxProperty const &pProperty) |
Disconnects this property from the specified
source property. |
|
int | GetSrcPropertyCount () const |
Returns the number of source properties with
which this property connects. |
|
KFbxProperty | GetSrcProperty (int pIndex=0) const |
Returns the source property at the specified
index with which this property connects. |
|
KFbxProperty | FindSrcProperty (const char *pName, int pStartIndex=0) const |
Searches the source property with the
specified name, starting with the specified index with which this
property connects. |
|
bool | ConnectDstProperty (KFbxProperty const &pProperty) |
Connects this property to a destination
property. |
|
bool | IsConnectedDstProperty (KFbxProperty const &pProperty) |
Judges if this property connects with the
specified destination property. |
|
bool | DisconnectDstProperty (KFbxProperty const &pProperty) |
Disconnects this property from the specified
destination property. |
|
int | GetDstPropertyCount () const |
Returns the number of destination properties
with which this property connects. |
|
KFbxProperty | GetDstProperty (int pIndex=0) const |
Returns the destination property at the
specified index with which this property connects. |
|
KFbxProperty | FindDstProperty (const char *pName, int pStartIndex=0) const |
Searches the destination property with the
specified name, starting with the specified index with which this
property connects. |
|
void | ClearConnectCache () |
Clears the connection cache of this
property, this cache is used to store the connections that satisfy
the given criteria. |
|
Public Member Functions |
|
bool | CopyValue (KFbxProperty const &pProp) |
Copies the value of a property. |
|
Static Public Attributes |
|
static const char * | sHierarchicalSeparator |
Hierarchical separator of properties.
|
|
Classes |
|
struct | KFbxPropertyNameCache |
This is an internal structure that you can
use to build and clear the name map of properties. You can use the
name map to speed up searching for property names. More... |
Definition at line 90 of file kfbxproperty.h.
KFbxProperty | ( | ) |
Static property constructor.
KFbxProperty | ( | KFbxProperty const & | pProperty | ) |
Copy constructor for properties.
pProperty | The property copied to this one. |
KFbxProperty | ( | KFbxPropertyHandle const & | pPropertyHandle | ) |
Copy constructor for properties.
pPropertyHandle | The property handle copied to this property handle. |
~KFbxProperty | ( | ) |
Static property destructor.
static KFbxProperty Create | ( | KFbxProperty const & | pCompoundProperty, | |
KFbxDataType const & | pDataType, | |||
char const * | pName, | |||
char const * | pLabel = "" , |
|||
bool | pCheckForDup =
true , |
|||
bool * | pWasFound = NULL |
|||
) | [static] |
Creates a runtime property on the specified property.
pCompoundProperty | The parent property of this property. | |
pDataType | The data type of this property. | |
pName | The property name. | |
pLabel | The label of this property. | |
pCheckForDup | If true , parent property checks if it has a child
property already with pName, if false , the new
property is created. |
|
pWasFound | If pCheckForDup is true , this flag is set to
indicate whether the pCompoundProperty already has a child property
with pName. |
Referenced by KFbxAnimCurveNode::AddChannel(), KFbxTypedProperty< fbxReference * >::StaticInit(), and KFbxTypedProperty< KFbxMarker::ELook >::StaticInit().
static KFbxProperty Create | ( | KFbxObject * | pObject, | |
KFbxDataType const & | pDataType, | |||
char const * | pName, | |||
char const * | pLabel = "" , |
|||
bool | pCheckForDup =
true , |
|||
bool * | pWasFound = NULL |
|||
) | [static] |
Creates a runtime property on the specified object.
pObject | The object on which the property will be created. | |
pDataType | The data type of this property. | |
pName | The property name. | |
pLabel | The label of this property. | |
pCheckForDup | If true , pObject checks whether it already has a
property with pName, if false , a new property is
created. |
|
pWasFound | If pCheckForDup is true , this flag is set to
indicate whether the pObject already has a child property with
pName. |
static KFbxProperty CreateFrom | ( | KFbxProperty const & | pCompoundProperty, | |
KFbxProperty & | pFromProperty, | |||
bool | pCheckForDup =
true |
|||
) | [static] |
Creates a dynamic property from another property on the specified property.
pCompoundProperty | The parent property of this property. | |
pFromProperty | The property copied by this property. | |
pCheckForDup | If true , parent property checks if it already has
a child property that has the name of pFromProperty, if
false , a new property is created. |
static KFbxProperty CreateFrom | ( | KFbxObject * | pObject, | |
KFbxProperty & | pFromProperty, | |||
bool | pCheckForDup =
true |
|||
) | [static] |
Creates a dynamic property from another property on the specified object.
pObject | The object that contains this property. | |
pFromProperty | The property copied by this property. | |
pCheckForDup | If true , pObject checks if it already has a
property that has the name of pFromProperty, if false ,
a new property is created. |
void Destroy | ( | ) |
Destroys a dynamic property.
void DestroyRecursively | ( | ) |
Destroys a dynamic property and its children.
void DestroyChildren | ( | ) |
Destroys children of a dynamic property.
KFbxDataType GetPropertyDataType | ( | ) | const |
Returns the property data type.
KString GetName | ( | ) | const |
Returns the internal name of the property.
Referenced by KFbxProcessorXRefCopy::KFbxPropertyUpdate::operator<().
KString GetHierarchicalName | ( | ) | const |
Returns the hierarchical name of the property.
KString GetLabel | ( | bool | pReturnNameIfEmpty =
true |
) | const |
Returns the property label.
pReturnNameIfEmpty | If true , lets this method return the internal name
if the label is empty. |
true
and the label
has not been defined.void SetLabel | ( | const KString & | pLabel | ) |
Sets a label for the property.
pLabel | Label string. |
KFbxObject* GetFbxObject | ( | ) | const |
Returns the object that contains the property.
void SetUserTag | ( | int | pTag | ) |
Sets the user tag.
pTag | The user tag to be set. |
int GetUserTag | ( | ) |
Gets the user tag.
void SetUserDataPtr | ( | void * | pUserData | ) |
Sets the user data pointer.
pUserData | The user data pointer. |
void* GetUserDataPtr | ( | ) |
Gets the user data pointer.
void ModifyFlag | ( | eFbxPropertyFlags | pFlag, | |
bool | pValue | |||
) |
Changes the property attribute.
pFlag | Property attribute identifier. | |
pValue | New state of pFlag. |
Referenced by KFbxTypedProperty< fbxReference * >::StaticInit(), and KFbxTypedProperty< KFbxMarker::ELook >::StaticInit().
bool GetFlag | ( | eFbxPropertyFlags | pFlag | ) | const |
Returns the state of the property attribute.
pFlag | Property attribute identifier. |
KFbxInheritType GetFlagInheritType | ( | eFbxPropertyFlags | pFlag | ) | const |
Returns the inheritance type of the given flag, similar to GetValueInheritType().
pFlag | The flag to be queried. |
bool SetFlagInheritType | ( | eFbxPropertyFlags | pFlag, | |
KFbxInheritType | pType | |||
) |
Sets the inheritance type for the specific flag, similar to SetValueInheritType().
pFlag | The flag to be set. | |
pType | The inheritance type to be set. |
True
on success, false
otherwise.bool ModifiedFlag | ( | eFbxPropertyFlags | pFlag | ) | const |
Checks if the property flag has been modified from its default value.
pFlag | The flag to be queried. |
True
if the value of this property has changed,
false
otherwiseKFbxProperty& operator= | ( | KFbxProperty const & | pKProperty | ) |
Assignment operator.
pKProperty | The property assigned to this property. |
bool operator== | ( | KFbxProperty const & | pKProperty | ) | const |
Equivalence operator.
pKProperty | The property compared to this property. |
True
if equal, false
otherwise.bool operator!= | ( | KFbxProperty const & | pKProperty | ) | const |
Non-equivalence operator.
pKProperty | The property compared to this property. |
True
if unequal, false
otherwise.bool operator== | ( | int | pValue | ) | const [inline] |
Equivalence operator.
pValue | The value compared to this property. |
True
if this property is valid and pValue doesn't
equal zero, or this property is invalid and pValue equals zero,
false
otherwise.Definition at line 293 of file kfbxproperty.h.
bool operator!= | ( | int | pValue | ) | const [inline] |
Non-equivalence operator.
pValue | The value compared to this property. |
True
if this property is valid and pValue equals
zero, or this property is invalid and pValue doesn't equal zero,
false
otherwise.Definition at line 299 of file kfbxproperty.h.
bool CompareValue | ( | KFbxProperty const & | pProp | ) | const |
Compares this property's value to another property's value.
pProp | The property whose value is compared with this property's value. |
True
if equal, false
otherwise.bool CopyValue | ( | KFbxProperty const & | pProp | ) |
Copies the value of a property.
pProp | The property from which to derive the value. |
True
if value has been copied successfully,
false
otherwise.bool IsValid | ( | ) | const |
Judges the property's validity.
True
if this property is valid, false
otherwise.Referenced by KFbxAnimCurveNode::AddChannel(), GetBoundPropertyValue(), KFbxAnimCurveNode::GetChannelValue(), and KFbxAnimCurveNode::SetChannelValue().
static bool HasDefaultValue | ( | KFbxProperty & | pProperty | ) | [static] |
Checks if the specified property's value has changed from its default value.
pProperty | Property that is tested. |
True
if the property value is still the default,
false
otherwise.bool Set | ( | void const * | pValue, | |
EFbxType | pValueType, | |||
bool | pCheckForValueEquality | |||
) |
Sets the value of this property.
pValue | Pointer to the new value | |
pValueType | The data type of the new value | |
pCheckForValueEquality | If true , the value is not set when it is equal to
the default value. |
True
if type is compatible and the value is set
successfully, false
otherwise.Referenced by KFbxSet().
bool Set | ( | void const * | pValue, | |
EFbxType | pValueType | |||
) | [inline] |
Sets the value of this function.
pValue | Pointer to the new value | |
pValueType | The data type of the new value |
True
if type is compatible and the value is set
successfully, false
otherwise.Definition at line 348 of file kfbxproperty.h.
bool Get | ( | void * | pValue, | |
EFbxType | pValueType | |||
) | const |
Returns the value of the property.
pValue | Pointer to the value | |
pValueType | The data type of the value. |
True
if type is compatible and value is returned
successfully, false
otherwise.Referenced by KFbxGet().
bool Set | ( | T const & | pValue | ) | [inline] |
Sets the value of the property.
pValue | The new value |
True
if type is compatible and the value is set
successfully, false
otherwise.Reimplemented in KFbxTypedProperty.
Definition at line 361 of file kfbxproperty.h.
References FbxTypeOf().
T Get | ( | T const * | pFBX_TYPE | ) | const [inline] |
Gets the value of the property.
pFBX_TYPE | The data type of the value. |
Definition at line 367 of file kfbxproperty.h.
References FbxTypeOf().
KFbxInheritType GetValueInheritType | ( | ) | const |
Queries the inheritance type of the property.
Use this method to determine if this property's value is overridden from the default value, or from the referenced object, if this object is a clone.
bool SetValueInheritType | ( | KFbxInheritType | pType | ) |
Sets the inheritance type of the property.
Use the method to explicitly override the default value of the property, or the referenced object's property value, if this object is a clone.
You can also use this to explicitly inherit the default value of the property, or the referenced object's property value, if this object is a clone.
pType | The new inheritance type. |
True
on success, false
otherwise.bool Modified | ( | ) | const |
Checks if the property's value has been modified from its default value.
True
if the value of the property has changed,
false
otherwise.true
. If the inheritance type of the
property's value is eFbxInherit, that means the property's value
inherits the referenced object's property value, so the property's
value is not modified and it returns false
.void SetMinLimit | ( | double | pMin | ) |
Sets a minimum property value limit.
pMin | Minimum value allowed. |
bool HasMinLimit | ( | ) | const |
Returns whether a minimum limit exists, if it returns false, calling GetMinLimit() produces undefined behavior.
True
when a minimum limit exists,
false
otherwise.double GetMinLimit | ( | ) | const |
Returns the minimum property value limit.
bool HasMaxLimit | ( | ) | const |
Returns whether a maximum limit exists, if it returns false, calling GetMaxLimit() produces undefined behavior.
True
when a maximum limit exists,
false
otherwise.void SetMaxLimit | ( | double | pMax | ) |
Sets a maximum property value limit.
pMax | Maximum value allowed. |
double GetMaxLimit | ( | ) | const |
Returns the maximum property value.
Sets the minimum and maximum value limit of the property.
pMin | Minimum value allowed. | |
pMax | Maximum value allowed. |
int AddEnumValue | ( | char const * | pStringValue | ) |
Adds a string value at the end of the enumeration list.
pStringValue | The string value to be added. |
void InsertEnumValue | ( | int | pIndex, | |
char const * | pStringValue | |||
) |
Inserts a string value at the specific index.
pIndex | Zero bound index. | |
pStringValue | The string value to be inserted. |
int GetEnumCount | ( | ) | const |
Returns the number of elements in the enumeration list.
void SetEnumValue | ( | int | pIndex, | |
char const * | pStringValue | |||
) |
Sets a string value at the specific index.
pIndex | Zero bound index. | |
pStringValue | The string value at the specific index. |
void RemoveEnumValue | ( | int | pIndex | ) |
Removes the string value at the specified index.
pIndex | Index of the string value to be removed. |
const char* GetEnumValue | ( | int | pIndex | ) | const |
Returns a string value at the specified index.
pIndex | Zero bound index. |
bool IsRoot | ( | ) | const [inline] |
Judges if this property is the root property.
True
when this property is a root property,
false
otherwise.Definition at line 505 of file kfbxproperty.h.
bool IsChildOf | ( | KFbxProperty const & | pParent | ) | const [inline] |
Judges whether this property is a child of the specified property.
pParent | The specified property. |
True
when this property is a child of the
specified property, false
otherwise.Definition at line 511 of file kfbxproperty.h.
bool IsDescendentOf | ( | KFbxProperty const & | pAncestor | ) | const [inline] |
Judges whether this property is a descendant of the specified property.
pAncestor | The specified property. |
True
when this property is a descendant of the
specified property, false
otherwise.Definition at line 517 of file kfbxproperty.h.
KFbxProperty GetParent | ( | ) | const [inline] |
Returns the parent property of this property.
Definition at line 522 of file kfbxproperty.h.
bool SetParent | ( | const KFbxProperty & | pOther | ) |
Sets the parent for this property (this function has not been
implemented, so it always return false
).
pOther | The parent to be set. |
True
on success, false
otherwise.KFbxProperty GetChild | ( | ) | const [inline] |
Returns the first child of this property.
Definition at line 533 of file kfbxproperty.h.
KFbxProperty GetSibling | ( | ) | const [inline] |
Returns the sibling of this property.
Definition at line 538 of file kfbxproperty.h.
KFbxProperty GetFirstDescendent | ( | ) | const [inline] |
Returns the first property that is a descendant of this property.
Definition at line 543 of file kfbxproperty.h.
KFbxProperty GetNextDescendent | ( | KFbxProperty const & | pProperty | ) | const [inline] |
Returns the property that follows pProperty that is a descendant of this property.
pProperty | The last found descendant. |
Definition at line 549 of file kfbxproperty.h.
KFbxProperty Find | ( | char const * | pName, | |
bool | pCaseSensitive =
true |
|||
) | const [inline] |
Searches a property using its name.
pName | The name of the property as a NULL terminated
string. |
|
pCaseSensitive | Whether the name is case-sensitive. |
Definition at line 557 of file kfbxproperty.h.
KFbxProperty Find | ( | char const * | pName, | |
KFbxDataType const & | pDataType, | |||
bool | pCaseSensitive =
true |
|||
) | const [inline] |
Searches a property using its name and data type.
pName | The name of the property as a NULL terminated
string. |
|
pDataType | The data type of the property. | |
pCaseSensitive | Whether the name is case-sensitive. |
Definition at line 566 of file kfbxproperty.h.
References KFbxDataType::GetTypeInfoHandle().
KFbxProperty FindHierarchical | ( | char const * | pName, | |
bool | pCaseSensitive =
true |
|||
) | const [inline] |
Searches a property using its full name.
pName | The full name of the property as a NULL terminated
string. |
|
pCaseSensitive | whether the name is case-sensitive. |
Definition at line 574 of file kfbxproperty.h.
KFbxProperty FindHierarchical | ( | char const * | pName, | |
KFbxDataType const & | pDataType, | |||
bool | pCaseSensitive =
true |
|||
) | const [inline] |
Searches a property using its full name and data type.
pName | The full name of the property as a NULL terminated
string. |
|
pDataType | The data type of the property. | |
pCaseSensitive | whether the name is case-sensitive. |
Definition at line 583 of file kfbxproperty.h.
References KFbxDataType::GetTypeInfoHandle().
void BeginCreateOrFindProperty | ( | ) | [inline] |
Internal function for building a property name map.
Definition at line 592 of file kfbxproperty.h.
void EndCreateOrFindProperty | ( | ) | [inline] |
Internal function for clearing the property name map.
Definition at line 595 of file kfbxproperty.h.
bool SetArraySize | ( | int | pSize, | |
bool | pVariableArray | |||
) |
Sets the array size(not implemented).
pSize | ||
pVariableArray |
int GetArraySize | ( | ) | const |
Returns the array size(not implemented).
KFbxProperty GetArrayItem | ( | int | pIndex | ) | const |
Returns the (pIndex)th array item.
pIndex | The item index. |
KFbxProperty operator[] | ( | int | pIndex | ) | const [inline] |
Returns the (pIndex)th array item.
pIndex | The item index. |
Definition at line 645 of file kfbxproperty.h.
K_DEPRECATED KFCurveNode* CreateKFCurveNode | ( | const char * | pTakeName = NULL |
) |
Creates a KFCurveNode on a take.
pTakeName | Name of the take to create the KFCurveNode on. |
K_DEPRECATED KFCurveNode* GetKFCurveNode | ( | bool | pCreateAsNeeded =
false , |
|
const char * | pTakeName = NULL |
|||
) |
Returns the KFCurveNode of the property from a take.
pTakeName | Name of the take from which to get the KFCurveNode. | |
pCreateAsNeeded | Creates a KFCurveNode if not found. |
K_DEPRECATED KFCurve* GetKFCurve | ( | const char * | pChannel = NULL , |
|
bool | pCreateAsNeeded =
true |
|||
) |
Tries to get the KFCurve of the specified channel from the current take.
pChannel | Name of the KFCurve channel we are looking for. | |
pCreateAsNeeded | Creates a KFCurveNode if not found. |
K_DEPRECATED KFCurve* GetKFCurve | ( | const char * | pChannel, | |
const char * | pTakeName, | |||
bool | pCreateAsNeeded =
true |
|||
) |
Tries to get the KFCurve of the specified channel from the given take.
pChannel | Name of the KFCurve channel we are looking for. | |
pTakeName | Name of the take from which to get the KFCurve. | |
pCreateAsNeeded | Creates a KFCurve if not found. |
KFbxAnimCurveNode* CreateCurveNode | ( | KFbxAnimLayer * | pAnimLayer | ) |
Creates a KFbxAnimCurveNode on the specified layer.
pAnimLayer | The animation layer the KFbxAnimCurveNode object is attached to. |
If created, the KFbxAnimCurveNode is automatically connected to the property and the animation layer.
The created KFbxAnimCurveNode does not automatically allocate anim curves.
On the successful execution of this function, the property
ePUBLISHED flag is set to true
.
KFbxAnimCurveNode* GetCurveNode | ( | KFbxAnimLayer * | pAnimLayer, | |
bool | pCreateAsNeeded =
false |
|||
) |
Get the KFbxAnimCurveNode of the property that is connected to the specified animation layer.
pAnimLayer | The searched animation layer. | |
pCreateAsNeeded | Creates a KFbxAnimCurveNode if it does not exist. |
If created, the KFbxAnimCurveNode is automatically connected to the property and the animation layer.
A created KFbxAnimCurveNode does not allocate anim curves.
KFbxAnimCurveNode* GetCurveNode | ( | bool | pCreateAsNeeded =
false , |
|
const char * | pAnimStackName =
NULL |
|||
) |
Use the animation stack name to look for the AnimStack and retrieves the first layer from the stack.
This layer is then used to get the curve node.
pCreateAsNeeded | Creates a KFbxAnimCurveNode if it does not exist. | |
pAnimStackName | The name of the animation stack. |
T* GetCurve | ( | KFbxAnimLayer * | pAnimLayer, | |
bool | pCreateAsNeeded =
false |
|||
) | [inline] |
Get the KFbxAnimCurve from the specified animation layer.
This function expects to find a KFbxAnimCurveNode object with the same name as the property and it attempts to retrieve the KFbxAnimCurve from it.
pAnimLayer | The searched animation layer. | |
pCreateAsNeeded | Create a KFbxAnimCurve if not found. |
false
and the curve is not
found.If more than one KFbxAnimCurveNode matching the name criteria are connected, the first one is returned.
Definition at line 737 of file kfbxproperty.h.
References NULL.
T* GetCurve | ( | KFbxAnimLayer * | pAnimLayer, | |
const char * | pChannel, | |||
bool | pCreateAsNeeded =
false |
|||
) | [inline] |
Get the KFbxAnimCurve from the specified animation layer.
This function expects to find a KFbxAnimCurveNode object with the same name as the property and it attempts to retrieve the KFbxAnimCurve from it.
pAnimLayer | The searched animation layer. | |
pChannel | Name of the channel we are looking for the animation curve. If NULL use the first defined channel. | |
pCreateAsNeeded | Create a KFbxAnimCurve if not found. |
false
and the curve is not
found.If more than one KFbxAnimCurveNode matching the name criteria are connected, the first one is returned.
Definition at line 757 of file kfbxproperty.h.
T* GetCurve | ( | KFbxAnimLayer * | pAnimLayer, | |
const char * | pName, | |||
const char * | pChannel, | |||
bool | pCreateAsNeeded =
false |
|||
) | [inline] |
Get the KFbxAnimCurve of the specified channel from the specified animation layer.
This function looks for the KFbxAnimCurveNode named pName and the channel pChannel. It will retrieves the KFbxAnimCurve from it.
pAnimLayer | The searched animation layer. | |
pName | Name of the curve node. It is an error to leave this field empty. | |
pChannel | Name of the channel we are looking for the animation curve. If NULL use the first defined channel. | |
pCreateAsNeeded | Create a KFbxAnimCurve if not found. |
false
and the curve is not
found.If more than one KFbxAnimCurveNode matching the name criteria are connected, the first one is returned.
If pChannel is NULL, this function is the equivalent of GetCurve(KFbxAnimLayer*, bool).
Definition at line 779 of file kfbxproperty.h.
bool ConnectSrcObject | ( | KFbxObject * | pObject, | |
kFbxConnectionType | pType =
eFbxConnectionNone |
|||
) |
Connects this property to one source object.
pObject | The source object to which this property connects. | |
pType | The connection type between the property and the object. |
True
on success, false
otherwise.Referenced by KFbxTypedProperty< fbxReference * >::Set().
bool IsConnectedSrcObject | ( | const KFbxObject * | pObject | ) | const |
Judges whether this property connects with the source object.
pObject | The source object. |
True
if this property connects with the source
object, false
otherwise.bool DisconnectSrcObject | ( | KFbxObject * | pObject | ) |
Disconnects this property from one source object.
pObject | The source object from which this property will be disconnected. |
True
on success, false
otherwise.bool DisconnectAllSrcObject | ( | ) |
Disconnects this property from all the source objects.
True
if it disconnects all the source objects
successfully, false
otherwise.Referenced by KFbxTypedProperty< fbxReference * >::Set().
bool DisconnectAllSrcObject | ( | KFbxCriteria const & | pCriteria | ) |
Disconnects this property from all source objects that satisfy a given criteria.
pCriteria | The given criteria. |
True
if it disconnects all the source objects
successfully, false
otherwise.bool DisconnectAllSrcObject | ( | const kFbxClassId & | pClassId | ) |
Disconnects this property from all the source objects of a specific class type.
pClassId | The specific class type. |
True
if it disconnects all the source objects
successfully, false
otherwise.bool DisconnectAllSrcObject | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria | |||
) |
Disconnects this property from all the source objects of a specific class type that satisfy the given criteria.
pClassId | The specific class type. | |
pCriteria | The given criteria. |
True
if it disconnects all the source objects
successfully, false
otherwise.int GetSrcObjectCount | ( | ) | const |
Returns the number of source objects with which this property connects.
Referenced by KFbxTypedProperty< fbxReference * >::Get(), KFbxIteratorSrcBase::GetSafeNext(), KFbxIteratorSrcBase::GetSafePrevious(), KFbxIteratorSrcBase::ResetToBegin(), and KFbxIteratorSrcBase::ResetToEnd().
int GetSrcObjectCount | ( | KFbxCriteria const & | pCriteria | ) | const |
Returns the number of source objects that satisfy the given criteria with which this property connects.
pCriteria | The given criteria. |
int GetSrcObjectCount | ( | const kFbxClassId & | pClassId | ) | const |
Returns the number of source objects of the specific class type with which this property connects.
pClassId | The specific class type. |
int GetSrcObjectCount | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria | |||
) | const |
Returns the number of source objects which are of the specified class type and satisfy the given criteria with which this property connects.
pClassId | The specified class type. | |
pCriteria | The given criteria. |
KFbxObject* GetSrcObject | ( | int | pIndex = 0 |
) | const |
Returns the source object at the specified index with which this property connects.
pIndex | The specified index whose default value is 0. |
Referenced by KFbxTypedProperty< fbxReference * >::Get(), KFbxIteratorSrcBase::GetNext(), and KFbxIteratorSrcBase::GetPrevious().
KFbxObject* GetSrcObject | ( | KFbxCriteria const & | pCriteria, | |
int | pIndex = 0 |
|||
) | const |
Returns the source object that satisfies the criteria at the specified index with which this property connects.
pCriteria | The given criteria. | |
pIndex | The specified index whose default value is 0. |
KFbxObject* GetSrcObject | ( | const kFbxClassId & | pClassId, | |
int | pIndex = 0 |
|||
) | const |
Returns the source object of the specified class type at the specified index with which this property connects.
pClassId | The specified class type. | |
pIndex | The specified index whose default value is 0. |
KFbxObject* GetSrcObject | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria, | |||
int | pIndex = 0 |
|||
) | const |
Returns the source object which is of the specified class type and satisfies the given criteria at the specified index.
pClassId | The specified class type. | |
pCriteria | The given criteria. | |
pIndex | The specified index whose default value is 0. |
KFbxObject* FindSrcObject | ( | const char * | pName, | |
int | pStartIndex = 0 |
|||
) | const |
Searches the source object with the specified name, starting with the specified index.
pName | The object name. | |
pStartIndex | The start index. |
KFbxObject* FindSrcObject | ( | KFbxCriteria const & | pCriteria, | |
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const |
Searches the source object with the specified name which satisfies the given criteria, starting with the specified index.
pCriteria | The given criteria. | |
pName | The object name. | |
pStartIndex | The start index. |
KFbxObject* FindSrcObject | ( | const kFbxClassId & | pClassId, | |
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const |
Searches the source object with the specified name which is of the specified class type, starting with the specified index.
pClassId | The specified class type. | |
pName | The object name. | |
pStartIndex | The start index. |
KFbxObject* FindSrcObject | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria, | |||
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const |
Searches the source object with the specified name which is of the specified class type and satisfies the given criteria, starting with the specified index.
pClassId | The specified class type. | |
pCriteria | The given criteria. | |
pName | The object name. | |
pStartIndex | The start index. |
bool DisconnectAllSrcObject | ( | T const * | pFBX_TYPE | ) | [inline] |
Disconnects this property from all source objects of the specified class type.
pFBX_TYPE | The specified class type. |
True
if it disconnects all source objects
successfully, false
otherwise.Definition at line 922 of file kfbxproperty.h.
bool DisconnectAllSrcObject | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria | |||
) | [inline] |
Disconnects this property from all source objects which are of the specified class type and satisfy the given criteria.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. |
True
if it disconnects all source objects
successfully, false
otherwise.Definition at line 929 of file kfbxproperty.h.
int GetSrcObjectCount | ( | T const * | pFBX_TYPE | ) | const [inline] |
Returns the number of source objects of a specific class type with which this property connects.
pFBX_TYPE | The specified class type. |
Definition at line 935 of file kfbxproperty.h.
int GetSrcObjectCount | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria | |||
) | const [inline] |
Returns the number of source objects which are of the specified class type and satisfy the given criteria with which this property connects.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. |
Definition at line 942 of file kfbxproperty.h.
T* GetSrcObject | ( | T const * | pFBX_TYPE, | |
int | pIndex = 0 |
|||
) | const [inline] |
Returns the source object of the specified class type at the specified index.
pFBX_TYPE | The specified class type. | |
pIndex | The specified index whose default value is 0. |
Definition at line 949 of file kfbxproperty.h.
T* GetSrcObject | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria, | |||
int | pIndex = 0 |
|||
) | const [inline] |
Returns the source object which is of the specified class type and satisfies the given criteria at the specified index.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. | |
pIndex | The specified index whose default value is 0. |
Definition at line 957 of file kfbxproperty.h.
T* FindSrcObject | ( | T const * | pFBX_TYPE, | |
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const [inline] |
Searches the source object with the specified name which is of the specified class type, starting with the specified index.
pFBX_TYPE | The specified class type. | |
pName | The object name. | |
pStartIndex | The start index. |
Definition at line 965 of file kfbxproperty.h.
T* FindSrcObject | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria, | |||
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const [inline] |
Searches the source object with the specified name which is of the specified class type and satisfies the given criteria, starting with the specified index.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. | |
pName | The object name. | |
pStartIndex | The start index. |
Definition at line 974 of file kfbxproperty.h.
bool ConnectDstObject | ( | KFbxObject * | pObject, | |
kFbxConnectionType | pType =
eFbxConnectionNone |
|||
) |
Connects this property to one destination object.
pObject | The destination object with which this property connects. | |
pType | The connection type between this property and the object. |
True
on success, false
otherwise.bool IsConnectedDstObject | ( | const KFbxObject * | pObject | ) | const |
Judges whether this property connects with the destination object.
pObject | The destination object. |
True
if this property connects with the
destination object, false
otherwise.bool DisconnectDstObject | ( | KFbxObject * | pObject | ) |
Disconnects this property from the destination object.
pObject | The destination object from which this property disconnects from. |
True
on success, false
otherwise.bool DisconnectAllDstObject | ( | ) |
Disconnects this property from all the destination objects.
True
if it disconnects all the destination objects
successfully, false
otherwise.bool DisconnectAllDstObject | ( | KFbxCriteria const & | pCriteria | ) |
Disconnects this property from all the destination objects that satisfy given criteria.
pCriteria | The given criteria. |
True
if it disconnects all the destination objects
successfully, false
otherwise.bool DisconnectAllDstObject | ( | const kFbxClassId & | pClassId | ) |
Disconnects this property from all the destination objects of the specified class type.
pClassId | The specified class type. |
True
if it disconnects all the destination objects
successfully, false
otherwise.bool DisconnectAllDstObject | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria | |||
) |
Disconnects this property from all the destination objects which are of the specified class type and satisfy the given criteria.
pClassId | The specified class type. | |
pCriteria | The given criteria. |
True
if it disconnects all the destination objects
successfully, false
otherwise.int GetDstObjectCount | ( | ) | const |
Returns the number of destination objects with which this property connects.
Referenced by KFbxIteratorDstBase::GetSafeNext(), KFbxIteratorDstBase::GetSafePrevious(), KFbxIteratorDstBase::ResetToBegin(), and KFbxIteratorDstBase::ResetToEnd().
int GetDstObjectCount | ( | KFbxCriteria const & | pCriteria | ) | const |
Returns the number of destination objects that satisfy the given criteria with which this property connects.
pCriteria | The given criteria. |
int GetDstObjectCount | ( | const kFbxClassId & | pClassId | ) | const |
Returns the number of destination objects of the specified class type with which this property connects.
pClassId | The specified class type. |
int GetDstObjectCount | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria | |||
) | const |
Returns the number of destination objects which are of the specified class type and satisfy the given criteria with which this property connects.
pClassId | The specified class type. | |
pCriteria | The given criteria. |
KFbxObject* GetDstObject | ( | int | pIndex = 0 |
) | const |
Returns the destination object at the specified index with which this property connects.
pIndex | The specified index whose default value is 0. |
Referenced by KFbxIteratorDstBase::GetNext(), and KFbxIteratorDstBase::GetPrevious().
KFbxObject* GetDstObject | ( | KFbxCriteria const & | pCriteria, | |
int | pIndex = 0 |
|||
) | const |
Returns the destination object that satisfies given criteria at the specified index with which this property connects.
pCriteria | The given criteria. | |
pIndex | The specified index whose default value is 0. |
KFbxObject* GetDstObject | ( | const kFbxClassId & | pClassId, | |
int | pIndex = 0 |
|||
) | const |
Returns the destination object of the specified class type at the specified index with which this property connects.
pClassId | The specified class type. | |
pIndex | The specified index whose default value is 0. |
KFbxObject* GetDstObject | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria, | |||
int | pIndex = 0 |
|||
) | const |
Returns the destination object which is of the specified class type and satisfies the given criteria at the specified index with which this property connects.
pClassId | The specified class type. | |
pCriteria | The given criteria. | |
pIndex | The specified index whose default value is 0. |
KFbxObject* FindDstObject | ( | const char * | pName, | |
int | pStartIndex = 0 |
|||
) | const |
Searches the destination object with the specified name, starting with the specified index.
pName | The object name. | |
pStartIndex | The start index. |
KFbxObject* FindDstObject | ( | KFbxCriteria const & | pCriteria, | |
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const |
Searches the destination object with the specified name which satisfies the given criteria, starting with the specified index.
pCriteria | The given criteria. | |
pName | The object name. | |
pStartIndex | The start index. |
KFbxObject* FindDstObject | ( | const kFbxClassId & | pClassId, | |
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const |
Searches the destination object with the specified name which is of the specified class type, starting with the specified index.
pClassId | The specified class type. | |
pName | The object name. | |
pStartIndex | The start index. |
KFbxObject* FindDstObject | ( | const kFbxClassId & | pClassId, | |
KFbxCriteria const & | pCriteria, | |||
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const |
Searches the destination object with the specified name which is of the specified class type and satisfies the given criteria, starting with the specified index.
pClassId | The specified class type. | |
pCriteria | The given criteria. | |
pName | The object name. | |
pStartIndex | The start index. |
bool DisconnectAllDstObject | ( | T const * | pFBX_TYPE | ) | [inline] |
Disconnects this property from all the destination objects of the specified class type.
pFBX_TYPE | The specified class type. |
True
if it disconnects all the destination objects
successfully, false
otherwise.Definition at line 1108 of file kfbxproperty.h.
bool DisconnectAllDstObject | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria | |||
) | [inline] |
Disconnects this property from all the destination objects which are of the specified class type and satisfy the given criteria.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. |
True
if it disconnects all the destination objects
successfully, false
otherwise.Definition at line 1115 of file kfbxproperty.h.
int GetDstObjectCount | ( | T const * | pFBX_TYPE | ) | const [inline] |
Returns the number of destination objects of the specified class type with which this property connects.
pFBX_TYPE | The specified class type. |
Definition at line 1121 of file kfbxproperty.h.
int GetDstObjectCount | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria | |||
) | const [inline] |
Returns the number of destination objects which are of the specified class type and satisfy the given criteria with which this property connects.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. |
Definition at line 1128 of file kfbxproperty.h.
T* GetDstObject | ( | T const * | pFBX_TYPE, | |
int | pIndex = 0 |
|||
) | const [inline] |
Returns the destination object of the specified class type at the specified index with which this property connects.
pFBX_TYPE | The specified class type. | |
pIndex | The specified index whose default value is 0. |
Definition at line 1135 of file kfbxproperty.h.
T* GetDstObject | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria, | |||
int | pIndex = 0 |
|||
) | const [inline] |
Returns the destination object which is of the specified class type and satisfies the given criteria at the specified index with which this property connects.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. | |
pIndex | The specified index whose default value is 0. |
Definition at line 1143 of file kfbxproperty.h.
T* FindDstObject | ( | T const * | pFBX_TYPE, | |
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const [inline] |
Searches the destination object with the specified name which is of the specified class type, starting with the specified index.
pFBX_TYPE | The specified class type. | |
pName | The object name. | |
pStartIndex | The start index. |
Definition at line 1151 of file kfbxproperty.h.
T* FindDstObject | ( | T const * | pFBX_TYPE, | |
KFbxCriteria const & | pCriteria, | |||
const char * | pName, | |||
int | pStartIndex = 0 |
|||
) | const [inline] |
Searches the destination object with the specified name which is of the specified class type and satisfies the given criteria, starting with the specified index.
pFBX_TYPE | The specified class type. | |
pCriteria | The given criteria. | |
pName | The object name. | |
pStartIndex | The start index. |
Definition at line 1160 of file kfbxproperty.h.
bool ConnectSrcProperty | ( | KFbxProperty const & | pProperty | ) |
Connects this property to a source property.
pProperty | The source property with which this property connects. |
True
on success, false
otherwise.bool IsConnectedSrcProperty | ( | KFbxProperty const & | pProperty | ) |
Judges whether this property connects with the specified source property.
pProperty | The specified source property. |
True
if this property connects with the specified
source property, false
otherwise.bool DisconnectSrcProperty | ( | KFbxProperty const & | pProperty | ) |
Disconnects this property from the specified source property.
pProperty | The specified source property. |
True
on success, false
otherwise.int GetSrcPropertyCount | ( | ) | const |
Returns the number of source properties with which this property connects.
KFbxProperty GetSrcProperty | ( | int | pIndex = 0 |
) | const |
Returns the source property at the specified index with which this property connects.
pIndex | The specified index. |
KFbxProperty FindSrcProperty | ( | const char * | pName, | |
int | pStartIndex = 0 |
|||
) | const |
Searches the source property with the specified name, starting with the specified index with which this property connects.
pName | The specified property name. | |
pStartIndex | The start index. |
bool ConnectDstProperty | ( | KFbxProperty const & | pProperty | ) |
Connects this property to a destination property.
pProperty | The destination property with which this property connects. |
True
on success, false
otherwise.bool IsConnectedDstProperty | ( | KFbxProperty const & | pProperty | ) |
Judges if this property connects with the specified destination property.
pProperty | The specified destination property. |
True
if this property connects with the specified
destination property, false
otherwise.bool DisconnectDstProperty | ( | KFbxProperty const & | pProperty | ) |
Disconnects this property from the specified destination property.
pProperty | The specified destination property. |
True
on success, false
otherwise.int GetDstPropertyCount | ( | ) | const |
Returns the number of destination properties with which this property connects.
KFbxProperty GetDstProperty | ( | int | pIndex = 0 |
) | const |
Returns the destination property at the specified index with which this property connects.
pIndex | The specified index. |
KFbxProperty FindDstProperty | ( | const char * | pName, | |
int | pStartIndex = 0 |
|||
) | const |
Searches the destination property with the specified name, starting with the specified index with which this property connects.
pName | The specified property name. | |
pStartIndex | The start index. |
void ClearConnectCache | ( | ) |
Clears the connection cache of this property, this cache is used to store the connections that satisfy the given criteria.
const char* sHierarchicalSeparator
[static] |
Hierarchical separator of properties.
Definition at line 1247 of file kfbxproperty.h.