Public Member Functions | List of all members
ElemModelPair Struct Reference

A lightweight structure to hold an ElementRefP and DgnModelRef pair with a comparison operator. It is used by ElemModelPairSet. More...

#include <ElementAgenda.h>

Public Member Functions

 ElemModelPair ()
 
 ElemModelPair (ElementRefP el, DgnModelRefP modelRef)
 Create an ElemModelPair, which is simply an ElementRefP and a DgnModelRefP. More...
 
ElementRefP GetElementRef () const
 Extract the ElementRef from the ElemModelPair. More...
 
DgnModelRefP GetModelRef () const
 Extract the ModelRef from the ElemModelPair. More...
 
bool IsLess (ElemModelPair const &other) const
 Compare two ElemModelPair's in a consistant manner. This is so they will work in an ElemModelPairSet. More...
 

Detailed Description

A lightweight structure to hold an ElementRefP and DgnModelRef pair with a comparison operator. It is used by ElemModelPairSet.

Constructor & Destructor Documentation

References NULL.

ElemModelPair ( ElementRefP  el,
DgnModelRefP  modelRef 
)

Create an ElemModelPair, which is simply an ElementRefP and a DgnModelRefP.

Member Function Documentation

ElementRefP GetElementRef ( ) const

Extract the ElementRef from the ElemModelPair.

DgnModelRefP GetModelRef ( ) const

Extract the ModelRef from the ElemModelPair.

bool IsLess ( ElemModelPair const &  other) const

Compare two ElemModelPair's in a consistant manner. This is so they will work in an ElemModelPairSet.

Referenced by ElemModelCompare::operator()().


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

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