ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/utils/StringTokenizer.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/utils/StringTokenizer.hpp (file contents):
Revision 1738 by tim, Fri Nov 12 22:44:03 2004 UTC vs.
Revision 1739 by tim, Mon Nov 15 18:02:15 2004 UTC

# Line 65 | Line 65 | class StringTokenizer {
65          StringTokenizer(const std::string & str,
66                          const std::string & delim = defaultDelim);
67  
68 +        /**
69 +         * Constructs a string tokenizer for an iterator range [first, last). The characters in the delim argument
70 +         * are the delimiters for separating tokens. characters are skipped and only serve as
71 +         * separators between tokens.
72 +         * @param first begin iterator
73 +         * @param last end iterator
74 +         * @param delim the delimiters, default value is " \t\n\r".
75 +         * @note this is still a little bit java like implementation. Pure c++ one should use TokenIterator.
76 +         * Boost's tokenizer class is one of them
77 +         */
78          StringTokenizer(std::string::const_iterator& first, std::string::const_iterator& last,
79                          const std::string & delim = defaultDelim);
80  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines