#include <Text.H>
Inheritance diagram for Text:
Public Types | |
enum | { MaxInt = (int)(~(1u << ((sizeof(int) * 8) - 1))) } |
Public Member Functions | |
Text () throw () | |
Text (const Text &t) throw () | |
Text (const char c) throw () | |
Text (const char *str, void *copy=NULL) throw () | |
Text (const char *bytes, int len) throw () | |
Text (const std::string &str) throw () | |
void | Init (const char *str) |
~Text () throw () | |
Text & | operator= (const char *str) throw () |
Text & | operator= (const Text &t) throw () |
Text & | operator+= (const char *str) throw () |
Text & | operator+= (const Text &t) throw () |
const char * | cchars () const throw () |
char * | chars () const throw () |
char | operator[] (int i) const throw () |
int | Length () const throw () |
bool | Empty () const throw () |
Text | Sub (int start, int len=MaxInt) const throw () |
int | FindChar (char c, int start=0) const throw () |
int | FindCharR (char c, int start=MaxInt) const throw () |
int | FindText (const Text &substr, int start=0) const throw () |
Word | Hash () const throw () |
Text | WordWrap (const Text &prefix="", unsigned int columns=70) const throw () |
Text | PadLeft (unsigned int toLen, const Text &padding=" ") const throw () |
Text | PadRight (unsigned int toLen, const Text &padding=" ") const throw () |
Static Public Member Functions | |
static bool | GCImpl () throw () |
Protected Attributes | |
const char * | s |
Friends | |
bool | operator== (const Text &t1, const Text &t2) throw () |
bool | operator!= (const Text &t1, const Text &t2) throw () |
bool | operator< (const Text &t1, const Text &t2) throw () |
bool | operator<= (const Text &t1, const Text &t2) throw () |
bool | operator> (const Text &t1, const Text &t2) throw () |
bool | operator>= (const Text &t1, const Text &t2) throw () |
Text | operator+ (const Text &t1, const Text &t2) throw () |
Text | operator+ (const char *str, const Text &t) throw () |
Text | operator+ (const Text &t, const char *str) throw () |
std::ostream & | operator<< (std::ostream &os, const Text &t) throw () |
|
|
|
Definition at line 55 of file TextCommon.C. References s. |
|
|
|
Definition at line 73 of file TextGC.C. References NEW_PTRFREE_ARRAY. |
|
Definition at line 60 of file TextCommon.C. |
|
Definition at line 65 of file TextCommon.C. |
|
Definition at line 70 of file TextCommon.C. |
|
|
|
|
|
|
Definition at line 99 of file TextCommon.C. References Length(), and max(). Referenced by ReposUI::filenameToVS(), HTMLQuote(), main(), MastershipInit1(), and VestaSourceSRPC_init_inner(). |
|
Definition at line 108 of file TextCommon.C. References Length(), and min(). Referenced by commandLineParsing(), SMultiPKFile::DeleteFile(), FS::RemoveSpecialArcs(), ReposUI::getMasterHintDir(), main(), and SRPC::split_name(). |
|
Definition at line 117 of file TextCommon.C. |
|
Definition at line 31 of file TextGC.C. Referenced by Atom::Atom(), and Atom::operator=(). |
|
Definition at line 166 of file TextCommon.C. References max(), RotateWord(), and s. Referenced by Source_Interval::Hash(), and TestHash(). |
|
Definition at line 57 of file Text.H. References s. |
|
|
Reimplemented in Atom. |
|
Reimplemented in Atom. |
|
Reimplemented in Atom. |
|
Reimplemented in Atom. |
|
Definition at line 111 of file Text.H. References s. |
|
Definition at line 370 of file TextCommon.C. Referenced by TestPad(). |
|
Definition at line 389 of file TextCommon.C. |
|
Definition at line 75 of file TextCommon.C. References Length(), NEW_PTRFREE_ARRAY, and s. Referenced by commandLineParsing(), CacheS::CommitChkpt(), SMultiPKFile::DeleteFile(), Error(), ReposUI::filenameToVS(), FS::RemoveSpecialArcs(), ReposUI::getMasterHintDir(), HTMLQuote(), Lookup(), ReposUI::lookupCreatePath(), LookupPath(), main(), ModelPath(), ParseImports::P(), ParseImports::ResolvePath(), Char_Buff::pop(), ReplicateMissing(), SRPC::split_name(), SplitPath(), stripPrefix(), Sub(), VestaSourceSRPC::Start(), RecursiveStats::visit(), ReposUI::vsToFilename(), and vsToFilename(). |
|
Definition at line 286 of file TextCommon.C. References Length(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 172 of file Text.H. Referenced by Atom::Atom(), cchars(), chars(), Empty(), Hash(), Atom::Init(), Init(), operator[](), PadLeft(), PadRight(), FV::T::Recv(), Sub(), and Text(). |