string_t Class Reference
Detailed DescriptionDefinition at line 192 of file string.hpp. Member Typedef Documentation◆ const_iterator
Definition at line 203 of file string.hpp. ◆ const_pointer
Definition at line 197 of file string.hpp. ◆ const_reference
Definition at line 199 of file string.hpp. ◆ const_reverse_iterator
Definition at line 205 of file string.hpp. ◆ difference_type
Definition at line 201 of file string.hpp. ◆ iterator
Definition at line 202 of file string.hpp. ◆ pointer
Definition at line 196 of file string.hpp. ◆ reference
Definition at line 198 of file string.hpp. ◆ reverse_iterator
Definition at line 204 of file string.hpp. ◆ size_type
Definition at line 200 of file string.hpp. ◆ value_type
Definition at line 195 of file string.hpp. Constructor & Destructor Documentation◆ string_t() [1/7]
Constructs an empty string. Definition at line 256 of file string.hpp. ◆ string_t() [2/7]Copy constructor. Definition at line 261 of file string.hpp. ◆ string_t() [3/7]Move constructor. Definition at line 266 of file string.hpp. ◆ string_t() [4/7]
◆ string_t() [5/7]
◆ string_t() [6/7]
Constructs a string_t from a generic sequence.
Definition at line 290 of file string.hpp. ◆ string_t() [7/7]
◆ ~string_t()
Destructor. Definition at line 303 of file string.hpp. Member Function Documentation◆ append() [1/5]
Appends a character sequence to the end of the string Definition at line 339 of file string.hpp. ◆ append() [2/5]
Appends another string this one Definition at line 354 of file string.hpp. ◆ append() [3/5]
Appends null-terminated char sequence to the string Definition at line 360 of file string.hpp. ◆ append() [4/5]
Appends a number of characters from a sequence to the string Definition at line 366 of file string.hpp. ◆ append() [5/5]
Appends the contents of a std::string to the string Definition at line 372 of file string.hpp. ◆ begin()
Returns an iterator to the first element of the string. Definition at line 396 of file string.hpp. ◆ c_str()
Returns const pointer to a regular C string, identical to the string_t. The returned string is null-terminated. Definition at line 327 of file string.hpp. ◆ capacity()
Returns the size of the allocated storage space for the elements of the string. ◆ clear()
Changes the string to be zero-length. Definition at line 433 of file string.hpp. ◆ empty()
Returns true if the string has no elements, false otherwise. Definition at line 445 of file string.hpp. ◆ end()
Returns an iterator just past the end of the string. Definition at line 402 of file string.hpp. ◆ operator bool()
Returns true if the string is not empty, false otherwise. Definition at line 451 of file string.hpp. ◆ operator std::string()
Conversion operator to std::string. Definition at line 320 of file string.hpp. ◆ operator+=() [1/3]Appends another string this one Definition at line 378 of file string.hpp. ◆ operator+=() [2/3]
Appends null-terminated char sequence to the string Definition at line 384 of file string.hpp. ◆ operator+=() [3/3]
Appends the contents of a std::string to the string Definition at line 390 of file string.hpp. ◆ operator=()Assignment operator. Definition at line 309 of file string.hpp. ◆ push_back()
Appends one element to the end of the string. ◆ rbegin()
Returns a reverse_iterator to the end of the current string. Definition at line 408 of file string.hpp. ◆ rend()
Returns a reverse_iterator to the beginning of the current string. Definition at line 414 of file string.hpp. ◆ reserve()
Requests that the capacity of the allocated storage space for the elements of the string be at least enough to hold n elements. Definition at line 427 of file string.hpp. ◆ size()
Returns the number of elements in the current string. Definition at line 439 of file string.hpp. ◆ swap()
Exchanges the elements of the current string with those of from s. Definition at line 456 of file string.hpp. Friends And Related Function Documentation◆ operator<Definition at line 464 of file string.hpp. ◆ operator==Definition at line 459 of file string.hpp. ◆ swapDefinition at line 469 of file string.hpp. |