Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::ArrayHelper Class Reference

#include <settings.h>

List of all members.


Detailed Description

Used by user program to get the root of Ishtar arrays.


Public Member Functions

 ArrayHelper (const std::string &root)
 Constructor.
std::string getNewRoot (void)
 Get a new unique root.
unsigned getMaxIndex (void)
 Return the number the last element. It can be bigger that the maximum number of element because of fragmentation.
std::string getRoot (unsigned index)
 Return the root for a given element. This root is virtual, it may be that no variable are associated with it.
size_t getSettingsCount (void)
 Lurk in settings to get the maximum number of elements for this root.

Protected Attributes

std::string root
 the Ishtar root for this array
Variable< unsigned, true, 1 > maxIndex
 The maximum number of elements in this array. The array is not dense, so maxIndex is not the actual number of element.


The documentation for this class was generated from the following file:
Generated on Mon Oct 24 17:31:47 2005 for libishtarsettings by  doxygen 1.4.2