Classes | List of all members
ElementQueryResultsForModel Class Reference

Copies of elements in a historical state for a given model. More...

#include <DesignHistory.h>

Classes

struct  const_iterator
 

Public Member Functions

Miscellaneous queries
DGNPLATFORM_EXPORT ModelId GetModelId () const
 Query the ModelId of this model. More...
 
DGNPLATFORM_EXPORT DgnModelP GetDgnModelP () const
 Query the model to which these results refer. More...
 
DGNPLATFORM_EXPORT DgnFileP GetDgnFileP () const
 Query the file that contains(ed) this model. More...
 
DGNPLATFORM_EXPORT
ElementQueryResultsForFile
GetResultsForFile () const
 Get the file result set of which this is a part. More...
 

Iterating and finding elements within this result set

typedef ElementQueryResult value_type
 
DGNPLATFORM_EXPORT const_iterator begin () const
 Query the first element-level change for this model. More...
 
DGNPLATFORM_EXPORT const_iterator end () const
 Query the sentinel beyond the last element-level change for this model. More...
 
DGNPLATFORM_EXPORT
ElementQueryResult const * 
GetElement (ElementId) const
 Get an element in this model-specific result set. More...
 

Detailed Description

Copies of elements in a historical state for a given model.

Created by queries.

See also
ElementQueryResult
ElementQueryResultsForFile
Remarks
Required library :DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib

Member Typedef Documentation

Member Function Documentation

Query the first element-level change for this model.

Query the sentinel beyond the last element-level change for this model.

DGNPLATFORM_EXPORT DgnFileP GetDgnFileP ( ) const

Query the file that contains(ed) this model.

DGNPLATFORM_EXPORT DgnModelP GetDgnModelP ( ) const

Query the model to which these results refer.

Returns
the model NULL if the model no longer exists in the file.
DGNPLATFORM_EXPORT ElementQueryResult const* GetElement ( ElementId  ) const

Get an element in this model-specific result set.

Returns
NULL if the element is not in the set
DGNPLATFORM_EXPORT ModelId GetModelId ( ) const

Query the ModelId of this model.

DGNPLATFORM_EXPORT ElementQueryResultsForFile* GetResultsForFile ( ) const

Get the file result set of which this is a part.


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

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