Clear the string - reset its length to zero */
| 341 | |
| 342 | /** Clear the string - reset its length to zero */ |
| 343 | void Clear () { |
| 344 | length = 0; |
| 345 | data[0] = '\0'; |
| 346 | |
| 347 | #ifdef ASSIMP_BUILD_DEBUG |
| 348 | // Debug build: overwrite the string on its full length with ESC (27) |
| 349 | memset(data+1,27,MAXLEN-1); |
| 350 | #endif |
| 351 | } |
| 352 | |
| 353 | /** Returns a pointer to the underlying zero-terminated array of characters */ |
| 354 | const char* C_Str() const { |
nothing calls this directly
no outgoing calls
no test coverage detected