1 /*********************************
2 ** Tsunagari Tile Engine **
4 ** Copyright 2011-2012 OmegaSDG **
5 *********************************/
13 //! Return a bool from a "true"/"false" string.
14 bool parseBool(const std::string
& s
);
16 //! Split a string by a delimiter.
17 std::vector
<std::string
> splitStr(std::string str
,
18 const std::string
& delimiter
);
20 //! Convert an integer to a representative string.
21 std::string
itostr(int in
);
23 //! Returns true if the string contains only digits, whitespace, and minus.
24 bool isInteger(const std::string
& s
);
26 //! Returns true if the string contains only digits, whitespace, minus, and
28 bool isDecimal(const std::string
& s
);