|
Aegis
4.25.D505
|
#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 |
The collect class is used to represent an accumulated wide character string.
| 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 |
| wstring collect::end | ( | ) |
The end method is used to fetch the string accumulated with the collect function. The buffer is cleared.
| 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. |
wchar_t* collect::buf [private] |
size_t collect::pos [private] |
size_t collect::size [private] |
1.7.6.1