cesium-native  0.41.0
CesiumGltf::MetadataConversions< std::string, bool > Struct Reference

Converts from a boolean to a string. More...

#include <CesiumGltf/MetadataConversions.h>

Static Public Member Functions

static std::optional< std::string > convert (bool from)
 Converts a boolean to a std::string. Returns "true" for true and "false" for false. More...
 

Detailed Description

Converts from a boolean to a string.

Definition at line 578 of file MetadataConversions.h.

Member Function Documentation

◆ convert()

static std::optional<std::string> CesiumGltf::MetadataConversions< std::string, bool >::convert ( bool  from)
inlinestatic

Converts a boolean to a std::string. Returns "true" for true and "false" for false.

Parameters
fromThe boolean to be converted.

Definition at line 585 of file MetadataConversions.h.


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