Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Member Functions | Private Attributes

SgPointRangeIterator Class Reference

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

#include <SgPointIterator.h>

List of all members.

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

Detailed Description

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

Definition at line 68 of file SgPointIterator.h.


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 99 of file SgPointIterator.h.

SgPointRangeIterator::~SgPointRangeIterator (  )  [virtual]

Definition at line 106 of file SgPointIterator.h.

SgPointRangeIterator::SgPointRangeIterator ( const SgPointRangeIterator  )  [private]

Not implemented.


Member Function Documentation

SgPointRangeIterator::operator bool (  )  const

Return true if iteration is valid, otherwise false.

Definition at line 120 of file SgPointIterator.h.

References m_end, and m_point.

SgPoint SgPointRangeIterator::operator* (  )  const

Return the value of the current element.

Definition at line 115 of file SgPointIterator.h.

References m_point.

void SgPointRangeIterator::operator++ (  ) 

Advance the state of the iteration to the next element.

Definition at line 110 of file SgPointIterator.h.

References m_point.

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

Not implemented.


Member Data Documentation

Definition at line 90 of file SgPointIterator.h.

Referenced by operator bool().

Definition at line 88 of file SgPointIterator.h.

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


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


Sun Mar 13 2011 Doxygen 1.7.1