78 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			78 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// Generated by Haxe 4.0.5
 | 
						|
#ifndef INCLUDED_Date
 | 
						|
#define INCLUDED_Date
 | 
						|
 | 
						|
#ifndef HXCPP_H
 | 
						|
#include <hxcpp.h>
 | 
						|
#endif
 | 
						|
 | 
						|
HX_DECLARE_STACK_FRAME(_hx_pos_03b6f5be6798d30f_26_new)
 | 
						|
HX_DECLARE_CLASS0(Date)
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class HXCPP_CLASS_ATTRIBUTES Date_obj : public hx::Object
 | 
						|
{
 | 
						|
	public:
 | 
						|
		typedef hx::Object super;
 | 
						|
		typedef Date_obj OBJ_;
 | 
						|
		Date_obj();
 | 
						|
 | 
						|
	public:
 | 
						|
		enum { _hx_ClassId = 0x2d3c824e };
 | 
						|
 | 
						|
		void __construct(int year,int month,int day,int hour,int min,int sec);
 | 
						|
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Date")
 | 
						|
			{ 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,"Date"); }
 | 
						|
 | 
						|
		inline static hx::ObjectPtr< Date_obj > __new(int year,int month,int day,int hour,int min,int sec) {
 | 
						|
			hx::ObjectPtr< Date_obj > __this = new Date_obj();
 | 
						|
			__this->__construct(year,month,day,hour,min,sec);
 | 
						|
			return __this;
 | 
						|
		}
 | 
						|
 | 
						|
		inline static hx::ObjectPtr< Date_obj > __alloc(hx::Ctx *_hx_ctx,int year,int month,int day,int hour,int min,int sec) {
 | 
						|
			Date_obj *__this = (Date_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Date_obj), false, "Date"));
 | 
						|
			*(void **)__this = Date_obj::_hx_vtable;
 | 
						|
{
 | 
						|
            	HX_STACKFRAME(&_hx_pos_03b6f5be6798d30f_26_new)
 | 
						|
HXDLIN(  26)		( ( ::Date)(__this) )->mSeconds =  ::__hxcpp_new_date(year,month,day,hour,min,sec);
 | 
						|
            	}
 | 
						|
		
 | 
						|
			return __this;
 | 
						|
		}
 | 
						|
 | 
						|
		static void * _hx_vtable;
 | 
						|
		static Dynamic __CreateEmpty();
 | 
						|
		static Dynamic __Create(hx::DynamicArray inArgs);
 | 
						|
		//~Date_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();
 | 
						|
		bool _hx_isInstanceOf(int inClassId);
 | 
						|
		::String __ToString() const { return HX_("Date",4e,82,3c,2d); }
 | 
						|
 | 
						|
		static  ::Date fromTime(Float t);
 | 
						|
		static ::Dynamic fromTime_dyn();
 | 
						|
 | 
						|
		static  ::Date fromString(::String s);
 | 
						|
		static ::Dynamic fromString_dyn();
 | 
						|
 | 
						|
		Float mSeconds;
 | 
						|
		Float getTime();
 | 
						|
		::Dynamic getTime_dyn();
 | 
						|
 | 
						|
		virtual ::String toString();
 | 
						|
		::Dynamic toString_dyn();
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
#endif /* INCLUDED_Date */ 
 |