Classes | Public Member Functions | Protected Member Functions | Friends

KFbxQuery Class Reference

Search for all occurrences

Detailed Description

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.

See also:
KFbxQueryOperator KFbxUnaryQueryOperator KFbxQueryClassId KFbxQueryIsA KFbxQueryProperty KFbxQueryConnectionType KFbxCriteria

Definition at line 58 of file kfbxquery.h.

#include <kfbxquery.h>

Inheritance diagram for KFbxQuery:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

KFbxQuery ( ) [protected]
virtual ~KFbxQuery ( ) [protected, virtual]

Member Function Documentation

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.

Parameters:
pProperty The given property.
Returns:
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.

Parameters:
pProperty The given property.
pType The given connection type.
Returns:
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.

Parameters:
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.


Friends And Related Function Documentation

friend class KFbxProperty [friend]

Definition at line 114 of file kfbxquery.h.

friend class KFbxInternalFilter [friend]

Definition at line 115 of file kfbxquery.h.


The documentation for this class was generated from the following file:

KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery
KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery KFbxQuery