git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / Reflect.h

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

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

HX_DECLARE_CLASS0(Reflect)



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

	public:
		enum { _hx_ClassId = 0x769a515d };

		void __construct();
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Reflect")
			{ 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,"Reflect"); }

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

		inline static ::hx::ObjectPtr< Reflect_obj > __alloc(::hx::Ctx *_hx_ctx) {
			Reflect_obj *__this = (Reflect_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Reflect_obj), false, "Reflect"));
			*(void **)__this = Reflect_obj::_hx_vtable;
			return __this;
		}

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

		HX_DO_RTTI_ALL;
		static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
		static void __register();
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("Reflect",1d,ac,7a,b6); }

		static bool hasField( ::Dynamic o,::String field);
		static ::Dynamic hasField_dyn();

		static  ::Dynamic field( ::Dynamic o,::String field);
		static ::Dynamic field_dyn();

		static void setField( ::Dynamic o,::String field, ::Dynamic value);
		static ::Dynamic setField_dyn();

		static  ::Dynamic getProperty( ::Dynamic o,::String field);
		static ::Dynamic getProperty_dyn();

		static  ::Dynamic callMethod( ::Dynamic o, ::Dynamic func,::cpp::VirtualArray args);
		static ::Dynamic callMethod_dyn();

		static ::Array< ::String > fields( ::Dynamic o);
		static ::Dynamic fields_dyn();

		static bool isFunction( ::Dynamic f);
		static ::Dynamic isFunction_dyn();

		static int compare( ::Dynamic a, ::Dynamic b);
		static ::Dynamic compare_dyn();

		static bool compareMethods( ::Dynamic f1, ::Dynamic f2);
		static ::Dynamic compareMethods_dyn();

		static bool isObject( ::Dynamic v);
		static ::Dynamic isObject_dyn();

		static bool isEnumValue( ::Dynamic v);
		static ::Dynamic isEnumValue_dyn();

		static bool deleteField( ::Dynamic o,::String field);
		static ::Dynamic deleteField_dyn();

		static  ::Dynamic copy( ::Dynamic o);
		static ::Dynamic copy_dyn();

};


#endif /* INCLUDED_Reflect */