CFx SDK Documentation  2023 SP0
Functions
RxMultiCast.h File Reference
#include "RxObject.h"
#include "TD_PackPush.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Functions

OdUInt32 odrxMultiCast (const OdRxObject *pObject, OdRxObjectPtr *pPointers, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastObject (const OdRxObject *pObject, bool *pCasts, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastX (const OdRxObject *pObject, OdRxObjectPtr *pPointers, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwd_ (OdRxClass *pClass, const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwd (const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwdXPrior_ (OdRxClass *pClass, const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwdXPrior (const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwdObject_ (OdRxClass *pClass, const OdRxObject *pObject, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwdObject (const OdRxObject *pObject, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwdX_ (OdRxClass *pClass, const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastFwdX (const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastBk (const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastBkXPrior (const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastBkObject (const OdRxObject *pObject, const OdRxClass **pClasses, OdUInt32 nClasses)
 
OdUInt32 odrxMultiCastBkX (const OdRxObject *pObject, OdRxObjectPtr &pPointer, const OdRxClass **pClasses, OdUInt32 nClasses)
 

Function Documentation

◆ odrxMultiCast()

OdUInt32 odrxMultiCast ( const OdRxObject pObject,
OdRxObjectPtr pPointers,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

details Provides ability to cast RxObject into set of classes as one step.

  • Basic (investigate entire classes structure and set all pointers) odrxMultiCast - Check all classes include protocol extensions odrxMultiCastObject - Check all classes without protocol extensions check odrxMultiCastX - Check all protocol extensions only
  • Single shot (investigate classes structure until any first doesn't found and stop check) odrxMultiCastFwd - scan forward (from OdRxObject class) with protocol extensions with second priority odrxMultiCastFwdXPrior - scan forward (from OdRxObject class) with protocol extensions with first priority odrxMultiCastFwdObject - scan forward (from OdRxObject class) without protocol extensions check odrxMultiCastFwdX - scan forward (from OdRxObject class) protocol extensions only odrxMultiCastBk - scan backward (from last inherited class) with protocol extensions with second priority odrxMultiCastBkXPrior - scan backward (from last inherited class) with protocol extensions with first priority odrxMultiCastBkObject - scan backward (from last inherited class) without protocol extensions check odrxMultiCastBkX - scan backward (from last inherited class) protocol extensions only
Parameters
pObject[in] - object for which check will be processed
pPointers[out] - array of pointers which will be set to found classes (use static_cast or c-style cast to convert pointers)
pClasses[in] - array of classes into which object cast must be processed
nClasses[in] - count of classes in pClasses and pointer in pPointers arrays

Definition at line 55 of file RxMultiCast.h.

◆ odrxMultiCastBk()

OdUInt32 odrxMultiCastBk ( const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 269 of file RxMultiCast.h.

◆ odrxMultiCastBkObject()

OdUInt32 odrxMultiCastBkObject ( const OdRxObject pObject,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 320 of file RxMultiCast.h.

◆ odrxMultiCastBkX()

OdUInt32 odrxMultiCastBkX ( const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 338 of file RxMultiCast.h.

◆ odrxMultiCastBkXPrior()

OdUInt32 odrxMultiCastBkXPrior ( const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 296 of file RxMultiCast.h.

◆ odrxMultiCastFwd()

OdUInt32 odrxMultiCastFwd ( const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 175 of file RxMultiCast.h.

◆ odrxMultiCastFwd_()

OdUInt32 odrxMultiCastFwd_ ( OdRxClass pClass,
const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 149 of file RxMultiCast.h.

◆ odrxMultiCastFwdObject()

OdUInt32 odrxMultiCastFwdObject ( const OdRxObject pObject,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 233 of file RxMultiCast.h.

◆ odrxMultiCastFwdObject_()

OdUInt32 odrxMultiCastFwdObject_ ( OdRxClass pClass,
const OdRxObject pObject,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 216 of file RxMultiCast.h.

◆ odrxMultiCastFwdX()

OdUInt32 odrxMultiCastFwdX ( const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 260 of file RxMultiCast.h.

◆ odrxMultiCastFwdX_()

OdUInt32 odrxMultiCastFwdX_ ( OdRxClass pClass,
const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 242 of file RxMultiCast.h.

◆ odrxMultiCastFwdXPrior()

OdUInt32 odrxMultiCastFwdXPrior ( const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 207 of file RxMultiCast.h.

◆ odrxMultiCastFwdXPrior_()

OdUInt32 odrxMultiCastFwdXPrior_ ( OdRxClass pClass,
const OdRxObject pObject,
OdRxObjectPtr pPointer,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 184 of file RxMultiCast.h.

◆ odrxMultiCastObject()

OdUInt32 odrxMultiCastObject ( const OdRxObject pObject,
bool *  pCasts,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 92 of file RxMultiCast.h.

◆ odrxMultiCastX()

OdUInt32 odrxMultiCastX ( const OdRxObject pObject,
OdRxObjectPtr pPointers,
const OdRxClass **  pClasses,
OdUInt32  nClasses 
)
inline

Definition at line 122 of file RxMultiCast.h.