libnebular::NumberedStrings Class Reference
[Plugin API]

Easy conversion between indexed string values and their indices. More...

#include <libnebular-plugin.hpp>

List of all members.

Public Member Functions

 NumberedStrings (Integer newNumStrings, const String *newTable)
 ~NumberedStrings ()
Integer stringToIndex (const String &string) const
const String indexToString (Integer number) const

Detailed Description

Easy conversion between indexed string values and their indices.

Definition at line 106 of file libnebular-plugin.hpp.


Constructor & Destructor Documentation

libnebular::NumberedStrings::NumberedStrings ( Integer  newNumStrings,
const String newTable 
)
Parameters:
[in] newTable Can be initialized in code as C array
[in] newNumStrings Can be supplied as ARRAY_SIZE of array newTable

Definition at line 115 of file libnebular.cpp.

libnebular::NumberedStrings::~NumberedStrings (  ) 

Definition at line 120 of file libnebular.cpp.


Member Function Documentation

const String libnebular::NumberedStrings::indexToString ( Integer  number  )  const

Definition at line 137 of file libnebular.cpp.

Here is the caller graph for this function:

Integer libnebular::NumberedStrings::stringToIndex ( const String string  )  const

Definition at line 123 of file libnebular.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun May 29 18:23:56 2011 for libnebular by  doxygen 1.6.3