From: <mk...@us...> - 2003-08-14 22:50:49
|
Update of /cvsroot/csp/APPLICATIONS/SimData/Include/SimData In directory sc8-pr-cvs1:/tmp/cvs-serv23059 Modified Files: Enum.h Log Message: Index: Enum.h =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/Include/SimData/Enum.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Enum.h 14 Aug 2003 22:37:09 -0000 1.13 --- Enum.h 14 Aug 2003 22:41:34 -0000 1.14 *************** *** 351,354 **** --- 351,366 ---- /// Construct a new Enumeration, creating and binding to a new EnumerationCore. + /// + /// The enumeration tokens are must be separated by + /// white-space and can have an optional value assignment. + /// Tokens without explicit values will be assigned + /// sequential values following the last specified + /// value. The initial default value is zero. + /// + /// Examples: + /// @code + /// "zero one two three" + /// "one=1 two three ten=10 eleven" + /// @endcode Enumeration(std::string const &s) { __core = new EnumerationCore(s); |