nux-0.9.48
|
#include "Math/MathUtility.h"
Go to the source code of this file.
Data Structures | |
class | nux::TCharToUpperCase |
class | nux::TCharToLowerCase |
struct | nux::ToLowerCaseFunctor< T > |
struct | nux::ToUpperCaseFunctor< T > |
struct | nux::LexicographicCompare< T > |
struct | nux::LexicographicCompareWithConversion< T, ConversionFunctor > |
struct | nux::EqualFunctor< T > |
class | nux::NString |
Namespaces | |
namespace | nux |
Functions | |
template<typename T > | |
T | nux::ToLowerCase (T c) |
template<typename T > | |
T | nux::ToUpperCase (T c) |
template<class T > | |
t_size | nux::ToCharString (char *buffer, t_size bufferlen, const char *format, T value) |
template<class T > | |
t_s32 | nux::ToTCharString (TCHAR *buffer, t_size bufferlen, const TCHAR *format, T value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_u16 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_s16 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_u32 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_s32 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_ulong value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_long value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_u64 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_s64 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_float value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_double value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_u8 value) |
t_size | nux::ValueToLiteralString (char *buffer, t_size len, t_s8 value) |
template<class T > | |
bool | nux::FromCharString (const char *buffer, t_size bufferlen, const char *format, T &value) |
template<class T > | |
bool | nux::FromTCharString (const TCHAR *buffer, t_size bufferlen, const TCHAR *format, T &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_u16 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_s16 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_u32 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_s32 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_ulong &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_long &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_u64 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_s64 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_float &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_double &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_u8 &value) |
bool | nux::ValueFromLiteralString (const char *buffer, t_size len, t_s8 &value) |
TCHAR * | nux::Strncpy (TCHAR *Dest, t_size Size, const TCHAR *Src, t_size Max) |
TCHAR * | nux::Strncat (TCHAR *Dest, t_size Size, const TCHAR *Src, t_size Max) |
Concatenate a string with length checking. | |
const TCHAR * | nux::Strfind (const TCHAR *Str, const TCHAR *Find) |
TCHAR * | nux::inlStringCopy (TCHAR *Dest, t_size numberOfElements, const TCHAR *Src) |
Copy a string. | |
TCHAR * | nux::inlTCharStringConcat (TCHAR *Dest, t_size numberOfElements, const TCHAR *Src) |
Append a string. | |
TCHAR * | nux::inlStrupr (TCHAR *String, t_size numberOfElements) |
Convert a string to uppercase. Returns a pointer to the altered string. Return 0 if not successful. | |
TCHAR * | nux::Strstr (const TCHAR *String, const TCHAR *Find) |
Return a pointer to the first occurrence of a search string in a string. | |
TCHAR * | nux::Strchr (const TCHAR *String, int c) |
Find the first occurrence a character in a string. Returns a pointer to that character in the string or NULL if it is not found. | |
TCHAR * | nux::Strrchr (const TCHAR *String, int c) |
Find the last occurrence a character in a string. Returns a pointer to that character in the string or NULL if it is not found. | |
int | nux::TCharStringCompare (const TCHAR *String1, const TCHAR *String2) |
Performs a case-sensitive comparison. The return value indicates the lexicographic relation of String1 to String2. | |
int | nux::Stricmp (const TCHAR *String1, const TCHAR *String2) |
Performs a case-insensitive comparison. The return value indicates the lexicographic relation of String1 to String2. | |
int | nux::Strtoi (const TCHAR *Start, TCHAR **End, int Base) |
int | nux::TCharStringNCompare (const TCHAR *A, const TCHAR *B, t_size Count) |
int | nux::TCharStringNICompare (const TCHAR *A, const TCHAR *B, t_size Count) |
TCHAR * | nux::Strdup (const TCHAR *str) |
Duplicate a null terminated string using new[]. The resulting string is NULL terminated. Use delete[] to destroy. | |
ANSICHAR * | nux::StrdupA (const ANSICHAR *str) |
Duplicate a null terminated ANSICHAR string using new[]. The resulting string is NULL terminated. Use delete[] to destroy. | |
UNICHAR * | nux::StrdupU (const UNICHAR *str) |
Duplicate a null terminated UNICHAR string using new[]. The resulting string is NULL terminated. Use delete[] to destroy. | |
nux::VARARG_DECL (int, static int, return, Snprintf, VARARG_NONE, const TCHAR *, VARARG_EXTRA(TCHAR *Dest) VARARG_EXTRA(int Size) VARARG_EXTRA(int Count), VARARG_EXTRA(Dest) VARARG_EXTRA(Size) VARARG_EXTRA(Count)) | |
Formatted Printf. | |
bool | nux::IsLastChar (const TCHAR *CharString, const TCHAR Chr) |
NString | nux::Itoa (int InNum) |