|
| string_base (size_type max_size_) |
| Constructor.
|
|
void | set_truncated (bool status) |
| Sets the 'truncated' flag.
|
|
| ~string_base () |
| Destructor.
|
|
|
size_type | current_size |
| The current number of elements in the string.
|
|
const size_type | CAPACITY |
| The maximum number of elements in the string.
|
|
etl::flags< uint_least8_t > | flags |
|
◆ available()
size_type etl::string_base::available |
( |
| ) |
const |
|
inline |
Returns the remaining capacity.
- Returns
- The remaining capacity.
◆ capacity()
size_type etl::string_base::capacity |
( |
| ) |
const |
|
inline |
Returns the capacity of the string.
- Returns
- The capacity of the string.
◆ empty()
bool etl::string_base::empty |
( |
| ) |
const |
|
inline |
Checks the 'empty' state of the string.
- Returns
- true if empty.
◆ full()
bool etl::string_base::full |
( |
| ) |
const |
|
inline |
Checks the 'full' state of the string.
- Returns
- true if full.
◆ is_truncated()
bool etl::string_base::is_truncated |
( |
| ) |
const |
|
inline |
Returns whether the string was truncated by the last operation.
- Returns
- Whether the string was truncated by the last operation.
◆ length()
size_type etl::string_base::length |
( |
| ) |
const |
|
inline |
Gets the current size of the string.
- Returns
- The current size of the string.
◆ max_size()
size_type etl::string_base::max_size |
( |
| ) |
const |
|
inline |
Returns the maximum possible size of the string.
- Returns
- The maximum size of the string.
◆ size()
size_type etl::string_base::size |
( |
| ) |
const |
|
inline |
Gets the current size of the string.
- Returns
- The current size of the string.
◆ truncated()
ETL_DEPRECATED bool etl::string_base::truncated |
( |
| ) |
const |
|
inline |
Returns whether the string was truncated by the last operation. Deprecated. Use is_truncated()
- Returns
- Whether the string was truncated by the last operation.
The documentation for this class was generated from the following file: