ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/StringTokenizer.hpp
(Generate patch)

Comparing trunk/src/utils/StringTokenizer.hpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 51 | Line 51
51   #define UTIL_STRINGTOKENIZER_HPP
52  
53   #include <string>
54 <
54 > #include <vector>
55 > #include "config.h"
56   namespace oopse {
57  
58    /**
# Line 146 | Line 147 | namespace oopse {
147      float nextTokenAsFloat();
148  
149      /**
150 <     * Returns the next token from this string tokenizer as a double.
151 <     * @return the next token from this string tokenizer as a double.
150 >     * Returns the next token from this string tokenizer as a RealType.
151 >     * @return the next token from this string tokenizer as a RealType.
152       */
153 <    double nextTokenAsDouble();
153 >    RealType nextTokenAsDouble();
154  
155      /**
156       * Returns the next token without advancing the position of the StringTokenizer.
# Line 173 | Line 174 | namespace oopse {
174        return tokenString_;
175      }
176  
177 +    /**
178 +     * Returns all of the tokens
179 +     * @return all of the tokens
180 +     */
181 +    std::vector<std::string> getAllTokens();
182    private:
183  
184      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines