cesium-native 0.62.0
Loading...
Searching...
No Matches
CesiumGltf::MetadataConversions< std::string, std::string_view > Struct Reference

Converts from a std::string_view to a std::string. More...

#include <CesiumGltf/MetadataConversions.h>

Static Public Member Functions

static std::optional< std::string > convert (const std::string_view &from)
 Converts from a std::string_view to a std::string.
 
static std::optional< std::string > convert (std::string_view)
 Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt.
 

Detailed Description

Converts from a std::string_view to a std::string.

Definition at line 630 of file MetadataConversions.h.

Member Function Documentation

◆ convert() [1/2]

static std::optional< std::string > CesiumGltf::MetadataConversions< std::string, std::string_view >::convert ( const std::string_view & from)
inlinestatic

Converts from a std::string_view to a std::string.

Definition at line 634 of file MetadataConversions.h.

◆ convert() [2/2]

static std::optional< std::string > CesiumGltf::MetadataConversions< std::string, std::string_view, void >::convert ( std::string_view )
inlinestatic

Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt.

Definition at line 26 of file MetadataConversions.h.


The documentation for this struct was generated from the following file: