iterator Class Reference

class iterator
Public Member Functions
iterator ( set *)
~iterator ()
pair getElem ()
int hasNext ()
void next ()
void setToFirst ()
Private Attributes
int current
set * s

Constructor & Destructor Documentation

iterator(set *)

iterator ( set * sc )

Parameters

set * sc

~iterator()

~iterator ( )

Member Functions Documentation

getElem()

pair getElem ( )

hasNext()

int hasNext ( )

next()

void next ( )

setToFirst()

void setToFirst ( )

Member Data Documentation

int current

int current [private]

set * s

set * s [private]