Public Member Functions
BtlString Class Reference

#include <btl.hh>

List of all members.

Public Member Functions

bool beginsWith (const BtlString &str) const
 BtlString ()
 BtlString (const BtlString &str)
 BtlString (const std::string &str)
 BtlString (const char *str)
bool contains (const BtlString &str) const
void decomposePathAndFile (BtlString &path, BtlString &filename) const
bool endsWith (const BtlString &str) const
bool isEquiv (const BtlString &str) const
 operator const char * () const
std::vector< BtlStringsplit (const BtlString &delims="\t\n ") const
BtlString toLowerCase (void)
BtlString toUpperCase (void)
void trim (bool left=true, bool right=true)

Detailed Description

Enhanced std::string

Definition at line 62 of file btl.hh.


Constructor & Destructor Documentation

BtlString::BtlString ( ) [inline]

Definition at line 65 of file btl.hh.

BtlString::BtlString ( const BtlString str) [inline]

Definition at line 66 of file btl.hh.

BtlString::BtlString ( const std::string &  str) [inline]

Definition at line 67 of file btl.hh.

BtlString::BtlString ( const char *  str) [inline]

Definition at line 68 of file btl.hh.


Member Function Documentation

bool BtlString::beginsWith ( const BtlString str) const [inline]

Definition at line 123 of file btl.hh.

bool BtlString::contains ( const BtlString str) const [inline]

Definition at line 119 of file btl.hh.

void BtlString::decomposePathAndFile ( BtlString path,
BtlString filename 
) const [inline]

Decompose the current string as a path and a file. For instance: "dir1/dir2/file.ext" leads to path="dir1/dir2/" and filename="file.ext"

Definition at line 155 of file btl.hh.

bool BtlString::endsWith ( const BtlString str) const [inline]

Definition at line 113 of file btl.hh.

bool BtlString::isEquiv ( const BtlString str) const [inline]

Case insensitive comparison.

Definition at line 143 of file btl.hh.

BtlString::operator const char * ( ) const [inline]

Definition at line 70 of file btl.hh.

std::vector<BtlString> BtlString::split ( const BtlString delims = "\t\n ") const [inline]

Definition at line 86 of file btl.hh.

BtlString BtlString::toLowerCase ( void  ) [inline]

Definition at line 130 of file btl.hh.

BtlString BtlString::toUpperCase ( void  ) [inline]

Definition at line 135 of file btl.hh.

void BtlString::trim ( bool  left = true,
bool  right = true 
) [inline]

Definition at line 72 of file btl.hh.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:53