sio2_string.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int sio2StringScanf (char *, const char *,...)
static unsigned int sio2StringLen (const char *_str)
static int sio2StringCmp (const char *_str1, const char *_str2)
static void sio2StringCpy (char *_str1, const char *_str2)
static charsio2StringChr (char *_str1, char _str2)
static charsio2StringTok (char *_str1, char *_str2)
static void sio2StringToUpper (char *_str)
static unsigned int sio2StringGetLines (char *_str)


Function Documentation

static char* sio2StringChr ( char _str1,
char  _str2 
) [inline, static]

Return a pointer to the memory position where the _str2 character is located with _str1.

Return NULL if _str2 cannot be found.

Referenced by sio2StreamParse(), sio2StringScanf(), and sio2UrlDownload().

static int sio2StringCmp ( const char _str1,
const char _str2 
) [inline, static]

Compare two strings, return 1 if different 0 if not.

References sio2StringLen().

Referenced by sio2ActionLoad(), sio2CameraLoad(), sio2ConstraintLoad(), sio2IpoLoad(), sio2LampLoad(), sio2MaterialLoad(), sio2ObjectLoad(), sio2ResourceGet(), and sio2StreamParse().

Here is the call graph for this function:

static void sio2StringCpy ( char _str1,
const char _str2 
) [inline, static]

static unsigned int sio2StringGetLines ( char _str  )  [inline, static]

Return the number of line feed within a string.

References sio2StringLen().

Here is the call graph for this function:

static unsigned int sio2StringLen ( const char _str  )  [inline, static]

int sio2StringScanf ( char _str,
const char _fmt,
  ... 
)

Faster version of sscanf.

Act exactly the same as sscanf.

References sio2StringChr().

Referenced by sio2ActionLoad(), sio2CameraLoad(), sio2ConstraintLoad(), sio2IpoLoad(), sio2LampLoad(), sio2MaterialLoad(), and sio2ObjectLoad().

Here is the call graph for this function:

static char* sio2StringTok ( char _str1,
char _str2 
) [inline, static]

Look for a string token within another string.

Return NULL if the _str2 token haven't been found in _str1.

References sio2StringLen().

Referenced by sio2ImageLoad(), sio2ResourceDispatchStream(), sio2StreamParse(), and sio2UrlGetBuffer().

Here is the call graph for this function:

static void sio2StringToUpper ( char _str  )  [inline, static]

Convert a string to uppercase.

References sio2StringLen().

Referenced by sio2ImageLoad(), and sio2InitLUA().

Here is the call graph for this function:


Generated on Thu Mar 4 15:41:50 2010 for SIO2 Engine by  doxygen 1.5.6