Class for managing processed text resources.
More...
#include <processed_text.h>
|
| artifacts | get () const noexcept |
| | Gets the processed artifact.
|
| void | set_processed (artifacts anything) noexcept |
| | Sets the processed artifact.
|
| bool | set (const std::string_view sv) noexcept |
| | Sets the processed artifact from a string view.
|
| bool | is_processed () const noexcept |
| | Checks if the processed artifact is finalized - empty or null.
|
|
|
static std::string | to_string (const artifacts &artifact) noexcept |
Class for managing processed text resources.
◆ get()
| artifacts mazes::processed_text::get |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Gets the processed artifact.
- Returns
- The processed artifact
◆ is_processed()
| bool mazes::processed_text::is_processed |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Checks if the processed artifact is finalized - empty or null.
finalized artifacts are considered non-empty or don't care
- Returns
- True if the processed artifact is finalized, false otherwise
◆ set()
| bool mazes::processed_text::set |
( |
const std::string_view | sv | ) |
|
|
inlinenoexcept |
Sets the processed artifact from a string view.
- Parameters
-
| sv | The string view to set as processed |
- Returns
- True on success
◆ set_processed()
| void mazes::processed_text::set_processed |
( |
artifacts | anything | ) |
|
|
inlinenoexcept |
Sets the processed artifact.
- Parameters
-
| anything | The artifact to set as processed |
The documentation for this class was generated from the following file: