Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgPointRangeIterator Class Reference

#include <SgPointIterator.h>

List of all members.


Detailed Description

Iterate through an array of points with the range defined by pointers.

Definition at line 70 of file SgPointIterator.h.

Public Member Functions

 SgPointRangeIterator (const SgPoint *first, const SgPoint *end)
 Constructor.
virtual ~SgPointRangeIterator ()
void operator++ ()
 Advance the state of the iteration to the next element.
SgPoint operator * () const
 Return the value of the current element.
 operator bool () const
 Return true if iteration is valid, otherwise false.

Private Member Functions

 SgPointRangeIterator (const SgPointRangeIterator &)
 Not implemented.
SgPointRangeIteratoroperator= (const SgPointRangeIterator &)
 Not implemented.

Private Attributes

const SgPointm_point
const SgPointm_end


Constructor & Destructor Documentation

SgPointRangeIterator::SgPointRangeIterator ( const SgPoint first,
const SgPoint end 
)

Constructor.

Parameters:
first Pointer to first element.
end Pointer to last element + 1.

Definition at line 102 of file SgPointIterator.h.

SgPointRangeIterator::~SgPointRangeIterator (  )  [virtual]

Definition at line 109 of file SgPointIterator.h.

SgPointRangeIterator::SgPointRangeIterator ( const SgPointRangeIterator  )  [private]

Not implemented.


Member Function Documentation

SgPoint SgPointRangeIterator::operator * (  )  const

Return the value of the current element.

Definition at line 118 of file SgPointIterator.h.

References m_point.

SgPointRangeIterator::operator bool (  )  const

Return true if iteration is valid, otherwise false.

Definition at line 123 of file SgPointIterator.h.

References m_end, and m_point.

void SgPointRangeIterator::operator++ (  ) 

Advance the state of the iteration to the next element.

Definition at line 113 of file SgPointIterator.h.

References m_point.

SgPointRangeIterator& SgPointRangeIterator::operator= ( const SgPointRangeIterator  )  [private]

Not implemented.


Member Data Documentation

const SgPoint* SgPointRangeIterator::m_end [private]

Definition at line 93 of file SgPointIterator.h.

Referenced by operator bool().

const SgPoint* SgPointRangeIterator::m_point [private]

Definition at line 91 of file SgPointIterator.h.

Referenced by operator *(), operator bool(), and operator++().


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


17 Jun 2010 Doxygen 1.4.7