bt_xstring.h File Reference

Declarations of narrow and wide (Unicode) string classes. More...

#include "bt_utilities_internal.h"
#include "bt_types.h"
#include <stdlib.h>

Include dependency graph for bt_xstring.h:


Classes

class  bt_xout_of_range
 Exception thrown when an out-of-range condition is detected. More...
class  bt_xstring
 An eight bit character string class. More...
class  bt_xwstring
 A Unicode character string class. More...

Functions

bool find (const bt_xstring &str, char search)
 Tests (case-sensitive) if a character is in the string.
bool operator!= (const bt_xwstring &a, const bt_xwstring &b)
 Tests (case-sensitive) for inequality.
bool operator!= (const bt_xstring &a, const bt_xstring &b)
 Tests (case-sensitive) for inequality.
BT_UTILITIES_IMEX bt_xwstring operator+ (const bt_xwstring &s1, const bt_xwstring &s2)
 Appends a bt_xwstring to a bt_xwstring.
BT_UTILITIES_IMEX bt_xstring operator+ (const bt_xstring &s1, const bt_xstring &s2)
 Appends a bt_xstring to a bt_xstring.
BT_UTILITIES_IMEX bt_xwstring operator+ (const bt_xwstring &s, BT_UInt16 c)
 Appends a character to a bt_xwstring.
BT_UTILITIES_IMEX bt_xstring operator+ (const bt_xstring &s, char c)
 Appends a character to a bt_xstring.
BT_UTILITIES_IMEX bt_xwstring operator+ (const bt_xwstring &s, const BT_UInt16 *s2)
 Appends a string to a bt_xwstring.
BT_UTILITIES_IMEX bt_xstring operator+ (const bt_xstring &s, const char *s2)
 Appends a string to a bt_xstring.
bool operator< (const bt_xwstring &a, const bt_xwstring &b)
 Tests (case-sensitive) if string 1 comes before string 2 in collation sequence.
bool operator< (const bt_xstring &a, const bt_xstring &b)
 Tests (case-sensitive) if string 1 comes before string 2 in collation sequence.
bool operator<= (const bt_xwstring &a, const bt_xwstring &b)
 Tests (case-sensitive) if string 1 comes before string 2 in collation sequence or is equal to string 2.
bool operator<= (const bt_xstring &a, const bt_xstring &b)
 Tests (case-sensitive) if string 1 comes before string 2 in collation sequence or is equal to string 2.
bool operator== (const bt_xwstring &a, const bt_xwstring &b)
 Tests (case-sensitive) for equality.
bool operator== (const bt_xstring &a, const bt_xstring &b)
 Tests (case-sensitive) for equality.
bool operator> (const bt_xwstring &a, const bt_xwstring &b)
 Tests (case-sensitive) if string 1 before before string 2 in collation sequence.
bool operator> (const bt_xstring &a, const bt_xstring &b)
 Tests (case-sensitive) if string 1 comes after string 2 in collation sequence.
bool operator>= (const bt_xwstring &a, const bt_xwstring &b)
 Tests (case-sensitive) if string 1 comes before string 2 in collation sequence or is equal to string 2.
bool operator>= (const bt_xstring &a, const bt_xstring &b)
 Tests (case-sensitive) if string 1 comes after string 2 in collation sequence or is equal to string 2.

Detailed Description

This file contains the implementation of narrow and dynamic wide string classes, based on those in the Rosette Class Library for Unicode (RCLU).

Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.