// Generated by Haxe 4.3.3
#ifndef INCLUDED_borogove_Html
#define INCLUDED_borogove_Html
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(borogove,Html)
HX_DECLARE_CLASS1(borogove,Member)
HX_DECLARE_CLASS1(borogove,Node)
HX_DECLARE_CLASS1(htmlparser,HtmlNode)
namespace borogove{
class HXCPP_CLASS_ATTRIBUTES Html_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef Html_obj OBJ_;
Html_obj();
public:
enum { _hx_ClassId = 0x2e26b4ec };
void __construct(::Array< ::Dynamic> xml, ::borogove::Member sender);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="borogove.Html")
{ 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,"borogove.Html"); }
static ::hx::ObjectPtr< Html_obj > __new(::Array< ::Dynamic> xml, ::borogove::Member sender);
static ::hx::ObjectPtr< Html_obj > __alloc(::hx::Ctx *_hx_ctx,::Array< ::Dynamic> xml, ::borogove::Member sender);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~Html_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_("Html",8b,c1,ef,2f); }
static void __boot();
static ::Dynamic __meta__;
static ::Array< ::String > HTML_EMPTY;
static ::borogove::Html element(::String tag,::Array< ::String > attr,::Array< ::String > attrValues,::Array< ::Dynamic> children);
static ::Dynamic element_dyn();
static ::borogove::Html element__fromC(::String tag,::cpp::Pointer< const char* > attr,size_t attr__len,::cpp::Pointer< const char* > attrValues,size_t attrValues__len,::cpp::Pointer< void* > children,size_t children__len);
static ::Dynamic element__fromC_dyn();
static ::borogove::Html text(::String text);
static ::Dynamic text_dyn();
static ::borogove::Html fragment(::Array< ::Dynamic> nodes);
static ::Dynamic fragment_dyn();
static ::borogove::Html fragment__fromC(::cpp::Pointer< void* > nodes,size_t nodes__len);
static ::Dynamic fragment__fromC_dyn();
static ::borogove::Html fromString(::String html);
static ::Dynamic fromString_dyn();
static ::borogove::Node htmlToNode( ::htmlparser::HtmlNode node);
static ::Dynamic htmlToNode_dyn();
::Array< ::Dynamic> xml;
::borogove::Member sender;
bool isPlainText();
::Dynamic isPlainText_dyn();
::cpp::VirtualArray reduce( ::Dynamic f);
::Dynamic reduce_dyn();
size_t reduce__fromC(::cpp::Function< void* (const char*,const char**,ptrdiff_t,const char**,ptrdiff_t,void**,ptrdiff_t,void*) > f,void* f__context,void*** outPtr);
virtual ::String toString();
::Dynamic toString_dyn();
::String toPlainText();
::Dynamic toPlainText_dyn();
};
} // end namespace borogove
#endif /* INCLUDED_borogove_Html */