CFx SDK Documentation
2020SP3
|
#include <RxMember.h>
Public Member Functions | |
OdRxMember * | find (const OdRxObject *pO, const OdChar *name, const OdRxMemberQueryContext *pContext=NULL) const |
OdRxMemberIteratorPtr | newMemberIterator (const OdRxObject *pO, const OdRxMemberQueryContext *pContext=NULL) const |
const OdRxMemberQueryContext * | defaultContext () const |
const OdRxPromotingQueryContext * | promotingContext () const |
void | addFacetProvider (OdRxFacetProvider *pProvider) |
void | removeFacetProvider (OdRxFacetProvider *pProvider) |
void | addReactor (OdRxMemberReactor *pReactor) |
void | removeReactor (OdRxMemberReactor *pReactor) |
Static Public Member Functions | |
static OdRxMemberQueryEngine * | theEngine () |
Friends | |
class | OdRxMemberQueryEngineImpl |
<group OdRx_Classes> This class provides ability to enumerate and find members associated with the given object, add new property providers (OdRxFacetProvider) and reactors.
Definition at line 293 of file RxMember.h.
void OdRxMemberQueryEngine::addFacetProvider | ( | OdRxFacetProvider * | pProvider | ) |
Register new facet provider (to provide extension classes with additional members).
void OdRxMemberQueryEngine::addReactor | ( | OdRxMemberReactor * | pReactor | ) |
Register new reactor.
const OdRxMemberQueryContext* OdRxMemberQueryEngine::defaultContext | ( | ) | const |
Reference to the default query context. Query context handles collecting members in a list.
OdRxMember* OdRxMemberQueryEngine::find | ( | const OdRxObject * | pO, |
const OdChar * | name, | ||
const OdRxMemberQueryContext * | pContext = NULL |
||
) | const |
Finds member by name, uses defaultContext() if no context is passed
OdRxMemberIteratorPtr OdRxMemberQueryEngine::newMemberIterator | ( | const OdRxObject * | pO, |
const OdRxMemberQueryContext * | pContext = NULL |
||
) | const |
Enumerates all the properties of the object, uses defaultContext() if no context is passed
const OdRxPromotingQueryContext* OdRxMemberQueryEngine::promotingContext | ( | ) | const |
Reference to the default promoting query context. Handles collecting members in a list, but unlike default one, includes children (sub-properties) in the list, instead of parents. For example OdDbLine property "EndPoint" would be replaced by "EndPoint/X", "EndPoint/Y", "EndPoint/Z" if queried using this context.
void OdRxMemberQueryEngine::removeFacetProvider | ( | OdRxFacetProvider * | pProvider | ) |
Unregister extension provider.
void OdRxMemberQueryEngine::removeReactor | ( | OdRxMemberReactor * | pReactor | ) |
Unregister reactor.
|
static |
This singleton object is the main access point to the member engine services.
|
friend |
Definition at line 344 of file RxMember.h.