Bstrlib Namespace Reference


Classes

class  CharWriteProtected
 Provide write protected char functionnality. More...
struct  String
 The string class. More...

Functions

const String operator * (int count, const String &b)
const String operator+ (const tagbstring &x, const String &b)
const String operator+ (unsigned char c, const String &b)
const String operator+ (char c, const String &b)
const String operator+ (const unsigned char *a, const String &b)
const String operator+ (const char *a, const String &b)
 int String::gets(bNgetc getcPtr, void * parm, char terminator) { if (mlen <= 0) bstringThrow("Write protection error"); bstring b = bgets(getcPtr, parm, terminator); if (b == NULL) { slen = 0; return -1; } this = *b; bdestroy(b); return 0; }


Function Documentation

const String Bstrlib::operator * ( int  count,
const String &  b 
) [inline]

const String Bstrlib::operator+ ( const tagbstring x,
const String &  b 
)

const String Bstrlib::operator+ ( unsigned char  c,
const String &  b 
)

const String Bstrlib::operator+ ( char  c,
const String &  b 
)

const String Bstrlib::operator+ ( const unsigned char *  a,
const String &  b 
)

const String Bstrlib::operator+ ( const char *  a,
const String &  b 
)

int String::gets(bNgetc getcPtr, void * parm, char terminator) { if (mlen <= 0) bstringThrow("Write protection error"); bstring b = bgets(getcPtr, parm, terminator); if (b == NULL) { slen = 0; return -1; } this = *b; bdestroy(b); return 0; }

int String::read(bNread readPtr, void * parm) { if (mlen <= 0) bstringThrow("Write protection error"); bstring b = bread(readPtr, parm); if (b == NULL) { slen = 0; return -1; } this = *b; bdestroy(b); return 0; }


(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is