本文整理汇总了C++中HX_HCSTRING函数的典型用法代码示例。如果您正苦于以下问题:C++ HX_HCSTRING函数的具体用法?C++ HX_HCSTRING怎么用?C++ HX_HCSTRING使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了HX_HCSTRING函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: null
namespace text{
Void TextFormatAlign_obj::__construct()
{
return null();
}
//TextFormatAlign_obj::~TextFormatAlign_obj() { }
Dynamic TextFormatAlign_obj::__CreateEmpty() { return new TextFormatAlign_obj; }
hx::ObjectPtr< TextFormatAlign_obj > TextFormatAlign_obj::__new()
{ hx::ObjectPtr< TextFormatAlign_obj > _result_ = new TextFormatAlign_obj();
_result_->__construct();
return _result_;}
Dynamic TextFormatAlign_obj::__Create(hx::DynamicArray inArgs)
{ hx::ObjectPtr< TextFormatAlign_obj > _result_ = new TextFormatAlign_obj();
_result_->__construct();
return _result_;}
::String TextFormatAlign_obj::LEFT;
::String TextFormatAlign_obj::RIGHT;
::String TextFormatAlign_obj::CENTER;
::String TextFormatAlign_obj::JUSTIFY;
::String TextFormatAlign_obj::START;
::String TextFormatAlign_obj::END;
TextFormatAlign_obj::TextFormatAlign_obj()
{
}
#if HXCPP_SCRIPTABLE
static hx::StorageInfo *sMemberStorageInfo = 0;
static hx::StaticInfo sStaticStorageInfo[] = {
{hx::fsString,(void *) &TextFormatAlign_obj::LEFT,HX_HCSTRING("LEFT","\x07","\xd0","\x70","\x32")},
{hx::fsString,(void *) &TextFormatAlign_obj::RIGHT,HX_HCSTRING("RIGHT","\xbc","\x43","\x52","\x67")},
{hx::fsString,(void *) &TextFormatAlign_obj::CENTER,HX_HCSTRING("CENTER","\xd5","\xd1","\x5d","\xb8")},
{hx::fsString,(void *) &TextFormatAlign_obj::JUSTIFY,HX_HCSTRING("JUSTIFY","\x30","\xb3","\x89","\x03")},
{hx::fsString,(void *) &TextFormatAlign_obj::START,HX_HCSTRING("START","\x42","\xac","\xf9","\x01")},
{hx::fsString,(void *) &TextFormatAlign_obj::END,HX_HCSTRING("END","\xbb","\x9f","\x34","\x00")},
{ hx::fsUnknown, 0, null()}
};
#endif
static void sMarkStatics(HX_MARK_PARAMS) {
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::__mClass,"__mClass");
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::LEFT,"LEFT");
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::RIGHT,"RIGHT");
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::CENTER,"CENTER");
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::JUSTIFY,"JUSTIFY");
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::START,"START");
HX_MARK_MEMBER_NAME(TextFormatAlign_obj::END,"END");
};
#ifdef HXCPP_VISIT_ALLOCS
static void sVisitStatics(HX_VISIT_PARAMS) {
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::__mClass,"__mClass");
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::LEFT,"LEFT");
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::RIGHT,"RIGHT");
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::CENTER,"CENTER");
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::JUSTIFY,"JUSTIFY");
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::START,"START");
HX_VISIT_MEMBER_NAME(TextFormatAlign_obj::END,"END");
};
#endif
hx::Class TextFormatAlign_obj::__mClass;
static ::String sStaticFields[] = {
HX_HCSTRING("LEFT","\x07","\xd0","\x70","\x32"),
HX_HCSTRING("RIGHT","\xbc","\x43","\x52","\x67"),
HX_HCSTRING("CENTER","\xd5","\xd1","\x5d","\xb8"),
HX_HCSTRING("JUSTIFY","\x30","\xb3","\x89","\x03"),
HX_HCSTRING("START","\x42","\xac","\xf9","\x01"),
HX_HCSTRING("END","\xbb","\x9f","\x34","\x00"),
::String(null()) };
void TextFormatAlign_obj::__register()
{
hx::Static(__mClass) = new hx::Class_obj();
__mClass->mName = HX_HCSTRING("openfl._legacy.text.TextFormatAlign","\x64","\x64","\x77","\x30");
__mClass->mSuper = &super::__SGetClass();
__mClass->mConstructEmpty = &__CreateEmpty;
__mClass->mConstructArgs = &__Create;
__mClass->mGetStaticField = &hx::Class_obj::GetNoStaticField;
__mClass->mSetStaticField = &hx::Class_obj::SetNoStaticField;
__mClass->mMarkFunc = sMarkStatics;
__mClass->mStatics = hx::Class_obj::dupFunctions(sStaticFields);
__mClass->mMembers = hx::Class_obj::dupFunctions(0 /* sMemberFields */);
__mClass->mCanCast = hx::TCanCast< TextFormatAlign_obj >;
#ifdef HXCPP_VISIT_ALLOCS
__mClass->mVisitFunc = sVisitStatics;
#endif
//.........这里部分代码省略.........
示例2: HX_STACK_FRAME
#ifndef INCLUDED_openfl_events_IEventDispatcher
#include <openfl/events/IEventDispatcher.h>
#endif
Void Source_obj::__construct(::Sources kind)
{
HX_STACK_FRAME("Source","new",0x52f75f6d,"Source.new","Source.hx",12,0x0ab42ca3)
HX_STACK_THIS(this)
HX_STACK_ARG(kind,"kind")
{
HX_STACK_LINE(13)
::Sources tmp = kind; HX_STACK_VAR(tmp,"tmp");
HX_STACK_LINE(13)
::String tmp1 = ::Std_obj::string(tmp); HX_STACK_VAR(tmp1,"tmp1");
HX_STACK_LINE(13)
::String tmp2 = (HX_HCSTRING("sources/","\xf7","\x41","\xa4","\x66") + tmp1); HX_STACK_VAR(tmp2,"tmp2");
HX_STACK_LINE(13)
::String png = tmp2; HX_STACK_VAR(png,"png");
HX_STACK_LINE(14)
::String tmp3 = png; HX_STACK_VAR(tmp3,"tmp3");
HX_STACK_LINE(14)
super::__construct(tmp3,(int)180,(int)180);
HX_STACK_LINE(15)
this->kind = kind;
}
;
return null();
}
//Source_obj::~Source_obj() { }
示例3: HX_HCSTRING
void GraphicVirtualInput_obj::__boot()
{
resourceName= HX_HCSTRING("__ASSET__:bitmap_flixel_system_GraphicVirtualInput","\x34","\xa9","\x10","\xf7");
}
示例4: HX_STACK_FRAME
namespace _hx_system{
void ScreenMode_obj::__construct(){
HX_STACK_FRAME("openfl._legacy.system.ScreenMode","new",0x975af1bc,"openfl._legacy.system.ScreenMode.new","openfl/_legacy/system/ScreenMode.hx",9,0xb2cfa295)
HX_STACK_THIS(this)
HXLINE( 10) this->width = (int)-1;
HXLINE( 11) this->height = (int)-1;
HXLINE( 12) this->format = null();
HXLINE( 13) this->refreshRate = (int)-1;
}
Dynamic ScreenMode_obj::__CreateEmpty() { return new ScreenMode_obj; }
hx::ObjectPtr< ScreenMode_obj > ScreenMode_obj::__new()
{
hx::ObjectPtr< ScreenMode_obj > _hx_result = new ScreenMode_obj();
_hx_result->__construct();
return _hx_result;
}
Dynamic ScreenMode_obj::__Create(hx::DynamicArray inArgs)
{
hx::ObjectPtr< ScreenMode_obj > _hx_result = new ScreenMode_obj();
_hx_result->__construct();
return _hx_result;
}
ScreenMode_obj::ScreenMode_obj()
{
}
void ScreenMode_obj::__Mark(HX_MARK_PARAMS)
{
HX_MARK_BEGIN_CLASS(ScreenMode);
HX_MARK_MEMBER_NAME(format,"format");
HX_MARK_MEMBER_NAME(width,"width");
HX_MARK_MEMBER_NAME(height,"height");
HX_MARK_MEMBER_NAME(refreshRate,"refreshRate");
HX_MARK_END_CLASS();
}
void ScreenMode_obj::__Visit(HX_VISIT_PARAMS)
{
HX_VISIT_MEMBER_NAME(format,"format");
HX_VISIT_MEMBER_NAME(width,"width");
HX_VISIT_MEMBER_NAME(height,"height");
HX_VISIT_MEMBER_NAME(refreshRate,"refreshRate");
}
hx::Val ScreenMode_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 5:
if (HX_FIELD_EQ(inName,"width") ) { return hx::Val( width); }
break;
case 6:
if (HX_FIELD_EQ(inName,"format") ) { return hx::Val( format); }
if (HX_FIELD_EQ(inName,"height") ) { return hx::Val( height); }
break;
case 11:
if (HX_FIELD_EQ(inName,"refreshRate") ) { return hx::Val( refreshRate); }
}
return super::__Field(inName,inCallProp);
}
hx::Val ScreenMode_obj::__SetField(const ::String &inName,const hx::Val &inValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 5:
if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Int >(); return inValue; }
break;
case 6:
if (HX_FIELD_EQ(inName,"format") ) { format=inValue.Cast< ::hx::EnumBase >(); return inValue; }
if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Int >(); return inValue; }
break;
case 11:
if (HX_FIELD_EQ(inName,"refreshRate") ) { refreshRate=inValue.Cast< Int >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
void ScreenMode_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("format","\x37","\x8f","\x8e","\xfd"));
outFields->push(HX_HCSTRING("width","\x06","\xb6","\x62","\xca"));
outFields->push(HX_HCSTRING("height","\xe7","\x07","\x4c","\x02"));
outFields->push(HX_HCSTRING("refreshRate","\x5b","\xe2","\x3f","\x40"));
super::__GetFields(outFields);
};
#if HXCPP_SCRIPTABLE
static hx::StorageInfo ScreenMode_obj_sMemberStorageInfo[] = {
{hx::fsObject /*::openfl::_legacy::_hx_system::PixelFormat*/ ,(int)offsetof(ScreenMode_obj,format),HX_HCSTRING("format","\x37","\x8f","\x8e","\xfd")},
{hx::fsInt,(int)offsetof(ScreenMode_obj,width),HX_HCSTRING("width","\x06","\xb6","\x62","\xca")},
{hx::fsInt,(int)offsetof(ScreenMode_obj,height),HX_HCSTRING("height","\xe7","\x07","\x4c","\x02")},
{hx::fsInt,(int)offsetof(ScreenMode_obj,refreshRate),HX_HCSTRING("refreshRate","\x5b","\xe2","\x3f","\x40")},
{ hx::fsUnknown, 0, null()}
};
static hx::StaticInfo *ScreenMode_obj_sStaticStorageInfo = 0;
//.........这里部分代码省略.........
示例5: __GetFields
void ZNPNode_ZPP_SensorArbiter_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("next","\xf3","\x84","\x02","\x49"));
outFields->push(HX_HCSTRING("elt","\x2d","\x02","\x4d","\x00"));
super::__GetFields(outFields);
};
示例6: ResourceTest_obj
namespace thx{
void ResourceTest_obj::__construct() { }
Dynamic ResourceTest_obj::__CreateEmpty() { return new ResourceTest_obj; }
hx::ObjectPtr< ResourceTest_obj > ResourceTest_obj::__new()
{
hx::ObjectPtr< ResourceTest_obj > _hx_result = new ResourceTest_obj();
_hx_result->__construct();
return _hx_result;
}
Dynamic ResourceTest_obj::__Create(hx::DynamicArray inArgs)
{
hx::ObjectPtr< ResourceTest_obj > _hx_result = new ResourceTest_obj();
_hx_result->__construct();
return _hx_result;
}
static ::thx::StaticResource_obj _hx_thx_ResourceTest__hx_thx_StaticResource= {
};
void *ResourceTest_obj::_hx_getInterface(int inHash) {
switch(inHash) {
case (int)0x6cb11300: return &_hx_thx_ResourceTest__hx_thx_StaticResource;
}
#ifdef HXCPP_SCRIPTABLE
return super::_hx_getInterface(inHash);
#else
return 0;
#endif
}
::Dynamic ResourceTest_obj::fileJson;
::String ResourceTest_obj::fileText;
Int ResourceTest_obj::a;
::Dynamic ResourceTest_obj::b;
Bool ResourceTest_obj::c;
::String ResourceTest_obj::d;
ResourceTest_obj::ResourceTest_obj()
{
}
bool ResourceTest_obj::__GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 1:
if (HX_FIELD_EQ(inName,"a") ) { outValue = a; return true; }
if (HX_FIELD_EQ(inName,"b") ) { outValue = b; return true; }
if (HX_FIELD_EQ(inName,"c") ) { outValue = c; return true; }
if (HX_FIELD_EQ(inName,"d") ) { outValue = d; return true; }
break;
case 8:
if (HX_FIELD_EQ(inName,"fileJson") ) { outValue = fileJson; return true; }
if (HX_FIELD_EQ(inName,"fileText") ) { outValue = fileText; return true; }
}
return false;
}
bool ResourceTest_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 1:
if (HX_FIELD_EQ(inName,"a") ) { a=ioValue.Cast< Int >(); return true; }
if (HX_FIELD_EQ(inName,"b") ) { b=ioValue.Cast< ::Dynamic >(); return true; }
if (HX_FIELD_EQ(inName,"c") ) { c=ioValue.Cast< Bool >(); return true; }
if (HX_FIELD_EQ(inName,"d") ) { d=ioValue.Cast< ::String >(); return true; }
break;
case 8:
if (HX_FIELD_EQ(inName,"fileJson") ) { fileJson=ioValue.Cast< ::Dynamic >(); return true; }
if (HX_FIELD_EQ(inName,"fileText") ) { fileText=ioValue.Cast< ::String >(); return true; }
}
return false;
}
#if HXCPP_SCRIPTABLE
static hx::StorageInfo *ResourceTest_obj_sMemberStorageInfo = 0;
static hx::StaticInfo ResourceTest_obj_sStaticStorageInfo[] = {
{hx::fsObject /*Dynamic*/ ,(void *) &ResourceTest_obj::fileJson,HX_HCSTRING("fileJson","\xc4","\x2a","\xac","\x5f")},
{hx::fsString,(void *) &ResourceTest_obj::fileText,HX_HCSTRING("fileText","\x49","\xb5","\x3d","\x66")},
{hx::fsInt,(void *) &ResourceTest_obj::a,HX_HCSTRING("a","\x61","\x00","\x00","\x00")},
{hx::fsObject /*Dynamic*/ ,(void *) &ResourceTest_obj::b,HX_HCSTRING("b","\x62","\x00","\x00","\x00")},
{hx::fsBool,(void *) &ResourceTest_obj::c,HX_HCSTRING("c","\x63","\x00","\x00","\x00")},
{hx::fsString,(void *) &ResourceTest_obj::d,HX_HCSTRING("d","\x64","\x00","\x00","\x00")},
{ hx::fsUnknown, 0, null()}
};
#endif
static void ResourceTest_obj_sMarkStatics(HX_MARK_PARAMS) {
HX_MARK_MEMBER_NAME(ResourceTest_obj::__mClass,"__mClass");
HX_MARK_MEMBER_NAME(ResourceTest_obj::fileJson,"fileJson");
HX_MARK_MEMBER_NAME(ResourceTest_obj::fileText,"fileText");
//.........这里部分代码省略.........
示例7: __boot
void DrawCommandType_obj::__boot()
{
hx::Static(BEGIN_BITMAP_FILL) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("BEGIN_BITMAP_FILL","\x9d","\x8d","\xc1","\xd5"),0);
hx::Static(BEGIN_FILL) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("BEGIN_FILL","\xb9","\x8f","\x44","\x38"),1);
hx::Static(BEGIN_GRADIENT_FILL) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("BEGIN_GRADIENT_FILL","\x7c","\x12","\x1d","\xec"),2);
hx::Static(CUBIC_CURVE_TO) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("CUBIC_CURVE_TO","\x60","\x8b","\x92","\xac"),3);
hx::Static(CURVE_TO) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("CURVE_TO","\x6b","\xde","\x71","\x42"),4);
hx::Static(DRAW_CIRCLE) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_CIRCLE","\x2b","\x84","\x66","\x49"),5);
hx::Static(DRAW_ELLIPSE) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_ELLIPSE","\x43","\x06","\x1d","\x06"),6);
hx::Static(DRAW_PATH) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_PATH","\x00","\xc7","\x6b","\x9a"),7);
hx::Static(DRAW_RECT) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_RECT","\x7f","\x2e","\xc1","\x9b"),8);
hx::Static(DRAW_ROUND_RECT) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_ROUND_RECT","\xb0","\xa9","\x34","\x42"),9);
hx::Static(DRAW_TILES) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_TILES","\xaa","\x4b","\xc0","\xd6"),10);
hx::Static(DRAW_TRIANGLES) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("DRAW_TRIANGLES","\x50","\xbd","\x1f","\x61"),11);
hx::Static(END_FILL) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("END_FILL","\xc7","\x2c","\xf5","\x27"),12);
hx::Static(LINE_BITMAP_STYLE) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("LINE_BITMAP_STYLE","\xec","\xc7","\x38","\x2d"),13);
hx::Static(LINE_GRADIENT_STYLE) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("LINE_GRADIENT_STYLE","\x6d","\x7d","\x1a","\xa1"),14);
hx::Static(LINE_STYLE) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("LINE_STYLE","\x46","\x73","\x8d","\xdd"),15);
hx::Static(LINE_TO) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("LINE_TO","\x26","\xf0","\x91","\x9f"),16);
hx::Static(MOVE_TO) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("MOVE_TO","\x29","\x35","\x80","\xca"),17);
hx::Static(OVERRIDE_MATRIX) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("OVERRIDE_MATRIX","\x14","\x63","\x08","\xa8"),18);
hx::Static(UNKNOWN) = hx::CreateEnum< DrawCommandType_obj >(HX_HCSTRING("UNKNOWN","\x6a","\xf7","\x4e","\x61"),19);
}
示例8: HX_HCSTRING
void GraphicWatch_obj::__boot()
{
resourceName= HX_HCSTRING("__ASSET__:bitmap_flixel_system_debug_GraphicWatch","\x66","\x8f","\x5d","\x86");
}
示例9: HX_HCSTRING
void __ASSET__assets_fonts_nokiafc22_ttf_obj::__boot()
{
resourceName= HX_HCSTRING("NME_font___ASSET__assets_fonts_nokiafc22_ttf","\xa8","\xaf","\x6b","\x88");
}
示例10: __GetFields
void FlxSignalHandler_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("listener","\x74","\x00","\x32","\x38"));
outFields->push(HX_HCSTRING("dispatchOnce","\x5b","\x5d","\x76","\x64"));
super::__GetFields(outFields);
};
示例11: null
bool FlxSignalHandler_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
return false;
}
void FlxSignalHandler_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("listener","\x74","\x00","\x32","\x38"));
outFields->push(HX_HCSTRING("dispatchOnce","\x5b","\x5d","\x76","\x64"));
super::__GetFields(outFields);
};
#if HXCPP_SCRIPTABLE
static hx::StorageInfo sMemberStorageInfo[] = {
{hx::fsObject /*Dynamic*/ ,(int)offsetof(FlxSignalHandler_obj,listener),HX_HCSTRING("listener","\x74","\x00","\x32","\x38")},
{hx::fsBool,(int)offsetof(FlxSignalHandler_obj,dispatchOnce),HX_HCSTRING("dispatchOnce","\x5b","\x5d","\x76","\x64")},
{ hx::fsUnknown, 0, null()}
};
static hx::StaticInfo *sStaticStorageInfo = 0;
#endif
static ::String sMemberFields[] = {
HX_HCSTRING("listener","\x74","\x00","\x32","\x38"),
HX_HCSTRING("dispatchOnce","\x5b","\x5d","\x76","\x64"),
HX_HCSTRING("destroy","\xfa","\x2c","\x86","\x24"),
::String(null()) };
static void sMarkStatics(HX_MARK_PARAMS) {
HX_MARK_MEMBER_NAME(FlxSignalHandler_obj::__mClass,"__mClass");
};
示例12: HX_STACK_FRAME
::String Xml_obj::get( ::String att){
HX_STACK_FRAME("Xml","get",0x2e441e5f,"Xml.get","C:\\HaxeToolkit\\haxe\\std/Xml.hx",166,0x6fe08e00)
HX_STACK_THIS(this)
HX_STACK_ARG(att,"att")
HX_STACK_LINE(167)
int tmp = this->nodeType; HX_STACK_VAR(tmp,"tmp");
HX_STACK_LINE(167)
int tmp1 = ::Xml_obj::Element; HX_STACK_VAR(tmp1,"tmp1");
HX_STACK_LINE(167)
bool tmp2 = (tmp != tmp1); HX_STACK_VAR(tmp2,"tmp2");
HX_STACK_LINE(167)
if ((tmp2)){
HX_STACK_LINE(168)
int tmp3 = this->nodeType; HX_STACK_VAR(tmp3,"tmp3");
HX_STACK_LINE(168)
::String tmp4 = (HX_HCSTRING("Bad node type, expected Element but found ","\xd8","\x90","\x8b","\xbb") + tmp3); HX_STACK_VAR(tmp4,"tmp4");
HX_STACK_LINE(168)
HX_STACK_DO_THROW(tmp4);
}
HX_STACK_LINE(170)
::haxe::ds::StringMap tmp3 = this->attributeMap; HX_STACK_VAR(tmp3,"tmp3");
HX_STACK_LINE(170)
::String tmp4 = att; HX_STACK_VAR(tmp4,"tmp4");
HX_STACK_LINE(170)
::String tmp5 = tmp3->get(tmp4); HX_STACK_VAR(tmp5,"tmp5");
HX_STACK_LINE(170)
::String tmp6 = tmp5; HX_STACK_VAR(tmp6,"tmp6");
HX_STACK_LINE(170)
return tmp6;
}
示例13: HX_VISIT_MEMBER_NAME
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::__mClass,"__mClass");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_unknown,"ie_unknown");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_key,"ie_key");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_text,"ie_text");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_mouse,"ie_mouse");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_touch,"ie_touch");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_gamepad,"ie_gamepad");
HX_VISIT_MEMBER_NAME(InputEventType_Impl__obj::ie_joystick,"ie_joystick");
};
#endif
hx::Class InputEventType_Impl__obj::__mClass;
static ::String sStaticFields[] = {
HX_HCSTRING("ie_unknown","\xe7","\x14","\xfd","\x32"),
HX_HCSTRING("ie_key","\x7c","\x48","\x0e","\x62"),
HX_HCSTRING("ie_text","\x30","\x0f","\x64","\x70"),
HX_HCSTRING("ie_mouse","\x42","\x06","\xf5","\xe5"),
HX_HCSTRING("ie_touch","\xdc","\x07","\xc3","\xed"),
HX_HCSTRING("ie_gamepad","\xfe","\xd1","\x07","\xdb"),
HX_HCSTRING("ie_joystick","\xbf","\x20","\x23","\x9c"),
HX_HCSTRING("toString","\xac","\xd0","\x6e","\x38"),
::String(null()) };
void InputEventType_Impl__obj::__register()
{
hx::Static(__mClass) = new hx::Class_obj();
__mClass->mName = HX_HCSTRING("snow.types._Types.InputEventType_Impl_","\xfe","\x73","\x4c","\x50");
__mClass->mSuper = &super::__SGetClass();
__mClass->mConstructEmpty = &__CreateEmpty;
示例14: null
case 8:
if (HX_FIELD_EQ(inName,"zpp_pool") ) { zpp_pool=ioValue.Cast< ::zpp_nape::util::ZNPNode_ZPP_SensorArbiter >(); return true; }
}
return false;
}
void ZNPNode_ZPP_SensorArbiter_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("next","\xf3","\x84","\x02","\x49"));
outFields->push(HX_HCSTRING("elt","\x2d","\x02","\x4d","\x00"));
super::__GetFields(outFields);
};
#if HXCPP_SCRIPTABLE
static hx::StorageInfo sMemberStorageInfo[] = {
{hx::fsObject /*::zpp_nape::util::ZNPNode_ZPP_SensorArbiter*/ ,(int)offsetof(ZNPNode_ZPP_SensorArbiter_obj,next),HX_HCSTRING("next","\xf3","\x84","\x02","\x49")},
{hx::fsObject /*::zpp_nape::dynamics::ZPP_SensorArbiter*/ ,(int)offsetof(ZNPNode_ZPP_SensorArbiter_obj,elt),HX_HCSTRING("elt","\x2d","\x02","\x4d","\x00")},
{ hx::fsUnknown, 0, null()}
};
static hx::StaticInfo sStaticStorageInfo[] = {
{hx::fsObject /*::zpp_nape::util::ZNPNode_ZPP_SensorArbiter*/ ,(void *) &ZNPNode_ZPP_SensorArbiter_obj::zpp_pool,HX_HCSTRING("zpp_pool","\x81","\x5d","\xd4","\x38")},
{ hx::fsUnknown, 0, null()}
};
#endif
static ::String sMemberFields[] = {
HX_HCSTRING("next","\xf3","\x84","\x02","\x49"),
HX_HCSTRING("alloc","\x75","\xa4","\x93","\x21"),
HX_HCSTRING("free","\xac","\x9c","\xc2","\x43"),
HX_HCSTRING("elt","\x2d","\x02","\x4d","\x00"),
HX_HCSTRING("elem","\x8f","\xd8","\x14","\x43"),
示例15: HX_STACK_FRAME
namespace net{
Void URLRequestHeader_obj::__construct(::String __o_name,::String __o_value)
{
HX_STACK_FRAME("lime.net.URLRequestHeader","new",0x55a21f09,"lime.net.URLRequestHeader.new","lime/net/URLRequestHeader.hx",11,0xc3cdd945)
HX_STACK_THIS(this)
HX_STACK_ARG(__o_name,"name")
HX_STACK_ARG(__o_value,"value")
::String name = __o_name.Default(HX_HCSTRING("","\x00","\x00","\x00","\x00"));
::String value = __o_value.Default(HX_HCSTRING("","\x00","\x00","\x00","\x00"));
{
HX_STACK_LINE(13)
this->name = name;
HX_STACK_LINE(14)
this->value = value;
}
;
return null();
}
//URLRequestHeader_obj::~URLRequestHeader_obj() { }
Dynamic URLRequestHeader_obj::__CreateEmpty() { return new URLRequestHeader_obj; }
hx::ObjectPtr< URLRequestHeader_obj > URLRequestHeader_obj::__new(::String __o_name,::String __o_value)
{ hx::ObjectPtr< URLRequestHeader_obj > _result_ = new URLRequestHeader_obj();
_result_->__construct(__o_name,__o_value);
return _result_;}
Dynamic URLRequestHeader_obj::__Create(hx::DynamicArray inArgs)
{ hx::ObjectPtr< URLRequestHeader_obj > _result_ = new URLRequestHeader_obj();
_result_->__construct(inArgs[0],inArgs[1]);
return _result_;}
URLRequestHeader_obj::URLRequestHeader_obj()
{
}
void URLRequestHeader_obj::__Mark(HX_MARK_PARAMS)
{
HX_MARK_BEGIN_CLASS(URLRequestHeader);
HX_MARK_MEMBER_NAME(name,"name");
HX_MARK_MEMBER_NAME(value,"value");
HX_MARK_END_CLASS();
}
void URLRequestHeader_obj::__Visit(HX_VISIT_PARAMS)
{
HX_VISIT_MEMBER_NAME(name,"name");
HX_VISIT_MEMBER_NAME(value,"value");
}
Dynamic URLRequestHeader_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 4:
if (HX_FIELD_EQ(inName,"name") ) { return name; }
break;
case 5:
if (HX_FIELD_EQ(inName,"value") ) { return value; }
}
return super::__Field(inName,inCallProp);
}
Dynamic URLRequestHeader_obj::__SetField(const ::String &inName,const Dynamic &inValue,hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 4:
if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; }
break;
case 5:
if (HX_FIELD_EQ(inName,"value") ) { value=inValue.Cast< ::String >(); return inValue; }
}
return super::__SetField(inName,inValue,inCallProp);
}
void URLRequestHeader_obj::__GetFields(Array< ::String> &outFields)
{
outFields->push(HX_HCSTRING("name","\x4b","\x72","\xff","\x48"));
outFields->push(HX_HCSTRING("value","\x71","\x7f","\xb8","\x31"));
super::__GetFields(outFields);
};
#if HXCPP_SCRIPTABLE
static hx::StorageInfo sMemberStorageInfo[] = {
{hx::fsString,(int)offsetof(URLRequestHeader_obj,name),HX_HCSTRING("name","\x4b","\x72","\xff","\x48")},
{hx::fsString,(int)offsetof(URLRequestHeader_obj,value),HX_HCSTRING("value","\x71","\x7f","\xb8","\x31")},
{ hx::fsUnknown, 0, null()}
};
static hx::StaticInfo *sStaticStorageInfo = 0;
#endif
static ::String sMemberFields[] = {
HX_HCSTRING("name","\x4b","\x72","\xff","\x48"),
HX_HCSTRING("value","\x71","\x7f","\xb8","\x31"),
::String(null()) };
static void sMarkStatics(HX_MARK_PARAMS) {
HX_MARK_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass");
};
//.........这里部分代码省略.........