cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltf::MetadataConversions< TTo, TFrom, Enable > Struct Template Reference

Default conversion between two types. No actual conversion is defined. This returns std::nullopt to indicate the conversion was not successful. More...

#include <CesiumGltf/MetadataConversions.h>

Static Public Member Functions

static std::optional< TTo > convert (TFrom)
 Converts between TFrom and TTo where no actual conversion is defined, returning std::nullopt.
 

Detailed Description

template<typename TTo, typename TFrom, typename Enable = void>
struct CesiumGltf::MetadataConversions< TTo, TFrom, Enable >

Default conversion between two types. No actual conversion is defined. This returns std::nullopt to indicate the conversion was not successful.

Definition at line 29 of file MetadataConversions.h.

Member Function Documentation

◆ convert()

template<typename TTo , typename TFrom , typename Enable = void>
static std::optional< TTo > CesiumGltf::MetadataConversions< TTo, TFrom, Enable >::convert ( TFrom )
inlinestatic

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

Definition at line 34 of file MetadataConversions.h.


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