MCPcopy Create free account
hub / github.com/MITK/MITK / IsInternalProperty

Function IsInternalProperty

Modules/RESTAPI/src/mitkDataStorageBridge.cpp:279–283  ·  view source on GitHub ↗

* @brief Check if a property key is internal (starts with INTERNAL_PROPERTY_PREFIX). * * Internal properties are REST API metadata and should not be exposed to clients. * * @param key The property key to check. * @return true if the property is internal. */

Source from the content-addressed store, hash-verified

277 * @return true if the property is internal.
278 */
279 bool IsInternalProperty(const std::string& key)
280 {
281 // Check if key starts with INTERNAL_PROPERTY_PREFIX ("restapi.")
282 return key.rfind(mitk::DataStorageBridge::INTERNAL_PROPERTY_PREFIX, 0) == 0;
283 }
284
285}
286

Callers 5

GetNodePropertiesMethod · 0.85
GetNodePropertyMethod · 0.85
SetNodePropertyMethod · 0.85
DeleteNodePropertyMethod · 0.85
ReplaceNodePropertiesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected