Vault  4.1
Classes
Vault Strings

The Vault provides a VString class that it uses for all strings. More...

Classes

class  VChar
 VChar is a simple wrapper for C char values. More...
class  VCodePoint
 VCodePoint stores a Unicode code point, which is similar to a 'char' except that the range of values is vastly larger than what fits in one byte. More...
class  VString
 VString is a string container class that should help to eliminate almost all use of char buffer and char* and their inherent dangers, in the Vault APIs and most source code. More...

Detailed Description

The Vault provides a VString class that it uses for all strings.

It is a good way to avoid the unavoidable bugs associated with using raw C strings, and it provides many useful ways of working with strings in a safe way.

A related class, VCodePoint, can be used to represent a single Unicode character and the operations that are useful for characters.

There is another class, VChar, that is a wrapper around the old-fashioned single-bye C char type, which should usually be avoided because it is not generally compatible with Unicode data. Using VString and VCodePoint exclusively will lead to good Unicode behavior.


Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.