#include "BString/bstrlib.h"
Go to the source code of this file.
Namespaces | |
namespace | Bstrlib |
Classes | |
class | Bstrlib::CharWriteProtected |
Provide write protected char functionnality. More... | |
struct | Bstrlib::String |
The string class. More... | |
Defines | |
#define | bstringThrow(er) do{} while(0) |
#define | BSTRLIB_THROWS_EXCEPTIONS |
Functions | |
const String | Bstrlib::operator * (int count, const String &b) |
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; } |
#define bstringThrow | ( | er | ) | do{} while(0) |
#define BSTRLIB_THROWS_EXCEPTIONS |