git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / thenshim / fallback / FallbackPromiseFactory.h

// Generated by Haxe 4.3.3
#ifndef INCLUDED_thenshim_fallback_FallbackPromiseFactory
#define INCLUDED_thenshim_fallback_FallbackPromiseFactory

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

#ifndef INCLUDED_thenshim_PromiseFactory
#include <thenshim/PromiseFactory.h>
#endif
HX_DECLARE_CLASS1(thenshim,PromiseFactory)
HX_DECLARE_CLASS1(thenshim,Thenable)
HX_DECLARE_CLASS2(thenshim,fallback,FallbackPromiseFactory)
HX_DECLARE_CLASS2(thenshim,fallback,TaskScheduler)

namespace thenshim{
namespace fallback{


class HXCPP_CLASS_ATTRIBUTES FallbackPromiseFactory_obj : public ::hx::Object
{
	public:
		typedef ::hx::Object super;
		typedef FallbackPromiseFactory_obj OBJ_;
		FallbackPromiseFactory_obj();

	public:
		enum { _hx_ClassId = 0x592d0d49 };

		void __construct();
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="thenshim.fallback.FallbackPromiseFactory")
			{ return ::hx::Object::operator new(inSize,inContainer,inName); }
		inline void *operator new(size_t inSize, int extra)
			{ return ::hx::Object::operator new(inSize+extra,true,"thenshim.fallback.FallbackPromiseFactory"); }
		static ::hx::ObjectPtr< FallbackPromiseFactory_obj > __new();
		static ::hx::ObjectPtr< FallbackPromiseFactory_obj > __alloc(::hx::Ctx *_hx_ctx);
		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~FallbackPromiseFactory_obj();

		HX_DO_RTTI_ALL;
		::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
		::hx::Val __SetField(const ::String &inString,const ::hx::Val &inValue, ::hx::PropertyAccess inCallProp);
		void __GetFields(Array< ::String> &outFields);
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		bool _hx_isInstanceOf(int inClassId);
		void *_hx_getInterface(int inHash);
		::String __ToString() const { return HX_("FallbackPromiseFactory",51,a0,67,b6); }

		 ::thenshim::fallback::TaskScheduler scheduler;
		::Dynamic make( ::Dynamic executor);
		::Dynamic make_dyn();

		::Dynamic asResolved( ::Dynamic object);
		::Dynamic asResolved_dyn();

		::Dynamic asResolvedThenable(::Dynamic thenable);
		::Dynamic asResolvedThenable_dyn();

		::Dynamic asResolvedThenProperty( ::Dynamic object);
		::Dynamic asResolvedThenProperty_dyn();

		::Dynamic asRejected( ::Dynamic reason);
		::Dynamic asRejected_dyn();

};

} // end namespace thenshim
} // end namespace fallback

#endif /* INCLUDED_thenshim_fallback_FallbackPromiseFactory */