Changeset 4833 in orxonox.OLD for orxonox/trunk/src/lib/util
- Timestamp:
- Jul 11, 2005, 5:46:05 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/util/substring.cc
r4830 r4833 24 24 #include "substring.h" 25 25 26 #include "debug.h" 26 27 #include <string.h> 27 28 #include <assert.h> … … 91 92 return NULL; 92 93 } 94 95 96 97 /** 98 * Some nice debug information about this SubString 99 */ 100 void SubString::debug() const 101 { 102 PRINT(0)("Substring-information::count=%d ::", this->splittersCount); 103 for (int i = 0; i < this->splittersCount; i++) 104 PRINT(0)("s%d:%s::", i, this->strings[i]); 105 PRINT(0)("\n"); 106 } -
orxonox/trunk/src/lib/util/substring.h
r4830 r4833 17 17 const char* getString( int i); 18 18 19 void debug() const; 20 19 21 private: 20 22 char** strings; //!< strings produced from a single string splitted in multiple strings
Note: See TracChangeset
for help on using the changeset viewer.