Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBStrC Class Reference

Simple string class that doesn't own or change the string pointer. More...

#include <tb_str.h>

Inheritance diagram for tb::TBStrC:
tb::TBStr

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
 

Detailed Description

Simple string class that doesn't own or change the string pointer.


The documentation for this class was generated from the following file: