CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdRxFacetProvider Struct Referenceabstract

#include <RxMember.h>

Inheritance diagram for OdRxFacetProvider:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdRxFacetProvider)
 
virtual void getFacets (const OdRxObject *pO, const OdRxMemberQueryContext *pContext, OdArray< OdRxClassPtr > &facets)=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

<group OdRx_Classes>

This interface provides a way to extend a given class (or an object) with methods/properties.

Definition at line 418 of file RxMember.h.

Member Function Documentation

◆ getFacets()

virtual void OdRxFacetProvider::getFacets ( const OdRxObject pO,
const OdRxMemberQueryContext pContext,
OdArray< OdRxClassPtr > &  facets 
)
pure virtual

This method is called every time when OdRxMemberQueryEngine::find or OdRxMemberQueryEngine::newMemberIterator is called. Facet is an extension class which is used only to get a list of members. Facet provider may add different facets depending on context and object.

Parameters
pO[in] Object to get facets of.
pContext[in] Context.
facets[out] Array of facets.

◆ ODRX_DECLARE_MEMBERS()

OdRxFacetProvider::ODRX_DECLARE_MEMBERS ( OdRxFacetProvider  )

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