Provides basic functions to manipulate strings. They are useful when the standard sprintf and sscanf functions are not working correctly (for instance, when loading Cygwin's dynamic library inside a Java environment). This section allows you to access the C++ source files of the module. This module is part of Contribution . Here are listed the types defined in the module. To use one of them, you have to specify the namespace of the module. Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module. template <int prDummy> class clString
Provides basic functions to manipulate strings. template <int prDummy> void clString<prDummy>::concatenate(tcString agTarget,tcString agSource) Concatenates two strings. There must be enough space in the first string to copy the second one.
template <int prDummy> void clString<prDummy>::copy(tcString agTarget,tcString agSource) Copies a string. There must be enough space in the first string to copy the second one.
template <int prDummy> tyCardinal clString<prDummy>::length(tcString agString) Returns the number of characters in a string.
template <int prDummy> tcString clString<prDummy>::toString(tyString agString,tyCardinal agNumber) Converts a cardinal number into a string. There must be enough space in the string given as argument to store the result.
template <int prDummy> tcString clString<prDummy>::toString(tyString agString,tyInteger agNumber) Converts an integer number into a string. There must be enough space in the string given as argument to store the result.
template <int prDummy> tcString clString<prDummy>::toString(tyString agString,tyPointer agNumber) Converts a pointer into a string. There must be enough space in the string given as argument to store the result.
template <int prDummy> tcString clString<prDummy>::toString(tyString agString,tyReal agNumber) Converts a real number into a string. There must be enough space in the string given as argument to store the result.
template <int prDummy> tcString clString<prDummy>::toCardinal(tcString agString,tyCardinal & agNumber) Converts a string into a cardinal number.
template <int prDummy> tcString clString<prDummy>::toInteger(tcString agString,tyInteger & agNumber) Converts a string into an integer number.
template <int prDummy> tcString clString<prDummy>::toPointer(tcString agString,tyPointer & agNumber) Converts a string into a pointer.
template <int prDummy> tcString clString<prDummy>::toReal(tcString agString,tyReal & agNumber) Converts a string into a real number.
| | Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net | Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org). |
|
| |