Hasty Badger
Small UI library (a branch of Turbo Badger)
|
Simple string class that doesn't own or change the string pointer. More...
#include <tb_str.h>
Public Member Functions | |
TBStrC (const char *str) | |
int | Length () const |
bool | IsEmpty () const |
int | Compare (const char *str) const |
bool | Equals (const char *str) const |
const char * | CStr () const |
const char & | operator[] (int n) const |
operator const char * () const | |
bool | operator== (const char *b) const |
bool | operator== (const TBStrC &b) const |
bool | operator!= (const TBStrC &b) const |
bool | operator< (const TBStrC &b) const |
bool | operator== (const std::string &b) const |
Protected Attributes | |
char * | s |
Simple string class that doesn't own or change the string pointer.