| Library | StringWrapper |
|---|---|
| File | StringWrapper.h |
| Author | Brodie Thiesfield [code at jellycan dot com] |
| Source | http://code.jellycan.com/stringwrapper/ |
| Version | 2.1 |
The primary advantages of using this wrapper are:
The primary disadvantages of using this wrapper are:
The StringWrapper classes are designed to be usable on any platform that ICU is available, however testing has been restricted to Windows and Linux only. It has been released under the MIT Licence, allowing free use in all software (including GPL and commercial).
It is expected that the StringWrapper.h file will be included by another header file that will set up appropriate defines. The following defines are supported:
| STRINGWRAPPER_ASSERT | Define this if necessary to be an assert function compatible with assert.h. Buffer and null-termination error checking will only occur when this has been defined.
|
| STRINGWRAPPER_CLASS_API | If the StringWrapper classes are to be exported, define this to be the export for the class definitions.
|
| STRINGWRAPPER_API | If the StringWrapper classes are to be exported, define this to be the export for the functions.
|
| STRINGWRAPPER_NAMESPACE | If this define is set, then the StringWrapper classes will be defined within this namespace. If not defined then they will be part of the global namespace. |
Copyright (c) 2007-2008, Brodie Thiesfield
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1.5.4