String Buffer for repeated I/O purpose.
String Buffer for repeated I/O purpose.This class consists of original buffer area (SubString original), reader-head (char* head) and writer-head (char* tail). The pair of reader-/writer-head (head and tail) is also a SubString.
If forcep = True, then it allocate even if the more size
has been allocated for this buffer.
Bool alloc(const UInt l, Bool forcep = True)
void clear()
void rewindRead()
void rewindWrite()
UInt size() const
Buffer& operator=(const Buffer& src)
Buffer& set(const Buffer& src)
Buffer& set(const SubString& src)
SubString used() const
UInt usedLength() const
SubString body() const
UInt bodyLength() const
SubString rest() const
UInt restLength() const
char putCharSafe(const char c)
istrstream* newIStrStream()
void deleteIStrStream(istrstream * istr)
ostrstream* newOStrStream()
void deleteOStrStream(ostrstream * ostr)
void describe(ostream& o, Bool detailp = True) const
Alphabetic index HTML クラス階層 or Java