Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgPointIterator Class Reference

#include <SgPointIterator.h>

Inheritance diagram for SgPointIterator:

Inheritance graph
[legend]
List of all members.

Detailed Description

Iterate through an array of points terminated by END_POINT (defined to be zero for performance).

Definition at line 17 of file SgPointIterator.h.

Public Member Functions

 SgPointIterator (const SgPoint *first)
virtual ~SgPointIterator ()
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

 SgPointIterator (const SgPointIterator &)
 Not implemented.
SgPointIteratoroperator= (const SgPointIterator &)
 Not implemented.

Private Attributes

const SgPointm_point


Constructor & Destructor Documentation

SgPointIterator::SgPointIterator ( const SgPoint first  ) 

Definition at line 43 of file SgPointIterator.h.

SgPointIterator::~SgPointIterator (  )  [virtual]

Definition at line 48 of file SgPointIterator.h.

SgPointIterator::SgPointIterator ( const SgPointIterator  )  [private]

Not implemented.


Member Function Documentation

SgPoint SgPointIterator::operator * (  )  const

Return the value of the current element.

Definition at line 57 of file SgPointIterator.h.

References m_point.

SgPointIterator::operator bool (  )  const

Return true if iteration is valid, otherwise false.

Definition at line 62 of file SgPointIterator.h.

References m_point, and SG_ENDPOINT.

void SgPointIterator::operator++ (  ) 

Advance the state of the iteration to the next element.

Definition at line 52 of file SgPointIterator.h.

References m_point.

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

Not implemented.


Member Data Documentation

const SgPoint* SgPointIterator::m_point [private]

Definition at line 34 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