Last Modified
2012-02-02 12:26:53 +0000
Requires

Description

QueryHash

QueryHash is a similar to OpenHash. Like OpenHash, entries can be assigned via setter methods, but entries can only be looked up via query methods (i.e. methods ending in a ?-mark), hence the name of this class.

A QueryHash is not quite as elegant as an OpenHash in that reader methods must end in ?-marks, but it remains fully compatible with Hash regardless of it's settings.