5 changed files with 53 additions and 45 deletions
-
19lwrserv/StringTool.cpp
-
10lwrserv/StringTool.h
-
11lwrserv/SvrHandling.cpp
-
29lwrserv/SvrHandling.h
-
29lwrserv/defines.h
@ -1,13 +1,15 @@ |
|||||
|
#ifndef STRING_TOOL |
||||
|
#define STRING_TOOL |
||||
|
|
||||
#include <string> |
#include <string> |
||||
|
|
||||
#ifndef STRING_TOOL |
|
||||
#define STRING_TOOL |
|
||||
|
#define STRING_WHITESPACES " \t\r\n" |
||||
|
|
||||
class StringTool |
class StringTool |
||||
{ |
{ |
||||
private: |
private: |
||||
public: |
public: |
||||
void String2CmdArg(std::string s, std::string & cmd, std::string & arg); |
|
||||
std::string stripWhiteSpace(std::string s); |
|
||||
|
static void String2CmdArg(std::string s, std::string & cmd, std::string & arg); |
||||
|
static std::string stripWhiteSpace(std::string s); |
||||
}; |
}; |
||||
#endif |
#endif |
Write
Preview
Loading…
Cancel
Save
Reference in new issue