MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Set

Method Set

Externals/Assimp-3.1.1/include/types.h:286–293  ·  view source on GitHub ↗

Copy a std::string to the aiString */

Source from the content-addressed store, hash-verified

284
285 /** Copy a std::string to the aiString */
286 void Set( const std::string& pString) {
287 if( pString.length() > MAXLEN - 1) {
288 return;
289 }
290 length = pString.length();
291 memcpy( data, pString.c_str(), length);
292 data[length] = 0;
293 }
294
295 /** Copy a const char* to the aiString */
296 void Set( const char* sz) {

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected