jcpp::StringHashEnum Class Reference

#include <StringHashEnum.h>

Inheritance diagram for jcpp::StringHashEnum:

Inheritance graph
[legend]
Collaboration diagram for jcpp::StringHashEnum:

Collaboration graph
[legend]

List of all members.

Public Member Functions

CDELETE StringHashEnum (char **ary, int count)
boolean hasMoreElements ()
char * nextElement ()

Private Attributes

CFREE char ** vector
int posn
int vector_count


Detailed Description

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.

Constructor & Destructor Documentation

CDELETE jcpp::StringHashEnum::StringHashEnum ( char **  ary,
int  count 
)

The array ary is hence forth memory managed by the enum.


Member Function Documentation

boolean jcpp::StringHashEnum::hasMoreElements (  )  [virtual]

more strings available?

Implements jcpp::StringEnumeration.

char* jcpp::StringHashEnum::nextElement (  )  [virtual]

next string

Implements jcpp::StringEnumeration.


The documentation for this class was generated from the following file:

Generated on Thu Mar 17 13:10:47 2011 for CCAFFEINE by  doxygen 1.5.9