MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / SetStringHandle

Method SetStringHandle

src/ObjectModel/ObjectModel.h:150–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 void SetDriverId(DriverId did) noexcept;
149
150 void SetStringHandle(StringHandle sh) noexcept { Release(); type = (uint32_t)TypeCode::HeapString; shVal = sh; }
151 void SetArrayHandle(ArrayHandle ah) noexcept { Release(); type = (uint32_t)TypeCode::HeapArray; ahVal = ah; }
152 void SetNull(std::nullptr_t dummy) noexcept { Release(); type = (uint32_t)TypeCode::None; }
153 void SetDateTime(time_t t) noexcept { Release(); type = (uint32_t)TypeCode::DateTime_tc; Set56BitValue(t); }

Callers 5

THROWSFunction · 0.80
StringConcatMethod · 0.80
THROWSFunction · 0.80
ConvertToStringMethod · 0.80
THROWSFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected