git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / snikket / StanzaError.h

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

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

HX_DECLARE_STACK_FRAME(_hx_pos_ba7467be1e1fd22b_75_new)
HX_DECLARE_CLASS1(snikket,StanzaError)

namespace snikket{


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

	public:
		enum { _hx_ClassId = 0x29697ad6 };

		void __construct(::String type_,::String condition_,::String text_);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="snikket.StanzaError")
			{ 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,"snikket.StanzaError"); }

		inline static ::hx::ObjectPtr< StanzaError_obj > __new(::String type_,::String condition_,::String text_) {
			::hx::ObjectPtr< StanzaError_obj > __this = new StanzaError_obj();
			__this->__construct(type_,condition_,text_);
			return __this;
		}

		inline static ::hx::ObjectPtr< StanzaError_obj > __alloc(::hx::Ctx *_hx_ctx,::String type_,::String condition_,::String text_) {
			StanzaError_obj *__this = (StanzaError_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(StanzaError_obj), true, "snikket.StanzaError"));
			*(void **)__this = StanzaError_obj::_hx_vtable;
{
            	HX_STACKFRAME(&_hx_pos_ba7467be1e1fd22b_75_new)
HXLINE(  76)		( ( ::snikket::StanzaError)(__this) )->type = type_;
HXLINE(  77)		( ( ::snikket::StanzaError)(__this) )->condition = condition_;
HXLINE(  78)		( ( ::snikket::StanzaError)(__this) )->text = text_;
            	}
		
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~StanzaError_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_("StanzaError",73,bd,30,0b); }

		::String type;
		::String condition;
		::String text;
};

} // end namespace snikket

#endif /* INCLUDED_snikket_StanzaError */