Public Member Functions | List of all members
RevisionNumbersForFile Class Reference

A set of revision numbers pertaining to the design history of a specified file. More...

#include <DesignHistory.h>

Public Member Functions

DGNPLATFORM_EXPORT RevisionNumbersForFile ()
 
Querying output from DesignHistory::QueryGetRevisions
DgnFileP GetDgnFileP () const
 Query the DgnFile that contains the revisions identified by this object. More...
 
T_RevisionNumberVectorType const & GetRevisions () const
 Query all of the revisions identified by this object. More...
 
bool operator== (RevisionNumbersForFile const &c2) const
 Comparison. More...
 
Setting up for input to DesignHistory::QueryPostChangeState, etc.
DGNPLATFORM_EXPORT void AddRevisionNumberForQuery (DgnHistory::RevisionNumber const &)
 Add a RevisionNumber. More...
 

Detailed Description

A set of revision numbers pertaining to the design history of a specified file.

RevisionNumbersForFile is used by DesignHistory in two different ways: 1) As the output of DesignHistory::QueryRevisions. 2) As an input to functions such as DesignHistory::QueryPostChangeState.

Remarks
Required library :DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib

Constructor & Destructor Documentation

Member Function Documentation

DGNPLATFORM_EXPORT void AddRevisionNumberForQuery ( DgnHistory::RevisionNumber const &  )

Add a RevisionNumber.

This function is used when constructing a set of revision numbers to be passed to a query function such as DesignHistory::QueryPostChangeState

DgnFileP GetDgnFileP ( ) const

Query the DgnFile that contains the revisions identified by this object.

This function is typically called to query the results of DesignHistory::GetRevisions.

T_RevisionNumberVectorType const& GetRevisions ( ) const

Query all of the revisions identified by this object.

This function is typically called to query the results of DesignHistory::GetRevisions.

bool operator== ( RevisionNumbersForFile const &  c2) const

Comparison.


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

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