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 1879 by gezelter, Sun Jun 16 15:15:42 2013 UTC vs.
Revision 2045 by gezelter, Fri Nov 28 20:10:17 2014 UTC

# Line 89 | Line 89 | namespace OpenMD {
89       * @note this is still a little bit java like implementation. Pure c++ one should use TokenIterator.
90       * Boost's tokenizer class is one of them
91       */
92 <    StringTokenizer(std::string::const_iterator& first, std::string::const_iterator& last,
92 >    StringTokenizer(std::string::const_iterator& first,
93 >                    std::string::const_iterator& last,
94                      const std::string & delim = " ;\t\n\r");
95  
96      /**
# Line 180 | Line 181 | namespace OpenMD {
181       * @return all of the tokens
182       */
183      std::vector<std::string> getAllTokens();
184 +    /**
185 +     * Returns the remaining unparsed string
186 +     * @return the remaining unparsed string
187 +     */
188 +    std::string getRemainingString();
189    private:
190  
191      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines