OpenMW
Classes | Typedefs | Functions
Misc Namespace Reference

Classes

struct  SliceArray
class  StringUtils
struct  List

Typedefs

typedef SliceArray< char > SString
typedef SliceArray< int > IntArray
typedef SliceArray< float > FloatArray

Functions

bool begins (const char *str1, const char *str2)
 Returns true if str1 begins with substring str2.
bool ends (const char *str1, const char *str2)
 Returns true if str1 ends with substring str2.
static bool icmp (char a, char b)
bool ibegins (const char *str1, const char *str2)
 Case insensitive, returns true if str1 begins with substring str2.
bool iends (const char *str1, const char *str2)
 Case insensitive, returns true if str1 ends with substring str2.

Typedef Documentation

typedef SliceArray<float> Misc::FloatArray
typedef SliceArray<int> Misc::IntArray
typedef SliceArray<char> Misc::SString

Function Documentation

bool Misc::begins ( const char *  str1,
const char *  str2 
)

Returns true if str1 begins with substring str2.

bool Misc::ends ( const char *  str1,
const char *  str2 
)

Returns true if str1 ends with substring str2.

bool Misc::ibegins ( const char *  str1,
const char *  str2 
)

Case insensitive, returns true if str1 begins with substring str2.

static bool Misc::icmp ( char  a,
char  b 
) [static]
bool Misc::iends ( const char *  str1,
const char *  str2 
)

Case insensitive, returns true if str1 ends with substring str2.