Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2008, 1:24:29 AM (16 years ago)
Author:
landauf
Message:

started implementing a config-file manager, but this is still unfinished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/util/String.h

    r994 r1006  
    3434#include "UtilPrereqs.h"
    3535
    36 _UtilExport void        strip(std::string* str);
    37 _UtilExport std::string getStripped(const std::string& str);
     36_UtilExport void         strip(std::string* str);
     37_UtilExport std::string  getStripped(const std::string& str);
    3838
    39 _UtilExport void        stripEnclosingQuotes(std::string* str);
    40 _UtilExport std::string getStrippedEnclosingQuotes(const std::string& str);
     39_UtilExport std::string  removeTrailingWhitespaces(const std::string& str);
    4140
    42 _UtilExport bool        isEmpty(const std::string& str);
    43 _UtilExport bool        isComment(const std::string& str);
    44 _UtilExport bool        isNumeric(const std::string& str);
     41_UtilExport bool         hasStringBetweenQuotes(const std::string& str);
     42_UtilExport std::string  getStringBetweenQuotes(const std::string& str);
    4543
    46 _UtilExport void        lowercase(std::string* str);
    47 _UtilExport std::string getLowercase(const std::string& str);
     44_UtilExport void         stripEnclosingQuotes(std::string* str);
     45_UtilExport std::string  getStrippedEnclosingQuotes(const std::string& str);
    4846
    49 _UtilExport void        uppercase(std::string* str);
    50 _UtilExport std::string getUppercase(const std::string& str);
     47_UtilExport bool         isEmpty(const std::string& str);
     48_UtilExport bool         isComment(const std::string& str);
     49_UtilExport bool         isNumeric(const std::string& str);
    5150
    52 _UtilExport int         nocaseCmp(const std::string& s1, const std::string& s2);
    53 _UtilExport int         nocaseCmp(const std::string& s1, const std::string& s2, unsigned int len);
     51_UtilExport void         lowercase(std::string* str);
     52_UtilExport std::string  getLowercase(const std::string& str);
     53
     54_UtilExport void         uppercase(std::string* str);
     55_UtilExport std::string  getUppercase(const std::string& str);
     56
     57_UtilExport int          nocaseCmp(const std::string& s1, const std::string& s2);
     58_UtilExport int          nocaseCmp(const std::string& s1, const std::string& s2, unsigned int len);
     59
     60_UtilExport bool         hasComment(const std::string& str);
     61_UtilExport std::string  getComment(const std::string& str);
     62_UtilExport unsigned int getCommentPosition(const std::string& str);
    5463
    5564//! The Convert class has some static member functions to convert strings to values and values to strings.
Note: See TracChangeset for help on using the changeset viewer.