Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7214 in orxonox.OLD for branches/std/src/lib/util/substring.cc


Ignore:
Timestamp:
Mar 10, 2006, 7:18:03 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: now the branche works again, as it did before

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/util/substring.cc

    r7212 r7214  
    6363}
    6464
     65/**
     66 * An empty String
     67 */
     68const std::string SubString::emptyString = "";
     69
     70
    6571
    6672unsigned int SubString::split(const std::string& string, char splitter)
     
    101107
    102108/**
    103  * splits line into tokens and stores them in ret. Supports delimiters, escape characters,
     109 * @brief splits line into tokens and stores them in ret.
     110 * @param ret the Array, where the Splitted strings will be stored in
     111 * @param offsets an Array of Offsets, here the distance from the inputstring
     112 * to the beginning of the current token is stored
     113 * @param line the inputLine to split
     114 * @param delimiters a String of Delimiters (here the input will be splitted)
     115 * @param escape_char: Escape carater (escapes splitters)
     116 * @param safemode_char: the beginning of the safemode is marked with this
     117 * @param comment_char: the beginning of a comment is marked with this: (until the end of a Line)
     118 * @param start_state: the Initial state on how to parse the String.
     119 * @returns SPLIT_LINE_STATE the parser was in when returning
     120 *
     121 * Supports delimiters, escape characters,
    104122 * ignores special  characters between safemode_char and between comment_char and linend '\n'.
    105123 *
    106  * @returns SPLIT_LINE_STATE the parser was in when returning
    107124 */
    108125SPLIT_LINE_STATE SubString::splitLine(std::vector<std::string>& ret, std::vector<unsigned int>& offsets,
Note: See TracChangeset for help on using the changeset viewer.