36 #define __VISUALC__ _MSC_VER
38 #if defined(__VISUALC__) || defined(__GNUC__)
39 #if defined(SBS_DLL) || (SBS_EXPORTS)
40 #define SBSIMPEXP __declspec(dllexport)
41 #define SBSIMPEXP_DATA(type) __declspec(dllexport) type
43 #define SBSIMPEXP __declspec(dllimport)
44 #define SBSIMPEXP_DATA(type) __declspec(dllimport) type
48 #define SBSIMPEXP_DATA(type) type
54 #define SBSIMPEXP_DATA(type)
88SBSIMPEXP int FindWithCase(
const std::string &
string,
bool uppercase,
const std::string &key,
int offset);
91SBSIMPEXP void ReplaceAll(std::string &
string,
const std::string &original,
const std::string &replacement);
92SBSIMPEXP bool StartsWith(
const std::string &
string,
const std::string &check_string,
bool ignore_case =
false);
94SBSIMPEXP void SplitString(std::vector<std::string> &dest_array,
const std::string &original_string,
char separator);
98#if defined(__VISUALC__)
Ogre::Quaternion Quaternion
bool IsBoolean(std::string string)
Real DegreesToRadians(Real degrees)
bool StartsWithNoCase(const std::string &string, const std::string &check_string)
std::string TruncateNumber(float value, int decimals)
int FindWithCase(const std::string &string, bool uppercase, const std::string &key, int offset)
void SplitString(std::vector< std::string > &dest_array, const std::string &original_string, char separator)
Real Min(Real a, Real b, Real c)
void ReplaceAll(std::string &string, const std::string &original, const std::string &replacement)
int ToInt(const std::string &string)
Real Max(Real a, Real b, Real c)
void SetCase(std::string &string, bool uppercase)
std::string ToString(int number)
float Round(float number, int decimal_places)
std::string SetCaseCopy(std::string string, bool uppercase)
Real ToFloat(const std::string &string)
bool IsNumeric(char character)
bool StartsWith(const std::string &string, const std::string &check_string, bool ignore_case)
std::string BoolToString(bool item)
void TrimString(std::string &string)
std::string TrimStringCopy(std::string string)
bool ToBool(std::string string)
Real RadiansToDegrees(Real radians)