List of all members
ElementQueryResult Class Reference

Holds the result of querying design history for the historical version of an element. More...

#include <DesignHistory.h>

Public Member Functions

Element queries
DGNPLATFORM_EXPORT ElementHandle GetElemHandle () const
 
DGNPLATFORM_EXPORT ModelId GetModelId () const
 
DGNPLATFORM_EXPORT DgnFileP GetDgnFileP () const
 Short-cut method to query the file that contains(ed) this element. More...
 
Change type queries
DGNPLATFORM_EXPORT
ElementChangeType 
GetChangeType () const
 
DGNPLATFORM_EXPORT bool IsPreChangeVersion () const
 
DGNPLATFORM_EXPORT
ElementQueryResultsForModel
GetResultsForModel () const
 Query the model that contains(ed) this element. More...
 

Detailed Description

Holds the result of querying design history for the historical version of an element.

Points to a ElementQueryResultsForModel, which identifies the model that contains the element.

Remarks
Uses the MSElementDescr::appData2 field to encode change type and other related data.
See also
ElementQueryResultsForModel
Remarks
Required library :DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib

Member Function Documentation

DGNPLATFORM_EXPORT ElementChangeType GetChangeType ( ) const
DGNPLATFORM_EXPORT DgnFileP GetDgnFileP ( ) const

Short-cut method to query the file that contains(ed) this element.

See also
ElementQueryResultsForModel::GetDgnFileP
DGNPLATFORM_EXPORT ElementHandle GetElemHandle ( ) const
DGNPLATFORM_EXPORT ModelId GetModelId ( ) const
DGNPLATFORM_EXPORT ElementQueryResultsForModel* GetResultsForModel ( ) const

Query the model that contains(ed) this element.

DGNPLATFORM_EXPORT bool IsPreChangeVersion ( ) const

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

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