MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / assign

Method assign

modules/core/core/src/string/OpenString/text.cpp:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void text::iterator::codepoint_accessor::assign(const codeunit_sequence_view& sequence_view) const noexcept
131 {
132 if(this->it_.is_valid())
133 {
134 this->it_.owner->sequence_.replace(sequence_view, it_.from, it_.size);
135 this->it_.size = sequence_view.size();
136 }
137 }
138
139 bool text::iterator::is_valid() const noexcept
140 {

Callers 4

text.cppFile · 0.45
Cubism_LogFunction · 0.45
_prepare_draw_dataMethod · 0.45
set_dataMethod · 0.45

Calls 3

is_validMethod · 0.45
replaceMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected