Maze Builder Docs 8.10.23
Loading...
Searching...
No Matches
mazes::processed_text Class Referencefinal

Class for managing processed text resources. More...

#include <processed_text.h>

Public Member Functions

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 Public Member Functions

static std::string to_string (const artifacts &artifact) noexcept

Detailed Description

Class for managing processed text resources.

Member Function Documentation

◆ 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
svThe 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
anythingThe artifact to set as processed

The documentation for this class was generated from the following file: