stk::mesh::BucketIterator Class Reference
[Sierra Toolkit Mesh]

A random access iterator for a bucket that dereferences to a entity reference. More...

#include <Bucket.hpp>

List of all members.

Public Member Functions

template<typename intType >
 BucketIterator (const Bucket *const bucket_ptr, intType offset)
 Constructor.
 BucketIterator ()
 Default constructor.
 BucketIterator (const BucketIterator &i)
 Copy Constructor.
BucketIteratoroperator= (const BucketIterator &i)
 Assignment operator.
Entityoperator* () const
 Dereference operator.
Entityoperator-> () const
 Pointer operator.
BucketIteratoroperator++ ()
 Pre increment.
BucketIteratoroperator-- ()
 Pre decrement.
BucketIterator operator++ (int)
 Post increment.
BucketIterator operator-- (int)
 Post decrement.
bool operator< (const BucketIterator &i) const
 Less than.
bool operator<= (const BucketIterator &i) const
 Less than equal too.
bool operator> (const BucketIterator &i) const
 Greater than.
bool operator>= (const BucketIterator &i) const
 Greater than equal too.
bool operator== (const BucketIterator &i) const
 Equal too.
bool operator!= (const BucketIterator &i) const
 Not equal.
BucketIteratoroperator+= (int n)
BucketIteratoroperator-= (int n)
BucketIterator operator+ (int n) const
BucketIterator operator- (int n) const
ptrdiff_t operator- (const BucketIterator &i) const
 Distance between iterators.
template<typename intType >
Entityoperator[] (const intType &n) const

Friends

struct BucketArray
template<class field_type >
FieldTraits< field_type >
::data_type * 
field_data (const field_type &f, const BucketIterator &i)
 Pointer to the field data array.

Detailed Description

A random access iterator for a bucket that dereferences to a entity reference.

Definition at line 72 of file Bucket.hpp.


Constructor & Destructor Documentation

template<typename intType >
stk::mesh::BucketIterator::BucketIterator ( const Bucket *const   bucket_ptr,
intType  offset 
) [inline]

Constructor.

Parameters:
bucket_ptr bucket pointer
offset int

Definition at line 95 of file Bucket.hpp.


Member Function Documentation

Entity& stk::mesh::BucketIterator::operator* (  )  const [inline]

Dereference operator.

Returns:
entity reference

Definition at line 122 of file Bucket.hpp.

Entity* stk::mesh::BucketIterator::operator-> (  )  const [inline]

Pointer operator.

Returns:
entity pointer

Definition at line 127 of file Bucket.hpp.


The documentation for this class was generated from the following files:
Generated on Wed Apr 13 10:05:50 2011 for Sierra Toolkit by  doxygen 1.6.3