CCAFFEINE
0.8.8
|
#include <StringHashEnum.h>
Public Member Functions | |
CDELETE | StringHashEnum (char **ary, int count) |
boolean | hasMoreElements () |
char * | nextElement () |
Private Attributes | |
CFREE char ** | vector |
int | posn |
int | vector_count |
This enumeration class is used in conjunction with a javalike hash table. The exception to this behavior is that unlike java, adding/deleting in a hashtable after starting the enumeration is not supported.
CDELETE jcpp::StringHashEnum::StringHashEnum | ( | char ** | ary, |
int | count | ||
) |
The array ary is hence forth memory managed by the enum.
boolean jcpp::StringHashEnum::hasMoreElements | ( | ) | [virtual] |
more strings available?
Implements jcpp::StringEnumeration.
char* jcpp::StringHashEnum::nextElement | ( | ) | [virtual] |
next string
Implements jcpp::StringEnumeration.