MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / iModelStateFromString

Function iModelStateFromString

CesiumITwinClient/src/IModel.cpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5namespace CesiumITwinClient {
6IModelState iModelStateFromString(const std::string& str) {
7 if (str == "initialized") {
8 return IModelState::Initialized;
9 } else if (str == "notInitialized") {
10 return IModelState::NotInitialized;
11 }
12
13 return IModelState::Unknown;
14}
15} // namespace CesiumITwinClient

Callers 1

Connection.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected