cesium-native 0.62.0
Loading...
Searching...
No Matches
CesiumGltf::TypeToPropertyType< int64_t > Struct Reference

Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...

#include <CesiumGltf/PropertyTypeTraits.h>

Static Public Attributes

static constexpr PropertyComponentType component
 The PropertyComponentType corresponding to an int64_t.
 
static constexpr PropertyType value = PropertyType::Scalar
 The PropertyType corresponding to an int64_t.
 

Detailed Description

Infer the best-fitting PropertyType and PropertyComponentType for a C++ type.

Note that this cannot infer whether an integer is actually an PropertyType::Enum, since the enum definition is separate from the PropertyType. It is on the runtime to refer to the original class property definition, and check whether there is an associated CesiumGltf::ClassProperty::enumType.

Definition at line 281 of file PropertyTypeTraits.h.

Member Data Documentation

◆ component

PropertyComponentType CesiumGltf::TypeToPropertyType< int64_t >::component
staticconstexpr
Initial value:
=
@ Int64
A property component equivalent to an int64_t.

The PropertyComponentType corresponding to an int64_t.

Definition at line 283 of file PropertyTypeTraits.h.

◆ value

The PropertyType corresponding to an int64_t.

Definition at line 286 of file PropertyTypeTraits.h.


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