git » swiftpm » main » tree

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

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

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

HX_DECLARE_CLASS0(Xml)
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,StringMap)



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

	public:
		enum { _hx_ClassId = 0x7ee76a4b };

		void __construct(int nodeType);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="Xml")
			{ 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,"Xml"); }
		static ::hx::ObjectPtr< Xml_obj > __new(int nodeType);
		static ::hx::ObjectPtr< Xml_obj > __alloc(::hx::Ctx *_hx_ctx,int nodeType);
		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Xml_obj();

		HX_DO_RTTI_ALL;
		::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
		static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
		::hx::Val __SetField(const ::String &inString,const ::hx::Val &inValue, ::hx::PropertyAccess inCallProp);
		static bool __SetStatic(const ::String &inString, Dynamic &ioValue, ::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_("Xml",b7,25,43,00); }

		static void __boot();
		static int Element;
		static int Document;
		static  ::Xml createElement(::String name);
		static ::Dynamic createElement_dyn();

		int nodeType;
		::String nodeName;
		::String nodeValue;
		::Array< ::Dynamic> children;
		 ::haxe::ds::StringMap attributeMap;
		::String get(::String att);
		::Dynamic get_dyn();

		void set(::String att,::String value);
		::Dynamic set_dyn();

		 ::Dynamic attributes();
		::Dynamic attributes_dyn();

		 ::Xml firstElement();
		::Dynamic firstElement_dyn();

		virtual ::String toString();
		::Dynamic toString_dyn();

};


#endif /* INCLUDED_Xml */