Bstring(3)

NAME
Bstring

SYNOPSIS

#include <Bstring.h>

  Public Member Functions
Bstring ()
Bstring (const Bstring &s)
Bstring (const string &s)
Bstring (const Bstring &s, long start, long len)
Bstring (const char *c)
Bstring (const char *c, long start, long len)
Bstring (const char c, long size)
string str ()
template<typename T > Bstring (T value, const char *format)
~Bstring ()
Bstring & operator= (const Bstring &s)
Bstring & operator= (const string &s)
Bstring & operator= (const char *c)
Bstring & operator+= (const Bstring &s)
Bstring operator+ (const Bstring &s)
Bstring operator+ (const Bstring &s) const
Bstring & operator+= (const char c)
Bstring operator+ (const char c)
bool operator== (const Bstring &s)
bool operator!= (const Bstring &s)
bool operator> (const Bstring &s)
bool operator< (const Bstring &s)
bool operator>= (const Bstring &s)
bool operator<= (const Bstring &s)
Bstring operator<< (int n)
Bstring operator>> (int n)
char & operator[] (long i)
const char * c_str ()
bool empty ()
long length () const
long count (const char c)
long compare (const Bstring &s)
long compare_value (const Bstring &s)
void fill (const char c)
void place (long i, const Bstring &s)
Bstring lower ()
Bstring upper ()
Bstring substr (long start, long len)
Bstring no_space ()
Bstring no_lead_space ()
Bstring alnum ()
Bstring left (long len)
Bstring right (long len)
Bstring pre (char c)
Bstring post (char c)
Bstring pre_rev (char c)
Bstring post_rev (char c)
Bstring within (char c1, char c2)
Bstring replace (char cold, char cnew)
Bstring remove (const char c)
Bstring swap (const long i, const long j)
Bstring erase (const long i)
Bstring truncate (const long n)
Bstring base ()
Bstring extension ()
Bstring canonical (int n)
long integer ()
double real ()
long index (const char c)
long index (const char c, long start)
long find (const Bstring &s)
long find (const Bstring &s, long start)
long rfind (const Bstring &s)
long rfind (const Bstring &s, long start)
bool contains (const Bstring &s)
Bstring insert (long pos, const Bstring &s)
Bstring * split ()
Bstring * split (const Bstring &delim)
vector< long > split_into_integers (const Bstring &delim)
vector< double > split_into_doubles (const Bstring &delim)

  Public Attributes
Bstring * next

  Friends
Bstring operator+ (const char *c, const Bstring &s)

Detailed Description

Definition at line 29 of file Bstring.h.

Constructor & Destructor Documentation

  Bstring::Bstring () [inline]

Definition at line 35 of file Bstring.h.

  Bstring::Bstring (const Bstring & s)
Constructor

Definition at line 22 of file Bstring.cpp.

  Bstring::Bstring (const string & s)

Definition at line 34 of file Bstring.cpp.

  Bstring::Bstring (const Bstring & s, long start, long len)

Definition at line 46 of file Bstring.cpp.

  Bstring::Bstring (const char * c)

Definition at line 63 of file Bstring.cpp.

  Bstring::Bstring (const char * c, long start, long len)

Definition at line 77 of file Bstring.cpp.

  Bstring::Bstring (const char c, long size)

Definition at line 96 of file Bstring.cpp.

  template<typename T > Bstring::Bstring (T value, const char * format) [inline]

Definition at line 44 of file Bstring.h.

  Bstring::~Bstring () [inline]

Definition at line 52 of file Bstring.h.

Member Function Documentation

  Bstring Bstring::alnum ()

Definition at line 349 of file Bstring.cpp.

  Bstring Bstring::base ()

Definition at line 508 of file Bstring.cpp.

  const char* Bstring::c_str () [inline]

Definition at line 70 of file Bstring.h.

  Bstring Bstring::canonical (int n)

Definition at line 527 of file Bstring.cpp.

  long Bstring::compare (const Bstring & s)

Definition at line 277 of file Bstring.cpp.

  long Bstring::compare_value (const Bstring & s)

Definition at line 285 of file Bstring.cpp.

  bool Bstring::contains (const Bstring & s)

Definition at line 584 of file Bstring.cpp.

  long Bstring::count (const char c)

Definition at line 269 of file Bstring.cpp.

  bool Bstring::empty () [inline]

Definition at line 71 of file Bstring.h.

  Bstring Bstring::erase (const long i)

Definition at line 485 of file Bstring.cpp.

  Bstring Bstring::extension ()

Definition at line 515 of file Bstring.cpp.

  void Bstring::fill (const char c)

Definition at line 296 of file Bstring.cpp.

  long Bstring::find (const Bstring & s) [inline]

Definition at line 103 of file Bstring.h.

  long Bstring::find (const Bstring & s, long start)

Definition at line 562 of file Bstring.cpp.

  long Bstring::index (const char c) [inline]

Definition at line 101 of file Bstring.h.

  long Bstring::index (const char c, long start)

Definition at line 552 of file Bstring.cpp.

  Bstring Bstring::insert (long pos, const Bstring & s)

Definition at line 590 of file Bstring.cpp.

  long Bstring::integer ()

Definition at line 539 of file Bstring.cpp.

  Bstring Bstring::left (long len)

Definition at line 358 of file Bstring.cpp.

  long Bstring::length () const

Definition at line 263 of file Bstring.cpp.

  Bstring Bstring::lower ()

Definition at line 308 of file Bstring.cpp.

  Bstring Bstring::no_lead_space ()

Definition at line 341 of file Bstring.cpp.

  Bstring Bstring::no_space ()

Definition at line 332 of file Bstring.cpp.

  bool Bstring::operator!= (const Bstring & s)

Definition at line 208 of file Bstring.cpp.

  Bstring Bstring::operator+ (const Bstring & s)

Definition at line 155 of file Bstring.cpp.

  Bstring Bstring::operator+ (const Bstring & s) const

Definition at line 170 of file Bstring.cpp.

  Bstring Bstring::operator+ (const char c)

Definition at line 191 of file Bstring.cpp.

  Bstring & Bstring::operator+= (const Bstring & s)

Definition at line 149 of file Bstring.cpp.

  Bstring & Bstring::operator+= (const char c)

Definition at line 185 of file Bstring.cpp.

  bool Bstring::operator< (const Bstring & s)

Definition at line 218 of file Bstring.cpp.

  Bstring Bstring::operator<< (int n)

Definition at line 233 of file Bstring.cpp.

  bool Bstring::operator<= (const Bstring & s)

Definition at line 228 of file Bstring.cpp.

  Bstring & Bstring::operator= (const Bstring & s)

Definition at line 108 of file Bstring.cpp.

  Bstring & Bstring::operator= (const string & s)

Definition at line 122 of file Bstring.cpp.

  Bstring & Bstring::operator= (const char * c)

Definition at line 135 of file Bstring.cpp.

  bool Bstring::operator== (const Bstring & s)

Definition at line 203 of file Bstring.cpp.

  bool Bstring::operator> (const Bstring & s)

Definition at line 213 of file Bstring.cpp.

  bool Bstring::operator>= (const Bstring & s)

Definition at line 223 of file Bstring.cpp.

  Bstring Bstring::operator>> (int n)

Definition at line 240 of file Bstring.cpp.

  char & Bstring::operator[] (long i)

Definition at line 247 of file Bstring.cpp.

  void Bstring::place (long i, const Bstring & s)

Definition at line 302 of file Bstring.cpp.

  Bstring Bstring::post (char c)

Definition at line 394 of file Bstring.cpp.

  Bstring Bstring::post_rev (char c)

Definition at line 428 of file Bstring.cpp.

  Bstring Bstring::pre (char c)

Definition at line 381 of file Bstring.cpp.

  Bstring Bstring::pre_rev (char c)

Definition at line 413 of file Bstring.cpp.

  double Bstring::real ()

Definition at line 545 of file Bstring.cpp.

  Bstring Bstring::remove (const char c)

Definition at line 465 of file Bstring.cpp.

  Bstring Bstring::replace (char cold, char cnew)

Definition at line 457 of file Bstring.cpp.

  long Bstring::rfind (const Bstring & s) [inline]

Definition at line 105 of file Bstring.h.

  long Bstring::rfind (const Bstring & s, long start)

Definition at line 574 of file Bstring.cpp.

  Bstring Bstring::right (long len)

Definition at line 367 of file Bstring.cpp.

  Bstring * Bstring::split ()

Definition at line 597 of file Bstring.cpp.

  Bstring * Bstring::split (const Bstring & delim)

Definition at line 622 of file Bstring.cpp.

  vector< double > Bstring::split_into_doubles (const Bstring & delim)

Definition at line 665 of file Bstring.cpp.

  vector< long > Bstring::split_into_integers (const Bstring & delim)

Definition at line 649 of file Bstring.cpp.

  string Bstring::str () [inline]

Definition at line 42 of file Bstring.h.

  Bstring Bstring::substr (long start, long len)

Definition at line 324 of file Bstring.cpp.

  Bstring Bstring::swap (const long i, const long j)

Definition at line 477 of file Bstring.cpp.

  Bstring Bstring::truncate (const long n)

Definition at line 495 of file Bstring.cpp.

  Bstring Bstring::upper ()

Definition at line 316 of file Bstring.cpp.

  Bstring Bstring::within (char c1, char c2)

Definition at line 442 of file Bstring.cpp.

Friends And Related Function Documentation

  Bstring operator+ (const char * c, const Bstring & s) [friend]

Definition at line 681 of file Bstring.cpp.

Member Data Documentation

  Bstring* Bstring::next

Definition at line 31 of file Bstring.h.

Author

Generated automatically by Doxygen for Bsoft from the source code.