// Generated by Haxe 4.0.5 #ifndef INCLUDED_haxe_io_Input #define INCLUDED_haxe_io_Input #ifndef HXCPP_H #include #endif HX_DECLARE_CLASS2(haxe,io,Bytes) HX_DECLARE_CLASS2(haxe,io,Encoding) HX_DECLARE_CLASS2(haxe,io,Input) namespace haxe{ namespace io{ class HXCPP_CLASS_ATTRIBUTES Input_obj : public hx::Object { public: typedef hx::Object super; typedef Input_obj OBJ_; Input_obj(); public: enum { _hx_ClassId = 0x5c18cd32 }; void __construct(); inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.io.Input") { 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.Input"); } inline static hx::ObjectPtr< Input_obj > __new() { hx::ObjectPtr< Input_obj > __this = new Input_obj(); __this->__construct(); return __this; } inline static hx::ObjectPtr< Input_obj > __alloc(hx::Ctx *_hx_ctx) { Input_obj *__this = (Input_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Input_obj), false, "haxe.io.Input")); *(void **)__this = Input_obj::_hx_vtable; return __this; } static void * _hx_vtable; static Dynamic __CreateEmpty(); static Dynamic __Create(hx::DynamicArray inArgs); //~Input_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(); bool _hx_isInstanceOf(int inClassId); ::String __ToString() const { return HX_("Input",ea,33,4b,51); } bool bigEndian; virtual int readByte(); ::Dynamic readByte_dyn(); virtual int readBytes( ::haxe::io::Bytes s,int pos,int len); ::Dynamic readBytes_dyn(); virtual void close(); ::Dynamic close_dyn(); void readFullBytes( ::haxe::io::Bytes s,int pos,int len); ::Dynamic readFullBytes_dyn(); ::haxe::io::Bytes read(int nbytes); ::Dynamic read_dyn(); ::String readLine(); ::Dynamic readLine_dyn(); int readInt16(); ::Dynamic readInt16_dyn(); int readUInt16(); ::Dynamic readUInt16_dyn(); int readInt32(); ::Dynamic readInt32_dyn(); ::String readString(int len, ::haxe::io::Encoding encoding); ::Dynamic readString_dyn(); }; } // end namespace haxe } // end namespace io #endif /* INCLUDED_haxe_io_Input */