#include <xtl_container_impl.h>
Inheritance diagram for xtl_text_container_impl:

StringT std::string
Definition at line 58 of file xtl_container_impl.h.
Protected Types | |
| typedef StringT | string_T |
| Defines type of encapsulated string. | |
| typedef string_T::value_type | char_T |
| Defines type of encapsulated character. | |
Protected Member Functions | |
| xtl_text_container_impl (size_t vector_size_) | |
Constructs xtl_text_container_impl and sets initial identity vector size. | |
| xtl_text_container_impl (char_T const *pchar_, size_t vector_size_) | |
Constructs xtl_text_container_impl, sets user text and initial identity vector size. | |
| xtl_text_container_impl (StringT const &str_, size_t vector_size_) | |
Constructs xtl_text_container_impl, sets user text and initial identity vector size. | |
| void | identity_zero_all () |
| Sets positions of all identities to zero offset. | |
| size_t | line_2_offset (int line_) const |
| Converts line number to offset. | |
| size_t | offset_2_line (size_t offset_) const |
Converts specified offset_ to the line number. | |
| size_t | offset_2_next_line_offset (size_t offset_) const |
Converts specified offset_ to the offset of the next line home offset. | |
| size_t | offset_2_line_home_offset (size_t offset_) const |
| Converts specified offset_ to the offset of the current line home offset. | |
| size_t | offset_2_line_end_offset (size_t offset_) const |
Converts specified offset_ to the offset of the current line end offset. | |
Protected Attributes | |
| StringT | m_client_str |
| Stores string containing user input. | |
| std::vector< size_t > | m_offset_stack |
| Stores general purpose offset stack. | |
| std::vector< size_t > | m_identity_vector |
| Stores vector of offset identities. | |
|
|
Constructs
Definition at line 85 of file xtl_container_impl.h. |
|
|
Converts line number to offset.
Definition at line 146 of file xtl_container_impl.h. |
|
|
Converts specified
Definition at line 164 of file xtl_container_impl.h. |
|
|
Converts specified Complexity: linear. The following diagram demonstrates how line numbers are calculated: one\r\ntwo
111----222-
B E B E
Definition at line 220 of file xtl_container_impl.h. |
|
|
Converts specified offset_ to the offset of the current line home offset.
Definition at line 197 of file xtl_container_impl.h. |
|
|
Converts specified
Definition at line 177 of file xtl_container_impl.h. |
1.3.9.1