Changeset 7477 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- May 2, 2006, 8:42:14 PM (19 years ago)
- Location:
- trunk/src/lib/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/substring.cc
r7474 r7477 90 90 } 91 91 92 /** 93 * @brief creates a Substring from a count and values set. 94 * @param argc: the Arguments Count. 95 * @param argv: Argument Values. 96 */ 97 SubString::SubString(unsigned int argc, const char** argv) 98 { 99 for(unsigned int i = 0; i < argc; ++i) 100 this->strings.push_back(std::string(argv[i])); 101 } 92 102 93 103 /** -
trunk/src/lib/util/substring.h
r7474 r7477 35 35 char escapeChar ='\\', char safemode_char = '"', char comment_char = '\0'); 36 36 /** @brief create a Substring as a copy of another one. @param subString the SubString to copy. */ 37 SubString(unsigned int argc, const char** argv); 37 38 SubString(const SubString& subString) { *this = subString; }; 38 39 SubString(const SubString& subString, unsigned int subSetBegin);
Note: See TracChangeset
for help on using the changeset viewer.