git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / hx / strings / RandomStrings.h

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

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

HX_DECLARE_CLASS2(hx,strings,RandomStrings)
HX_DECLARE_CLASS4(hx,strings,internal,_Either2,_Either2)

namespace hx{
namespace strings{


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

	public:
		enum { _hx_ClassId = 0x48d6a291 };

		void __construct();
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="hx.strings.RandomStrings")
			{ 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,"hx.strings.RandomStrings"); }

		inline static ::hx::ObjectPtr< RandomStrings_obj > __new() {
			::hx::ObjectPtr< RandomStrings_obj > __this = new RandomStrings_obj();
			__this->__construct();
			return __this;
		}

		inline static ::hx::ObjectPtr< RandomStrings_obj > __alloc(::hx::Ctx *_hx_ctx) {
			RandomStrings_obj *__this = (RandomStrings_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(RandomStrings_obj), false, "hx.strings.RandomStrings"));
			*(void **)__this = RandomStrings_obj::_hx_vtable;
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~RandomStrings_obj();

		HX_DO_RTTI_ALL;
		static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
		static bool __SetStatic(const ::String &inString, Dynamic &ioValue, ::hx::PropertyAccess inCallProp);
		static void __register();
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("RandomStrings",9f,7a,45,55); }

		static void __boot();
		static ::Array< int > DIGITS;
		static ::Array< int > _genAsciiAlpha();
		static ::Dynamic _genAsciiAlpha_dyn();

		static ::Array< int > ASCII_ALPHA;
		static ::Array< int > ASCII_ALPHA_NUMERIC;
		static ::String random(int length, ::hx::strings::internal::_Either2::_Either2 chars);
		static ::Dynamic random_dyn();

		static ::String randomUUIDv4(::String separator);
		static ::Dynamic randomUUIDv4_dyn();

};

} // end namespace hx
} // end namespace strings

#endif /* INCLUDED_hx_strings_RandomStrings */