MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / SetStr

Method SetStr

src/xml/tinyxml2.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102
103void StrPair::SetStr( const char* str, int flags ) {
104 Reset();
105 size_t len = strlen( str );
106 _start = new char[ len+1 ];
107 memcpy( _start, str, len+1 );
108 _end = _start + len;
109 _flags = flags | NEEDS_DELETE;
110}
111
112
113char* StrPair::ParseText( char* p, const char* endTag, int strFlags ) {

Callers 3

SetValueMethod · 0.80
SetNameMethod · 0.80
SetAttributeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected