Free Electron
Classes | Namespaces | Macros | Functions
String.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fe::String
 Automatically reference-counted string container. More...
 
struct  fe::String::Sort
 Sort an Array of Strings. More...
 

Namespaces

 fe
 kernel
 

Macros

#define FESTRING_DEBUG   FALSE
 
#define FESTRING_LOCALSIZE   16
 
#define FEMEMRCHR(s, c, n)   fe_memrchr(s,c,n)
 
#define FESTRCMP_MB(x, y)   _mbscmp(x,y)
 
#define FESTRNCMP_MB(x, y, z)   _mbsncmp(x,y,z)
 
#define FESTR_MB2UPPER(x)   _mbsupr((unsigned char*)x)
 
#define FESTR_MB2LOWER(x)   _mbslwr((unsigned char*)x)
 
#define FEVSNPRINTF(x, y, z, a)   _vsnprintf(x,y,z,a)
 
#define FESTRCPY(dest, size, src)   strcpy_s((char *)dest,size,(char *)src)
 
#define FESTRCMP_MB(x, y)   strcmp((char *)x,(char *)y)
 
#define FESTRNCMP_MB(x, y, z)   strncmp((char *)x,(char *)y,z)
 
#define FESTRLEN(x)   strlen((char *)x)
 
#define FESTRING_I8   char
 
#define FESTRING_U8   unsigned char
 
#define FE_STRING2(x)   #x
 
#define FE_STRING(x)   FE_STRING2(x)
 
#define c_print(x)   fe::print(x).c_str()
 

Functions

void * fe::fe_memrchr (const void *s, int c, size_t n)
 
BWORD fe::operator== (const String &s1, const String &s2)
 Compare two String's. More...
 
BWORD fe::operator== (const char *s1, const String &s2)
 Compare a byte buffer to an String. More...
 
BWORD fe::operator== (const String &s1, const char *s2)
 Compare an String to a byte buffer. More...
 
BWORD fe::operator!= (const String &s1, const String &s2)
 Compare two String's (reverse logic) More...
 
BWORD fe::operator!= (const char *s1, const String &s2)
 Compare a byte buffer to an String (reverse logic) More...
 
BWORD fe::operator!= (const String &s1, const char *s2)
 Compare an String to a byte buffer (reverse logic) More...
 
String fe::operator+ (const String &s1, const String &s2)
 
String fe::operator+ (const String &s1, const int &i)
 
String fe::operator+ (const int &i, const String &s1)
 
String fe::operator+ (const String &s1, const float &f)
 
String fe::operator+ (const float &f, const String &s1)
 
String fe::errorString (int errnum)
 Return a string for an FE_ERRNO code. More...
 
String fe::print (const String &a_rString)
 
String fe::print (char *a_buffer)
 
String fe::print (U32 a_integer)
 
String fe::print (I32 a_integer)
 
String fe::print (F32 a_float)
 
String fe::print (F64 a_double)