// Generated by Haxe 4.3.3
#ifndef INCLUDED_borogove_EncryptionPolicy
#define INCLUDED_borogove_EncryptionPolicy
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_463b5e117b71e43d_4_new)
HX_DECLARE_CLASS1(borogove,EncryptionPolicy)
namespace borogove{
class HXCPP_CLASS_ATTRIBUTES EncryptionPolicy_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef EncryptionPolicy_obj OBJ_;
EncryptionPolicy_obj();
public:
enum { _hx_ClassId = 0x3c34ea9e };
void __construct(bool allowUnencryptedIncoming,bool allowUnencryptedOutgoing,bool preferEncryptedOutgoing);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="borogove.EncryptionPolicy")
{ 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,"borogove.EncryptionPolicy"); }
inline static ::hx::ObjectPtr< EncryptionPolicy_obj > __new(bool allowUnencryptedIncoming,bool allowUnencryptedOutgoing,bool preferEncryptedOutgoing) {
::hx::ObjectPtr< EncryptionPolicy_obj > __this = new EncryptionPolicy_obj();
__this->__construct(allowUnencryptedIncoming,allowUnencryptedOutgoing,preferEncryptedOutgoing);
return __this;
}
inline static ::hx::ObjectPtr< EncryptionPolicy_obj > __alloc(::hx::Ctx *_hx_ctx,bool allowUnencryptedIncoming,bool allowUnencryptedOutgoing,bool preferEncryptedOutgoing) {
EncryptionPolicy_obj *__this = (EncryptionPolicy_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(EncryptionPolicy_obj), false, "borogove.EncryptionPolicy"));
*(void **)__this = EncryptionPolicy_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_463b5e117b71e43d_4_new)
HXDLIN( 4) ( ( ::borogove::EncryptionPolicy)(__this) )->allowUnencryptedIncoming = allowUnencryptedIncoming;
HXDLIN( 4) ( ( ::borogove::EncryptionPolicy)(__this) )->allowUnencryptedOutgoing = allowUnencryptedOutgoing;
HXDLIN( 4) ( ( ::borogove::EncryptionPolicy)(__this) )->preferEncryptedOutgoing = preferEncryptedOutgoing;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~EncryptionPolicy_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();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("EncryptionPolicy",f5,cc,37,01); }
bool allowUnencryptedIncoming;
bool allowUnencryptedOutgoing;
bool preferEncryptedOutgoing;
};
} // end namespace borogove
#endif /* INCLUDED_borogove_EncryptionPolicy */