MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / SetUserData

Method SetUserData

lesson7-Detection/src/utils/tinyxml.h:247–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 int Column() const { return location.col + 1; } ///< See Row()
246
247 void SetUserData( void* user ) { userData = user; } ///< Set a pointer to arbitrary user data.
248 void* GetUserData() { return userData; } ///< Get a pointer to arbitrary user data.
249 const void* GetUserData() const { return userData; } ///< Get a pointer to arbitrary user data.
250

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected