git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / haxe / io / Output.h

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

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

HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Encoding)
HX_DECLARE_CLASS2(haxe,io,Output)

namespace haxe{
namespace io{


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

	public:
		enum { _hx_ClassId = 0x0a55a26d };

		void __construct();
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.io.Output")
			{ return ::hx::Object::operator new(inSize,inContainer,inName); }
		inline void *operator new(size_t inSize, int extra)
			{ return ::hx::Object::operator new(inSize+extra,false,"haxe.io.Output"); }

		inline static ::hx::ObjectPtr< Output_obj > __new() {
			::hx::ObjectPtr< Output_obj > __this = new Output_obj();
			__this->__construct();
			return __this;
		}

		inline static ::hx::ObjectPtr< Output_obj > __alloc(::hx::Ctx *_hx_ctx) {
			Output_obj *__this = (Output_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Output_obj), false, "haxe.io.Output"));
			*(void **)__this = Output_obj::_hx_vtable;
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Output_obj();

		HX_DO_RTTI_ALL;
		::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
		static void __register();
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("Output",21,83,15,41); }

		virtual void writeByte(int c);
		::Dynamic writeByte_dyn();

		virtual int writeBytes( ::haxe::io::Bytes s,int pos,int len);
		::Dynamic writeBytes_dyn();

		virtual void close();
		::Dynamic close_dyn();

		void write( ::haxe::io::Bytes s);
		::Dynamic write_dyn();

		void writeFullBytes( ::haxe::io::Bytes s,int pos,int len);
		::Dynamic writeFullBytes_dyn();

		void prepare(int nbytes);
		::Dynamic prepare_dyn();

		void writeString(::String s, ::haxe::io::Encoding encoding);
		::Dynamic writeString_dyn();

};

} // end namespace haxe
} // end namespace io

#endif /* INCLUDED_haxe_io_Output */