ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/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 1282 by gezelter, Wed Jul 30 18:11:19 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines