Changeset 1349 for code/trunk/src/util
- Timestamp:
- May 21, 2008, 9:07:08 PM (17 years ago)
- Location:
- code/trunk/src/util
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/util/Math.h
r1062 r1349 147 147 } 148 148 149 class _UtilExport IntVector2 150 { 151 public: 152 IntVector2() : x(0), y(0) { } 153 IntVector2(int _x, int _y) : x(_x), y(_y) { } 154 int x; 155 int y; 156 }; 157 158 class _UtilExport IntVector3 159 { 160 public: 161 IntVector3() : x(0), y(0), z(0) { } 162 IntVector3(int _x, int _y, int _z) : x(_x), y(_y), z(_z) { } 163 int x; 164 int y; 165 int z; 166 }; 167 149 168 #endif /* _Util_Math_H__ */ -
code/trunk/src/util/SubString.cc
r1056 r1349 67 67 SubString::SubString(const std::string& string, 68 68 const std::string& delimiters, const std::string& delimiterNeighbours, bool emptyEntries, 69 char escapeChar, bool removeE xcapeChar, char safemode_char, bool removeSafemodeChar,69 char escapeChar, bool removeEscapeChar, char safemode_char, bool removeSafemodeChar, 70 70 char openparenthesis_char, char closeparenthesis_char, bool removeParenthesisChars, char comment_char) 71 71 { 72 SubString::splitLine(this->strings, this->bInSafemode, string, delimiters, delimiterNeighbours, emptyEntries, escapeChar, removeE xcapeChar, safemode_char, removeSafemodeChar, openparenthesis_char, closeparenthesis_char, removeParenthesisChars, comment_char);72 SubString::splitLine(this->strings, this->bInSafemode, string, delimiters, delimiterNeighbours, emptyEntries, escapeChar, removeEscapeChar, safemode_char, removeSafemodeChar, openparenthesis_char, closeparenthesis_char, removeParenthesisChars, comment_char); 73 73 } 74 74 -
code/trunk/src/util/SubString.h
r1062 r1349 89 89 SubString(const std::string& string, 90 90 const std::string& delimiters, const std::string& delimiterNeighbours = "", bool emptyEntries=false, 91 char escapeChar ='\\', bool removeE xcapeChar = true, char safemode_char = '"', bool removeSafemodeChar = true,91 char escapeChar ='\\', bool removeEscapeChar = true, char safemode_char = '"', bool removeSafemodeChar = true, 92 92 char openparenthesis_char = '(', char closeparenthesis_char = ')', bool removeParenthesisChars = true, char comment_char = '\0'); 93 93 SubString(unsigned int argc, const char** argv);
Note: See TracChangeset
for help on using the changeset viewer.