git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / snikket / jingle / Attribute.h

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

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

HX_DECLARE_STACK_FRAME(_hx_pos_3dd2db7f2124ae96_626_new)
HX_DECLARE_CLASS2(snikket,jingle,Attribute)

namespace snikket{
namespace jingle{


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

	public:
		enum { _hx_ClassId = 0x0704634e };

		void __construct(::String key,::String value);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="snikket.jingle.Attribute")
			{ 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,"snikket.jingle.Attribute"); }

		inline static ::hx::ObjectPtr< Attribute_obj > __new(::String key,::String value) {
			::hx::ObjectPtr< Attribute_obj > __this = new Attribute_obj();
			__this->__construct(key,value);
			return __this;
		}

		inline static ::hx::ObjectPtr< Attribute_obj > __alloc(::hx::Ctx *_hx_ctx,::String key,::String value) {
			Attribute_obj *__this = (Attribute_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Attribute_obj), true, "snikket.jingle.Attribute"));
			*(void **)__this = Attribute_obj::_hx_vtable;
{
            	HX_STACKFRAME(&_hx_pos_3dd2db7f2124ae96_626_new)
HXLINE( 627)		( ( ::snikket::jingle::Attribute)(__this) )->key = key;
HXLINE( 628)		( ( ::snikket::jingle::Attribute)(__this) )->value = value;
            	}
		
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Attribute_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);
		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_("Attribute",fc,4f,c3,9c); }

		static  ::snikket::jingle::Attribute parse(::String input);
		static ::Dynamic parse_dyn();

		::String key;
		::String value;
		::String toSdp();
		::Dynamic toSdp_dyn();

};

} // end namespace snikket
} // end namespace jingle

#endif /* INCLUDED_snikket_jingle_Attribute */