Base class to manage query.
A query contains a filter and reference ID, which will be used to search and retrieve objects. The derived query classes are used to create KFbxCriteria.
Definition at line 58 of file kfbxquery.h.
#include <kfbxquery.h>
Classes |
|
class | KFbxInternalFilter |
Public Member Functions |
|
virtual
KFBXNEW_DECLARE_FRIEND kFbxFilterId |
GetUniqueId () const |
Get unique filter Id. |
|
virtual bool | IsValid (KFbxProperty const &pProperty) const |
Judge if the given property is valid.
|
|
virtual bool | IsValid (KFbxProperty const &pProperty, kFbxConnectionType pType) const |
Judge if the given property and connection
type are valid. |
|
virtual bool | IsEqual (KFbxQuery *pOtherQuery) const |
This compares whether two KFbxQuery are the same, NOT
whether the query matches or not. |
|
void | Ref () |
Add one to ref count . |
|
void | Unref () |
Minus one to ref count, if ref count is
zero, delete this query object. |
|
Protected Member Functions |
|
KFbxQuery () | |
virtual | ~KFbxQuery () |
Friends |
|
class | KFbxProperty |
class | KFbxInternalFilter |
KFbxQuery | ( | ) | [protected] |
virtual ~KFbxQuery | ( | ) | [protected, virtual] |
virtual KFBXNEW_DECLARE_FRIEND kFbxFilterId GetUniqueId | ( | ) | const [inline, virtual] |
Get unique filter Id.
Reimplemented in KFbxQueryOperator, KFbxUnaryQueryOperator, KFbxQueryClassId, KFbxQueryIsA, KFbxQueryProperty, and KFbxQueryConnectionType.
Definition at line 63 of file kfbxquery.h.
{ return 0x1452e230; }
virtual bool IsValid | ( | KFbxProperty const & | pProperty | ) | const [virtual] |
Judge if the given property is valid.
pProperty | The given property. |
True
always, not implemented.Reimplemented in KFbxQueryOperator, KFbxUnaryQueryOperator, KFbxQueryClassId, KFbxQueryIsA, KFbxQueryProperty, and KFbxQueryConnectionType.
virtual bool IsValid | ( | KFbxProperty const & | pProperty, |
kFbxConnectionType | pType | ||
) | const [virtual] |
Judge if the given property and connection type are valid.
pProperty | The given property. |
pType | The given connection type. |
True
always, not implemented.Reimplemented in KFbxQueryOperator, KFbxUnaryQueryOperator, KFbxQueryClassId, KFbxQueryIsA, KFbxQueryProperty, and KFbxQueryConnectionType.
virtual bool IsEqual | ( | KFbxQuery * | pOtherQuery | ) | const [virtual] |
This compares whether two KFbxQuery are the same, NOT whether the query matches or not.
It's strictly the equivalent of an operator==, but virtual.
pOtherQuery | The given KFbxQuery |
Reimplemented in KFbxQueryOperator, KFbxUnaryQueryOperator, KFbxQueryClassId, KFbxQueryIsA, KFbxQueryProperty, and KFbxQueryConnectionType.
void Ref | ( | ) |
Add one to ref count .
void Unref | ( | ) |
Minus one to ref count, if ref count is zero, delete this query object.
friend class KFbxProperty
[friend] |
Definition at line 114 of file kfbxquery.h.
friend class KFbxInternalFilter
[friend] |
Definition at line 115 of file kfbxquery.h.