git » swiftpm » main » tree

[main] / Sources / c_borogove / iinclude / borogove / CommandSession.h

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

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

HX_DECLARE_CLASS1(borogove,Command)
HX_DECLARE_CLASS1(borogove,CommandSession)
HX_DECLARE_CLASS1(borogove,Form)
HX_DECLARE_CLASS1(borogove,FormOption)
HX_DECLARE_CLASS1(borogove,FormSection)
HX_DECLARE_CLASS1(borogove,FormSubmitBuilder)
HX_DECLARE_CLASS1(thenshim,Thenable)

namespace borogove{


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

	public:
		enum { _hx_ClassId = 0x5964480c };

		void __construct(::String status,::String sessionid,::Array< ::Dynamic> actions,::Array< ::Dynamic> forms, ::borogove::Command command);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="borogove.CommandSession")
			{ 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,"borogove.CommandSession"); }
		static ::hx::ObjectPtr< CommandSession_obj > __new(::String status,::String sessionid,::Array< ::Dynamic> actions,::Array< ::Dynamic> forms, ::borogove::Command command);
		static ::hx::ObjectPtr< CommandSession_obj > __alloc(::hx::Ctx *_hx_ctx,::String status,::String sessionid,::Array< ::Dynamic> actions,::Array< ::Dynamic> forms, ::borogove::Command command);
		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~CommandSession_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);
		::String __ToString() const { return HX_("CommandSession",6b,f1,98,47); }

		static void __boot();
		static  ::Dynamic __meta__;
		::String name;
		::String name__fromC();
		::Dynamic name__fromC_dyn();

		::String status;
		::String status__fromC();
		::Dynamic status__fromC_dyn();

		::Array< ::Dynamic> actions;
		size_t actions__fromC(void*** outPtr);

		::Array< ::Dynamic> forms;
		size_t forms__fromC(void*** outPtr);

		::String sessionid;
		 ::borogove::Command command;
		::Dynamic execute(::String action, ::borogove::FormSubmitBuilder data,::hx::Null< int >  formIdx);
		::Dynamic execute_dyn();

		void execute__fromC(::String action, ::borogove::FormSubmitBuilder data,::hx::Null< int >  formIdx,::cpp::Function< void  (void*,void*) > handler,void* handler__context);

};

} // end namespace borogove

#endif /* INCLUDED_borogove_CommandSession */