API Reference > OdRx Classes > OdRxFacetProvider Structure > OdRxFacetProvider Methods > OdRxFacetProvider::getFacets Method
OdRxFacetProvider::getFacets Method
Syntax
C++
virtual void getFacets(const OdRxObject* pO, const OdRxMemberQueryContext* pContext, OdArray<OdRxClassPtr>& facets) = 0;
Parameters 
Description 
const OdRxObject* pO 
[in] Object to get facets of.  
const OdRxMemberQueryContext* pContext 
[in] Context.  
OdArray<OdRxClassPtr>& facets 
[out] Array of facets. 

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. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.