#include "defs.h"
#include "xmldefs.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 declarations XmlChar specific functions.
Definition in file xmlchar.h.
|
||||||||||||
|
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.
|
|
||||||||||||
|
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.
|
|
||||||||||||
|
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.
|
|
||||||||||||||||
|
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.
|
|
||||||||||||||||
|
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.
|
|
||||||||||||||||
|
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.
|
|
||||||||||||
|
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.
Referenced by XmlParser::endElement, and XmlParser::startElement. |
|
||||||||||||
|
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.
Referenced by HashTableComparator::compare. |
|
||||||||||||
|
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.
Referenced by XmlParser::endElement, XmlSimpleModel::manageEvent, XmlAdaptiveModel::manageEvent, XmlSimpleModel::receiveData, XmlAdaptiveModel::receiveData, and XmlParser::startElement. |
|
|
Calculate the length of the XmlChar string.
This function is an simple equivalent to strlen(), except that it works with XmlChar based string.
Referenced by XmlParser::endElement, XmlSimpleModel::manageEvent, XmlAdaptiveModel::manageEvent, OutputSAXReceptor::processingInstruction, XmlSimpleModel::receiveData, XmlAdaptiveModel::receiveData, and XmlParser::startElement. |
|
||||||||||||||||
|
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.
|
|
||||||||||||||||
|
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.
|
|
||||||||||||||||
|
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.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002