oofIDfactory Class Reference
#include <oofxml.h>
Collaboration diagram for oofIDfactory:
[legend]List of all members.
Detailed Description
Generate nestable Dewey Decimal-style ID's to easily provide unique XML ID attributes.
Optionally can replace the separator. Traacks the indent level of the current ID so making it easy to indent nested XML being written. Typically call enterLevel() and leaveLevel() as you descend the tree being written, and incrementID() each time a node is written.
Constructor & Destructor Documentation
| oofIDfactory::oofIDfactory |
( |
char |
theSeparator = '-', |
|
|
int |
indentDepth = 3 |
|
) |
|
|
Member Function Documentation
| int oofIDfactory::currentLevel |
( |
|
) |
const [inline] |
|
| void oofIDfactory::enterLevel |
( |
|
) |
[inline] |
|
| oofString oofIDfactory::getIndentString |
( |
|
) |
[inline] |
|
| oofString oofIDfactory::getQuotedIDstring |
( |
|
) |
|
|
| void oofIDfactory::incrementID |
( |
|
) |
[inline] |
|
| void oofIDfactory::leaveLevel |
( |
|
) |
|
|
| void oofIDfactory::reset |
( |
|
) |
|
|
The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:39:29 2004 for OOFILE by
1.3.5