text: // Copyright Raving Bots 2018-2021
  //
  // Distributed under the Boost Software License, Version 1.0.
  // (See accompanying file SDK-LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
  
  // <auto-generated>
  //     WARNING: This file has been generated automatically. Do not edit manually, changes will be lost.
  // </auto-generated>
  
  #pragma once
  
  #include <xsim/types.hpp>
  
  namespace xsim
  {
  	enum class VehicleDoorStateV1 : int32_t
  	{
  		Closed = INT32_C(0),
  		Open = INT32_C(1)
  	};
  }
  
  static_assert(
  	std::is_standard_layout<::xsim::VehicleDoorStateV1>::value,
  	"SDK bug: TypeEnum VehicleDoorStateV1 not standard layout"
  );
  
  namespace fmt
  {
  	template <typename Char>
  	struct formatter<::xsim::VehicleDoorStateV1, Char>
  	{
  		template <typename ParseContext>
  		constexpr auto parse(ParseContext& ctx)
  		{
  			return ctx.begin();
  		}
  
  		template <typename FormatContext>
  		auto format(const ::xsim::VehicleDoorStateV1& value, FormatContext& ctx)
  		{
  			switch (value)
  			{
  				case ::xsim::VehicleDoorStateV1::Closed:
  				{
  					return format_to(ctx.out(), XSIM_FMT_LITERAL("VehicleDoorStateV1(Closed)"));
  				}
  				case ::xsim::VehicleDoorStateV1::Open:
  				{
  					return format_to(ctx.out(), XSIM_FMT_LITERAL("VehicleDoorStateV1(Open)"));
  				}
  				default:
  				{
  					return format_to(ctx.out(), XSIM_FMT_LITERAL("VehicleDoorStateV1({})"), static_cast<uintmax_t>(value));
  				}
  			}
  		}
  	};
  }
  