This documentation describes the Prokee module interface.
Templates
Show templates with parameter T set to: (
T),
(
char),
(
char16_t),
(
char32_t),
(
wchar_t
)
Static Template Methods:
len
unsigned int str::len(const char32_t *a)
cpy
char32_t *str::cpy(char32_t *a,const char32_t *b)
cat
char32_t *str::cat(char32_t *a,const char32_t *b)
cmp
int str::cmp(const char32_t *a,const char32_t *b)
Motivation
Static Template Methods
len
Returns the length of the string.
Signature:
unsigned int str::len(const char32_t *a)
Parameters:
| const char32_t * | a | [IN] | Pointer to a null-terminated string. |
Return value:The length (number of characters) of the string.
cpy
Copies the string from
b to
a.
Signature:
char32_t *str::cpy(char32_t *a,const char32_t *b)
Parameters:
| char32_t * | a | [IN/OUT] | Pointer to a null-terminated string. |
| const char32_t * | b | [IN] | Pointer to a null-terminated string. |
Return value:Returns a pointer to
a.
cat
Appends the string from
b to the string at
a.
Signature:
char32_t *str::cat(char32_t *a,const char32_t *b)
Parameters:
| char32_t * | a | [IN/OUT] | Pointer to a null-terminated string. |
| const char32_t * | b | [IN] | Pointer to a null-terminated string. |
Return value:Returns a pointer to
a.
cmp
Compares the strings in
a and
b.
Signature:
int str::cmp(const char32_t *a,const char32_t *b)
Parameters:
| const char32_t * | a | [IN] | Pointer to a null-terminated string. |
| const char32_t * | b | [IN] | Pointer to a null-terminated string. |
Return value:Returnes 0 if both strings are equal and a value other than 0 otherwise.