Subversion Repositories tpanel

Rev

Rev 271 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 271 Rev 297
Line 120... Line 120...
120
bool isTrue(const std::string& value);
120
bool isTrue(const std::string& value);
121
bool isFalse(const std::string& value);
121
bool isFalse(const std::string& value);
122
bool isNumeric(const std::string& str, bool blank=false);
122
bool isNumeric(const std::string& str, bool blank=false);
123
bool isBigEndian();
123
bool isBigEndian();
124
std::string handleToString(ulong handle);
124
std::string handleToString(ulong handle);
-
 
125
ulong extractHandle(const std::string& obname);
125
 
126
 
126
static inline std::string &ltrim(std::string &s)
127
static inline std::string &ltrim(std::string &s)
127
{
128
{
128
    s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int c) {return !std::isspace(c);}));
129
    s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int c) {return !std::isspace(c);}));
129
    return s;
130
    return s;