iterator Class Reference

class iterator
Public Member Functions
iterator(set *)
~iterator()
pair getElem()
inthasNext()
voidnext()
voidsetToFirst()
Private Attributes
intcurrent
set *s

Constructor & Destructor Documentation

iterator(set *)

iterator(set *sc)

Parameters

set * sc

~iterator()

~iterator()

Member Functions Documentation

getElem()

pair getElem()

hasNext()

inthasNext()

next()

voidnext()

setToFirst()

voidsetToFirst()

Member Data Documentation

int current

intcurrent[private]

set * s

set *s[private]