Functions
Level Filters

Functions

StatusInt mdlLevelFilter_apply (bool *passFlagOut, DgnModelRefP modelRefIn, DgnPlatform::LevelId levelIdIn, FilterID filterIdIn)
 Apply level filter to specified level, to check if the level passes the filter. More...
 
StatusInt mdlLevelFilter_applyToLevelHandle (bool *passFlagOut, DgnModelRefP modelRefIn, DgnPlatform::LevelHandle levelHandleIn, FilterID filterIdIn)
 Apply level filter to specified level, to check if the level passes the filter. More...
 
StatusInt mdlLevelFilter_applyToAll (BitMaskP passBitMaskOut, DgnModelRefP modelRefIn, FilterID filterIdIn)
 Apply level filter to all levels of specified model ref. More...
 

Detailed Description

Function Documentation

StatusInt mdlLevelFilter_apply ( bool *  passFlagOut,
DgnModelRefP  modelRefIn,
DgnPlatform::LevelId  levelIdIn,
FilterID  filterIdIn 
)

Apply level filter to specified level, to check if the level passes the filter.

Parameters
[out]passFlagOuttrue if the level passes the filter, else false
[in]modelRefInmodel-ref of level-table
[in]levelIdInlevel id to apply the filter to
[in]filterIdInlevel filter id
Returns
ERROR if the model-ref or level id is invalid or if the filter cannot be applied, else SUCCESS
See also
mdlFilter_apply mdlLevelFilter_applyToAll
StatusInt mdlLevelFilter_applyToAll ( BitMaskP  passBitMaskOut,
DgnModelRefP  modelRefIn,
FilterID  filterIdIn 
)

Apply level filter to all levels of specified model ref.

Parameters
[out]passBitMaskOuta bit mask which represents the levels that passed the filter. The bit mask should be initialized and allocated by the calling function.
[in]modelRefInmodel-ref of level-table
[in]filterIdInlevel filter id
Returns
ERROR if the filter cannot be applied, else SUCCESS
See also
mdlFilter_apply mdlLevelFilter_apply
StatusInt mdlLevelFilter_applyToLevelHandle ( bool *  passFlagOut,
DgnModelRefP  modelRefIn,
DgnPlatform::LevelHandle  levelHandleIn,
FilterID  filterIdIn 
)

Apply level filter to specified level, to check if the level passes the filter.

Parameters
[out]passFlagOuttrue if the level passes the filter, else false
[in]modelRefInmodel-ref of level-table
[in]levelHandleInlevel handle to apply the filter to
[in]filterIdInlevel filter id
Returns
ERROR if the model-ref or level id is invalid or if the filter cannot be applied, else SUCCESS
See also
mdlFilter_apply mdlLevelFilter_applyToAll

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.