|
OpenTTD Source 20260304-master-g1baaa74679
|
Implementation of std::back_insert_iterator for non-growing destination buffer. More...
#include <string_inplace.hpp>
Public Types | |
| using | value_type = void |
| C++ specification trait 'value_type' of std::back_insert_iterator. | |
| using | difference_type = void |
| C++ specification trait 'difference_type' of std::back_insert_iterator. | |
| using | iterator_category = std::output_iterator_tag |
| C++ specification trait 'iterator_category' of std::back_insert_iterator. | |
| using | pointer = void |
| C++ specification trait 'pointer' of std::back_insert_iterator. | |
| using | reference = void |
| C++ specification trait 'reference' of std::back_insert_iterator. | |
Public Member Functions | |
| back_insert_iterator (InPlaceBuilder &parent) | |
| Create the iterator. | |
| back_insert_iterator & | operator++ () |
| back_insert_iterator | operator++ (int) |
| back_insert_iterator & | operator* () |
| back_insert_iterator & | operator= (char value) |
Private Attributes | |
| InPlaceBuilder * | parent = nullptr |
| The builder we belong to. | |
Implementation of std::back_insert_iterator for non-growing destination buffer.
Definition at line 73 of file string_inplace.hpp.
C++ specification trait 'difference_type' of std::back_insert_iterator.
Definition at line 77 of file string_inplace.hpp.
| using InPlaceBuilder::back_insert_iterator::iterator_category = std::output_iterator_tag |
C++ specification trait 'iterator_category' of std::back_insert_iterator.
Definition at line 78 of file string_inplace.hpp.
| using InPlaceBuilder::back_insert_iterator::pointer = void |
C++ specification trait 'pointer' of std::back_insert_iterator.
Definition at line 79 of file string_inplace.hpp.
| using InPlaceBuilder::back_insert_iterator::reference = void |
C++ specification trait 'reference' of std::back_insert_iterator.
Definition at line 80 of file string_inplace.hpp.
| using InPlaceBuilder::back_insert_iterator::value_type = void |
C++ specification trait 'value_type' of std::back_insert_iterator.
Definition at line 76 of file string_inplace.hpp.
|
inline |
Create the iterator.
| parent | The builder to insert data to. |
Definition at line 86 of file string_inplace.hpp.
References InPlaceBuilder::InPlaceBuilder(), and parent.
|
inline |
Definition at line 90 of file string_inplace.hpp.
|
inline |
Definition at line 88 of file string_inplace.hpp.
|
inline |
Definition at line 89 of file string_inplace.hpp.
|
inline |
Definition at line 92 of file string_inplace.hpp.
|
private |
The builder we belong to.
Definition at line 74 of file string_inplace.hpp.
Referenced by back_insert_iterator().