MCPcopy Create free account
hub / github.com/PDAL/PDAL / toUString

Function toUString

plugins/e57/libE57Format/src/E57XmlParser.cpp:96–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 ustring toUString( const XMLCh *const xml_str )
97 {
98 ustring u_str;
99 if ( ( xml_str != nullptr ) && *xml_str )
100 {
101 TranscodeToStr UTF8Transcoder( xml_str, "UTF-8" );
102 u_str = ustring( reinterpret_cast<const char *>( UTF8Transcoder.str() ) );
103 }
104 return ( u_str );
105 }
106
107 ustring lookupAttribute( const Attributes &attributes, const XMLCh *attribute_name )
108 {

Callers 4

lookupAttributeFunction · 0.85
startElementMethod · 0.85
endElementMethod · 0.85
charactersMethod · 0.85

Calls 1

strMethod · 0.80

Tested by

no test coverage detected