#include <stlsoft/iterators/cstring_concatenator_iterator.hpp>
C | The character type of the C-string |
Member Types | |
typedef C | char_type |
typedef size_t | size_type |
typedef cstring_concatenator_iterator < C > | class_type |
Public Member Functions | |
Construction | |
cstring_concatenator_iterator (char_type *dest, size_type *pNumWritten=NULL) | |
Creates an instance of the cstring_concatenator_iterator from the given c-string pointer. | |
Iteration | |
class_type & | operator++ () |
Pre-increment operator. | |
class_type & | operator++ (int) |
Post-increment operator. | |
deref_proxy | operator* () |
Dereference operator. | |
Classes | |
class | deref_proxy |
cstring_concatenator_iterator | ( | char_type * | dest, | |
size_type * | pNumWritten = NULL | |||
) | [inline, explicit] |
Creates an instance of the cstring_concatenator_iterator from the given c-string pointer.
dest | The C-string which in which will be written the results of the application of the iterator's dereference. May not be NULL | |
pNumWritten | An optional paramter to receive a count of how many bytes were written by the iterator. Note: the variable pointed to by this parameter is not set to 0 by the concatenator class. It must be initialised by the caller. | |
pNumWritten | Pointer to an unsigned integer that receives the number of characters written by the iterator, or NULL if not required |
References STLSOFT_ASSERT.
class_type& operator++ | ( | ) | [inline] |
Pre-increment operator.
class_type& operator++ | ( | int | ) | [inline] |
Post-increment operator.
deref_proxy operator* | ( | ) | [inline] |
Dereference operator.