Changeset 8706 for code/trunk/src/libraries/util/SubString.h
- Timestamp:
- Jun 14, 2011, 8:53:28 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/util/SubString.h
r7401 r8706 110 110 SL_COMMENT, //!< In Comment mode. 111 111 SL_PARENTHESES, //!< Between parentheses (usually '{' and '}') 112 SL_PARENTHESESESCAPE, //!< Between parentheses with the internal escape character, that escapes even the closing par anthesis character.112 SL_PARENTHESESESCAPE, //!< Between parentheses with the internal escape character, that escapes even the closing parenthesis character. 113 113 }; 114 114 … … 169 169 /// Returns the number of tokens stored in this SubString 170 170 inline unsigned int size() const { return this->tokens_.size(); } 171 /// Returns the i'th token from the subset of strings @param index The index of the requested doken171 /// Returns the i'th token from the subset of strings @param index The index of the requested token 172 172 inline const std::string& operator[](unsigned int index) const { return this->tokens_[index]; } 173 173 /// Returns the i'th token from the subset of strings @param index The index of the requested token … … 209 209 SPLIT_LINE_STATE start_state = SL_NORMAL); 210 210 211 std::vector<std::string> tokens_; ///< The tokens after split ing the input line211 std::vector<std::string> tokens_; ///< The tokens after splitting the input line 212 212 std::vector<bool> bTokenInSafemode_; ///< Saves for each token if it was in safe mode (between quotation marks or parenthesis) 213 213 };
Note: See TracChangeset
for help on using the changeset viewer.