git » swiftpm » main » tree

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

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

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

HX_DECLARE_STACK_FRAME(_hx_pos_1f09f7dcf750977c_327_new)
HX_DECLARE_CLASS2(snikket,jingle,AudioFormat)

namespace snikket{
namespace jingle{


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

	public:
		enum { _hx_ClassId = 0x22a1d3c3 };

		void __construct(::String format,unsigned char payloadType,int clockRate,int channels);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="snikket.jingle.AudioFormat")
			{ 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.AudioFormat"); }

		inline static ::hx::ObjectPtr< AudioFormat_obj > __new(::String format,unsigned char payloadType,int clockRate,int channels) {
			::hx::ObjectPtr< AudioFormat_obj > __this = new AudioFormat_obj();
			__this->__construct(format,payloadType,clockRate,channels);
			return __this;
		}

		inline static ::hx::ObjectPtr< AudioFormat_obj > __alloc(::hx::Ctx *_hx_ctx,::String format,unsigned char payloadType,int clockRate,int channels) {
			AudioFormat_obj *__this = (AudioFormat_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(AudioFormat_obj), true, "snikket.jingle.AudioFormat"));
			*(void **)__this = AudioFormat_obj::_hx_vtable;
{
            	HX_STACKFRAME(&_hx_pos_1f09f7dcf750977c_327_new)
HXLINE( 328)		( ( ::snikket::jingle::AudioFormat)(__this) )->format = format;
HXLINE( 329)		( ( ::snikket::jingle::AudioFormat)(__this) )->payloadType = payloadType;
HXLINE( 330)		( ( ::snikket::jingle::AudioFormat)(__this) )->clockRate = clockRate;
HXLINE( 331)		( ( ::snikket::jingle::AudioFormat)(__this) )->channels = channels;
            	}
		
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~AudioFormat_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();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("AudioFormat",8d,58,71,b0); }

		static void __boot();
		static  ::Dynamic __meta__;
		::String format;
		unsigned char payloadType;
		int clockRate;
		int clockRate__fromC();
		::Dynamic clockRate__fromC_dyn();

		int channels;
		int channels__fromC();
		::Dynamic channels__fromC_dyn();

};

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

#endif /* INCLUDED_snikket_jingle_AudioFormat */