b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::Element::iterator Class Reference

#include "b2element.H"

Public Member Functions

Elementoperator* ()
 
void operator++ ()
 

Detailed Description

To iterate over an Element and all of its sub-elements. The Element itself is first in the sequence, followed by the sub-elements.

Example

for (Element::iterator i = element.begin(); i != element.end(); ++i) {
Element& e = *i;
...
}
Definition b2element.H:533
Defines the complete interface for Element instances (C++ representations of Finite Elements).
Definition b2element.H:156
iterator begin()
Definition b2element.H:583
iterator end() const
Definition b2element.H:586

Member Function Documentation

◆ operator*()

Element & b2000::Element::iterator::operator* ( )
inline

Access to the element. May be called only for valid iterators.

◆ operator++()

void b2000::Element::iterator::operator++ ( )
inline

Increment the iterator.


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