HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdsiLegacyDisplayStyleOverrideSceneIndex::OptionalInt Struct Reference

A replacement for std::optional<int> that is not available until C++17. More...

#include <legacyDisplayStyleOverrideSceneIndex.h>

Public Member Functions

 operator bool () const
 
int operator* () const
 

Public Attributes

bool hasValue = false
 
int value = 0
 

Detailed Description

A replacement for std::optional<int> that is not available until C++17.

Definition at line 62 of file legacyDisplayStyleOverrideSceneIndex.h.

Member Function Documentation

HdsiLegacyDisplayStyleOverrideSceneIndex::OptionalInt::operator bool ( ) const
inline

Definition at line 67 of file legacyDisplayStyleOverrideSceneIndex.h.

int HdsiLegacyDisplayStyleOverrideSceneIndex::OptionalInt::operator* ( ) const
inline

Definition at line 68 of file legacyDisplayStyleOverrideSceneIndex.h.

Member Data Documentation

bool HdsiLegacyDisplayStyleOverrideSceneIndex::OptionalInt::hasValue = false

Definition at line 64 of file legacyDisplayStyleOverrideSceneIndex.h.

int HdsiLegacyDisplayStyleOverrideSceneIndex::OptionalInt::value = 0

Definition at line 65 of file legacyDisplayStyleOverrideSceneIndex.h.


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