Monado OpenXR Runtime
Loading...
Searching...
No Matches
u_str_to_enum.h File Reference

String to enum conversion for XRT enums. More...

#include "xrt/xrt_defines.h"
Include dependency graph for u_str_to_enum.h:

Go to the source code of this file.

Functions

bool u_str_to_xrt_input_name (const char *str, enum xrt_input_name *out_name)
 Parse an xrt_input_name from its string representation.
 
bool u_str_to_xrt_output_name (const char *str, enum xrt_output_name *out_name)
 Parse an xrt_output_name from its string representation.
 
enum xrt_input_name u_str_to_xrt_input_name_or_default (const char *str)
 Parse an xrt_input_name from its string representation.
 
enum xrt_output_name u_str_to_xrt_output_name_or_default (const char *str)
 Parse an xrt_output_name from its string representation.
 

Detailed Description

String to enum conversion for XRT enums.

Author
Jakob Bornecrantz tborn.nosp@m.ecra.nosp@m.ntz@n.nosp@m.vidi.nosp@m.a.com