#include "xmlchar.h"
Go to the source code of this file.
Functions | |
size_t | xmlchar_strlen (const XmlChar *str) |
Calculate the length of the XmlChar string. More... | |
XmlChar * | xmlchar_strcpy (XmlChar *dest, const XmlChar *src) |
Copy XmlChar string. More... | |
XmlChar * | xmlchar_cstrcpy (XmlChar *dest, const char *src) |
Copy char * string to XmlChar string. More... | |
XmlChar * | xmlchar_strncpy (XmlChar *dest, const XmlChar *src, size_t n) |
Copy up to a given number of characters of a XmlChar string. More... | |
XmlChar * | xmlchar_cstrncpy (XmlChar *dest, const char *src, size_t n) |
Copy up to a given number of characters of char * string to a XmlChar string. More... | |
XmlChar * | xmlchar_strcat (XmlChar *dest, const XmlChar *src) |
Concatenate two XmlChar strings. More... | |
XmlChar * | xmlchar_cstrcat (XmlChar *dest, const char *src) |
Append char * string to XmlChar string. More... | |
XmlChar * | xmlchar_strncat (XmlChar *dest, const XmlChar *src, size_t n) |
Append up to a given number of characters to XmlChar string. More... | |
XmlChar * | xmlchar_cstrncat (XmlChar *dest, const char *src, size_t n) |
Append up to a given number of characters from char * string to XmlChar string. More... | |
int | xmlchar_strcmp (const XmlChar *s1, const XmlChar *s2) |
Compare two XmlChar strings. More... | |
int | xmlchar_strncmp (const XmlChar *s1, const XmlChar *s2, size_t n) |
Compare up to n characters of two XmlChar strings. More... | |
int | xmlchar_cstrcmp (const XmlChar *s1, const char *s2) |
Compare two XmlChar strings. More... | |
int | xmlchar_cstrncmp (const XmlChar *s1, const char *s2, size_t n) |
Compare up to n characters of two XmlChar strings. More... |
This file contains definitions XmlChar specific functions.
Definition in file xmlchar.cpp.
|
Append char * string to XmlChar string.
This function is an simple equivalent to strcat(), except that it works with XmlChar based string. It appends src to dest. Terminating 0 is included. Characters of src are simply overtyped to XmlChar.
Definition at line 131 of file xmlchar.cpp. References XmlChar. |
|
Compare two XmlChar strings.
This function is an simple equivalent to strcmp(), except that it works with XmlChar based string. It returns -1, 0 or 1 if first string is less, equal or more than the second string.
Definition at line 280 of file xmlchar.cpp. References XmlChar. |
|
Copy char * string to XmlChar string.
This function is an simple equivalent to strcpy(), except that it works with XmlChar based string. It copies src to dest. Terminating 0 is included.
Definition at line 60 of file xmlchar.cpp. References XmlChar. |
|
Append up to a given number of characters from char * string to XmlChar string.
This function is an simple equivalent to strncat(), except that it works with XmlChar based string. It appends up to n XmlChars from src to dest. If there is no terminating 0 in the n XmlChars of src, dest will not be zero terminated. Characters of src are simply overtyped to XmlChar.
Definition at line 166 of file xmlchar.cpp. References XmlChar. |
|
Compare up to n characters of two XmlChar strings.
This function is an simple equivalent to strncmp(), except that it works with XmlChar based string. It returns -1, 0 or 1 if first string is less, equal or more than the second string.
Definition at line 326 of file xmlchar.cpp. References XmlChar. |
|
Copy up to a given number of characters of char * string to a XmlChar string.
This function is an simple equivalent to strncpy(), except that it works with XmlChar based string. It copies up to n XmlChars from src to dest. If there is no terminating 0 in the n XmlChars of src, dest will not be zero terminated. Characters of src are simply overtyped to XmlChar.
Definition at line 95 of file xmlchar.cpp. References XmlChar. |
|
Concatenate two XmlChar strings.
This function is an simple equivalent to strcat(), except that it works with XmlChar based string. It appends src to dest. Terminating 0 is included.
Definition at line 114 of file xmlchar.cpp. References XmlChar. |
|
Compare two XmlChar strings.
This function is an simple equivalent to strcmp(), except that it works with XmlChar based string. It returns -1, 0 or 1 if first string is less, equal or more than the second string.
Definition at line 185 of file xmlchar.cpp. References XmlChar. |
|
Copy XmlChar string.
This function is an simple equivalent to strcpy(), except that it works with XmlChar based string. It copies src to dest. Terminating 0 is included.
Definition at line 46 of file xmlchar.cpp. References XmlChar. |
|
Calculate the length of the XmlChar string.
This function is an simple equivalent to strlen(), except that it works with XmlChar based string.
Definition at line 30 of file xmlchar.cpp. References XmlChar. |
|
Append up to a given number of characters to XmlChar string.
This function is an simple equivalent to strncat(), except that it works with XmlChar based string. It appends up to n XmlChars from src to dest. If there is no terminating 0 in the n XmlChars of src, dest will not be zero terminated.
Definition at line 148 of file xmlchar.cpp. References XmlChar. |
|
Compare up to n characters of two XmlChar strings.
This function is an simple equivalent to strncmp(), except that it works with XmlChar based string. It returns -1, 0 or 1 if first string is less, equal or more than the second string.
Definition at line 231 of file xmlchar.cpp. References XmlChar. |
|
Copy up to a given number of characters of a XmlChar string.
This function is an simple equivalent to strncpy(), except that it works with XmlChar based string. It copies up to n XmlChars from src to dest. If there is no terminating 0 in the n XmlChars of src, dest will not be zero terminated.
Definition at line 76 of file xmlchar.cpp. References XmlChar. |