MCPcopy Create free account
hub / github.com/colmap/colmap / OIIOFromStdStringView

Function OIIOFromStdStringView

src/colmap/sensor/bitmap.cc:63–65  ·  view source on GitHub ↗

For backwards compatibility with older OIIO versions without implicit conversion from std::string_view.

Source from the content-addressed store, hash-verified

61// For backwards compatibility with older OIIO versions without implicit
62// conversion from std::string_view.
63OIIO::string_view OIIOFromStdStringView(std::string_view value) {
64 return {value.data(), value.size()};
65}
66
67// Convert a filesystem path to a UTF-8 std::string. On Windows,
68// path.string() returns a locale-dependent narrow string, which mangles

Callers 4

ConvertColorSpaceFunction · 0.85
WriteMethod · 0.85
SetMetaDataMethod · 0.85
GetMetaDataMethod · 0.85

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected