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

SgPointIterator Class Reference

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

#include <SgPointIterator.h>

Inheritance diagram for SgPointIterator:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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

Definition at line 15 of file SgPointIterator.h.


Constructor & Destructor Documentation

SgPointIterator::SgPointIterator ( const SgPoint first  ) 

Definition at line 41 of file SgPointIterator.h.

SgPointIterator::~SgPointIterator (  )  [virtual]

Definition at line 46 of file SgPointIterator.h.

SgPointIterator::SgPointIterator ( const SgPointIterator  )  [private]

Not implemented.


Member Function Documentation

SgPointIterator::operator bool (  )  const

Return true if iteration is valid, otherwise false.

Definition at line 60 of file SgPointIterator.h.

References m_point, and SG_ENDPOINT.

SgPoint SgPointIterator::operator* (  )  const

Return the value of the current element.

Definition at line 55 of file SgPointIterator.h.

References m_point.

void SgPointIterator::operator++ (  ) 

Advance the state of the iteration to the next element.

Definition at line 50 of file SgPointIterator.h.

References m_point.

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

Not implemented.


Member Data Documentation

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