This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module str [Version: v01]

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
template< class T > unsigned int str::len(const T *a)
cpy
template< class T > T *str::cpy(T *a,const T *b)
cat
template< class T > T *str::cat(T *a,const T *b)
cmp
template< class T > int str::cmp(const T *a,const T *b)

Motivation


Static Template Methods

   len


Returns the length of the string.

Signature:
template< class T > unsigned int str::len(const T *a)

Parameters:
Type Name Direction Description
const 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:
template< class T > T *str::cpy(T *a,const T *b)

Parameters:
Type Name Direction Description
T *a[IN/OUT]Pointer to a null-terminated string.
const 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:
template< class T > T *str::cat(T *a,const T *b)

Parameters:
Type Name Direction Description
T *a[IN/OUT]Pointer to a null-terminated string.
const 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:
template< class T > int str::cmp(const T *a,const T *b)

Parameters:
Type Name Direction Description
const T *a[IN]Pointer to a null-terminated string.
const 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.


Copyright © 2017 - 2019 by Andreas Pollhammer