#include <collect.h>
Public Member Functions | |
virtual | ~collect () |
collect () | |
collect (const collect &) | |
collect & | operator= (const collect &) |
void | append (wchar_t c) |
void | append (const wchar_t *s, size_t n) |
void | push_back (const wstring &s) |
wstring | end () |
Private Attributes | |
size_t | pos |
size_t | size |
wchar_t * | buf |
Definition at line 31 of file collect.h.
virtual collect::~collect | ( | ) | [virtual] |
The destructor.
collect::collect | ( | ) |
The default constructor.
collect::collect | ( | const collect & | ) |
The copy constructor.
void collect::append | ( | wchar_t | c | ) |
The append method is used to accumulate a string one character at a time. No size limit.
c | the character being collected |
void collect::append | ( | const wchar_t * | s, | |
size_t | n | |||
) |
The append method is used to accumulate a string several characters at a time. No size limit.
s | the character string to be appended | |
n | the number of characters to appended |
void collect::push_back | ( | const wstring & | s | ) |
The push_back method may be used to append the given wide string to the end of the buffer.
s | The string to append. |
wstring collect::end | ( | ) |
size_t collect::pos [private] |
size_t collect::size [private] |
wchar_t* collect::buf [private] |