Classes | Public Types | Public Member Functions | Public Attributes | List of all members
XAttributeCollection Struct Reference

An collection that can be used to iterate over the XAttributes of a persistent element. More...

#include <XAttributeIter.h>

Classes

struct  Entry
 

Public Types

typedef Entry const_iterator
 

Public Member Functions

 XAttributeCollection (ElementRefP elRef, XAttributeHandlerId handlerId=XAttributeHandlerId(0, 0))
 Construct an XAttributeCollection to iterate over the XAttributes of an element. More...
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

ElementRefP m_elRef
 
XAttributeHandlerId m_searchId
 

Detailed Description

An collection that can be used to iterate over the XAttributes of a persistent element.

Note: ANY additions or deletions of XAttributes on an element will invalidate all XAttributeCollections and iterators for that element.

Member Typedef Documentation

Constructor & Destructor Documentation

Construct an XAttributeCollection to iterate over the XAttributes of an element.

Parameters
elRefIN the ElementRefP to search for the specfied XAttributes
handlerIdIN the XAttributeHandlerId to search for. If invalid, return all XAttriubutes

Member Function Documentation

const_iterator begin ( ) const
const_iterator end ( ) const

References NULL.

Member Data Documentation

ElementRefP m_elRef
XAttributeHandlerId m_searchId

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

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