当前位置: 首页>>代码示例>>C++>>正文


C++ HX_CSTRING函数代码示例

本文整理汇总了C++中HX_CSTRING函数的典型用法代码示例。如果您正苦于以下问题:C++ HX_CSTRING函数的具体用法?C++ HX_CSTRING怎么用?C++ HX_CSTRING使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了HX_CSTRING函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: Static

void Clouds_obj::__register()
{
	Static(__mClass) = hx::RegisterClass(HX_CSTRING("com.velvetArts.v01.Clouds"), hx::TCanCast< Clouds_obj> ,sStaticFields,sMemberFields,
	&__CreateEmpty, &__Create,
	&super::__SGetClass(), 0, sMarkStatics, sVisitStatics);
}
开发者ID:riddhiArtistic,项目名称:myRepository,代码行数:6,代码来源:Clouds.cpp

示例2: Static

void ZPP_ToiEvent_obj::__register()
{
	Static(__mClass) = hx::RegisterClass(HX_CSTRING("zpp_nape.geom.ZPP_ToiEvent"), hx::TCanCast< ZPP_ToiEvent_obj> ,sStaticFields,sMemberFields,
	&__CreateEmpty, &__Create,
	&super::__SGetClass(), 0, sMarkStatics, sVisitStatics);
}
开发者ID:toSpace,项目名称:mobile-game,代码行数:6,代码来源:ZPP_ToiEvent.cpp

示例3: String

	return super::__SetField(inName,inValue,inCallProp);
}

void CodeValuePair_obj::__GetFields(Array< ::String> &outFields)
{
	outFields->push(HX_CSTRING("code"));
	outFields->push(HX_CSTRING("value"));
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	String(null()) };

#if HXCPP_SCRIPTABLE
static hx::StorageInfo sMemberStorageInfo[] = {
	{hx::fsInt,(int)offsetof(CodeValuePair_obj,code),HX_CSTRING("code")},
	{hx::fsInt,(int)offsetof(CodeValuePair_obj,value),HX_CSTRING("value")},
	{ hx::fsUnknown, 0, null()}
};
#endif

static ::String sMemberFields[] = {
	HX_CSTRING("code"),
	HX_CSTRING("value"),
	String(null()) };

static void sMarkStatics(HX_MARK_PARAMS) {
	HX_MARK_MEMBER_NAME(CodeValuePair_obj::__mClass,"__mClass");
};

#ifdef HXCPP_VISIT_ALLOCS
开发者ID:AustinEast,项目名称:class-solarShepherd,代码行数:31,代码来源:CodeValuePair.cpp

示例4: switch

Dynamic GraphicLog_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	switch(inName.length) {
	case 12:
		if (HX_FIELD_EQ(inName,"resourceName") ) { resourceName=inValue.Cast< ::String >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}

void GraphicLog_obj::__GetFields(Array< ::String> &outFields)
{
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	HX_CSTRING("resourceName"),
	String(null()) };

#if HXCPP_SCRIPTABLE
static hx::StorageInfo *sMemberStorageInfo = 0;
#endif

static ::String sMemberFields[] = {
	String(null()) };

static void sMarkStatics(HX_MARK_PARAMS) {
	HX_MARK_MEMBER_NAME(GraphicLog_obj::__mClass,"__mClass");
	HX_MARK_MEMBER_NAME(GraphicLog_obj::resourceName,"resourceName");
};

#ifdef HXCPP_VISIT_ALLOCS
开发者ID:adykto,项目名称:gaia,代码行数:31,代码来源:GraphicLog.cpp

示例5: HX_CSTRING

	outFields->push(HX_CSTRING("slipped"));
	outFields->push(HX_CSTRING("axis"));
	outFields->push(HX_CSTRING("c2"));
	outFields->push(HX_CSTRING("c1"));
	outFields->push(HX_CSTRING("frozen2"));
	outFields->push(HX_CSTRING("frozen1"));
	outFields->push(HX_CSTRING("arbiter"));
	outFields->push(HX_CSTRING("s2"));
	outFields->push(HX_CSTRING("s1"));
	outFields->push(HX_CSTRING("toi"));
	outFields->push(HX_CSTRING("next"));
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	HX_CSTRING("zpp_pool"),
	String(null()) };

static ::String sMemberFields[] = {
	HX_CSTRING("kinematic"),
	HX_CSTRING("failed"),
	HX_CSTRING("slipped"),
	HX_CSTRING("axis"),
	HX_CSTRING("c2"),
	HX_CSTRING("c1"),
	HX_CSTRING("frozen2"),
	HX_CSTRING("frozen1"),
	HX_CSTRING("arbiter"),
	HX_CSTRING("s2"),
	HX_CSTRING("s1"),
	HX_CSTRING("toi"),
开发者ID:toSpace,项目名称:mobile-game,代码行数:31,代码来源:ZPP_ToiEvent.cpp

示例6: __GetFields

void HasAttribAccess_obj::__GetFields(Array< ::String> &outFields)
{
	outFields->push(HX_CSTRING("__x"));
	HX_APPEND_DYNAMIC_FIELDS(outFields);
	super::__GetFields(outFields);
};
开发者ID:dylanmarcus,项目名称:stencylworks,代码行数:6,代码来源:HasAttribAccess.cpp

示例7: __GetFields

void GameEvent_obj::__GetFields(Array< ::String> &outFields)
{
    outFields->push(HX_CSTRING("data"));
    super::__GetFields(outFields);
};
开发者ID:jalbanesi,项目名称:nmexpro,代码行数:5,代码来源:GameEvent.cpp

示例8: __boot

void ButtonAlignment_obj::__boot()
{
hx::Static(LEFT) = hx::CreateEnum< ButtonAlignment_obj >(HX_CSTRING("LEFT"),0);
hx::Static(MIDDLE) = hx::CreateEnum< ButtonAlignment_obj >(HX_CSTRING("MIDDLE"),1);
hx::Static(RIGHT) = hx::CreateEnum< ButtonAlignment_obj >(HX_CSTRING("RIGHT"),2);
}
开发者ID:Bullrich,项目名称:FlixelTut,代码行数:6,代码来源:ButtonAlignment.cpp

示例9: HX_CSTRING

		if (HX_FIELD_EQ(inName,"cb") ) { cb=inValue.Cast< Dynamic >(); return inValue; }
		if (HX_FIELD_EQ(inName,"bc") ) { bc=inValue.Cast< ::nape::phys::Body >(); return inValue; }
		if (HX_FIELD_EQ(inName,"id") ) { id=inValue.Cast< int >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}

void ZPP_CopyHelper_obj::__GetFields(Array< ::String> &outFields)
{
	outFields->push(HX_CSTRING("bc"));
	outFields->push(HX_CSTRING("id"));
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	HX_CSTRING("dict"),
	HX_CSTRING("todo"),
	String(null()) };

static ::String sMemberFields[] = {
	HX_CSTRING("cb"),
	HX_CSTRING("bc"),
	HX_CSTRING("id"),
	String(null()) };

static void sMarkStatics(HX_MARK_PARAMS) {
	HX_MARK_MEMBER_NAME(ZPP_CopyHelper_obj::__mClass,"__mClass");
};

#ifdef HXCPP_VISIT_ALLOCS
static void sVisitStatics(HX_VISIT_PARAMS) {
开发者ID:TomBebbington,项目名称:brains,代码行数:31,代码来源:ZPP_CopyHelper.cpp

示例10: HX_CSTRING

	}
	return super::__Field(inName,inCallProp);
}

Dynamic Expo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	return super::__SetField(inName,inValue,inCallProp);
}

void Expo_obj::__GetFields(Array< ::String> &outFields)
{
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	HX_CSTRING("get_easeIn"),
	HX_CSTRING("get_easeInOut"),
	HX_CSTRING("get_easeOut"),
	String(null()) };

#if HXCPP_SCRIPTABLE
static hx::StorageInfo *sMemberStorageInfo = 0;
#endif

static ::String sMemberFields[] = {
	String(null()) };

static void sMarkStatics(HX_MARK_PARAMS) {
	HX_MARK_MEMBER_NAME(Expo_obj::__mClass,"__mClass");
};
开发者ID:Chamawix,项目名称:Krismoon,代码行数:30,代码来源:Expo.cpp

示例11: HX_STACK_FRAME

#endif
#ifndef INCLUDED_openfl_display_StageScaleMode
#include <openfl/display/StageScaleMode.h>
#endif

Void TitleScreenView_obj::__construct()
{
HX_STACK_FRAME("TitleScreenView","new",0x5bce68fb,"TitleScreenView.new","TitleScreenView.hx",48,0x2ae30ed5)
HX_STACK_THIS(this)
{
	HX_STACK_LINE(49)
	super::__construct();
	HX_STACK_LINE(50)
	this->menu = false;
	HX_STACK_LINE(51)
	this->status = HX_CSTRING("");
}
;
	return null();
}

//TitleScreenView_obj::~TitleScreenView_obj() { }

Dynamic TitleScreenView_obj::__CreateEmpty() { return  new TitleScreenView_obj; }
hx::ObjectPtr< TitleScreenView_obj > TitleScreenView_obj::__new()
{  hx::ObjectPtr< TitleScreenView_obj > result = new TitleScreenView_obj();
	result->__construct();
	return result;}

Dynamic TitleScreenView_obj::__Create(hx::DynamicArray inArgs)
{  hx::ObjectPtr< TitleScreenView_obj > result = new TitleScreenView_obj();
开发者ID:Flubman,项目名称:ReimuBros,代码行数:31,代码来源:TitleScreenView.cpp

示例12: HX_STACK_PUSH

namespace replay{

Void MouseRecord_obj::__construct(int X,int Y,int Button,int Wheel)
{
HX_STACK_PUSH("MouseRecord::new","flixel/system/replay/MouseRecord.hx",33);
{
	HX_STACK_LINE(34)
	this->x = X;
	HX_STACK_LINE(35)
	this->y = Y;
	HX_STACK_LINE(36)
	this->button = Button;
	HX_STACK_LINE(37)
	this->wheel = Wheel;
}
;
	return null();
}

MouseRecord_obj::~MouseRecord_obj() { }

Dynamic MouseRecord_obj::__CreateEmpty() { return  new MouseRecord_obj; }
hx::ObjectPtr< MouseRecord_obj > MouseRecord_obj::__new(int X,int Y,int Button,int Wheel)
{  hx::ObjectPtr< MouseRecord_obj > result = new MouseRecord_obj();
	result->__construct(X,Y,Button,Wheel);
	return result;}

Dynamic MouseRecord_obj::__Create(hx::DynamicArray inArgs)
{  hx::ObjectPtr< MouseRecord_obj > result = new MouseRecord_obj();
	result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]);
	return result;}


MouseRecord_obj::MouseRecord_obj()
{
}

void MouseRecord_obj::__Mark(HX_MARK_PARAMS)
{
	HX_MARK_BEGIN_CLASS(MouseRecord);
	HX_MARK_MEMBER_NAME(wheel,"wheel");
	HX_MARK_MEMBER_NAME(button,"button");
	HX_MARK_MEMBER_NAME(y,"y");
	HX_MARK_MEMBER_NAME(x,"x");
	HX_MARK_END_CLASS();
}

void MouseRecord_obj::__Visit(HX_VISIT_PARAMS)
{
	HX_VISIT_MEMBER_NAME(wheel,"wheel");
	HX_VISIT_MEMBER_NAME(button,"button");
	HX_VISIT_MEMBER_NAME(y,"y");
	HX_VISIT_MEMBER_NAME(x,"x");
}

Dynamic MouseRecord_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 1:
		if (HX_FIELD_EQ(inName,"y") ) { return y; }
		if (HX_FIELD_EQ(inName,"x") ) { return x; }
		break;
	case 5:
		if (HX_FIELD_EQ(inName,"wheel") ) { return wheel; }
		break;
	case 6:
		if (HX_FIELD_EQ(inName,"button") ) { return button; }
	}
	return super::__Field(inName,inCallProp);
}

Dynamic MouseRecord_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	switch(inName.length) {
	case 1:
		if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< int >(); return inValue; }
		if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< int >(); return inValue; }
		break;
	case 5:
		if (HX_FIELD_EQ(inName,"wheel") ) { wheel=inValue.Cast< int >(); return inValue; }
		break;
	case 6:
		if (HX_FIELD_EQ(inName,"button") ) { button=inValue.Cast< int >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}

void MouseRecord_obj::__GetFields(Array< ::String> &outFields)
{
	outFields->push(HX_CSTRING("wheel"));
	outFields->push(HX_CSTRING("button"));
	outFields->push(HX_CSTRING("y"));
	outFields->push(HX_CSTRING("x"));
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	String(null()) };

static ::String sMemberFields[] = {
//.........这里部分代码省略.........
开发者ID:sam2,项目名称:sandbox,代码行数:101,代码来源:MouseRecord.cpp

示例13: __register

void MouseRecord_obj::__register()
{
	hx::Static(__mClass) = hx::RegisterClass(HX_CSTRING("flixel.system.replay.MouseRecord"), hx::TCanCast< MouseRecord_obj> ,sStaticFields,sMemberFields,
	&__CreateEmpty, &__Create,
	&super::__SGetClass(), 0, sMarkStatics, sVisitStatics);
}
开发者ID:sam2,项目名称:sandbox,代码行数:6,代码来源:MouseRecord.cpp

示例14: HX_CSTRING

void OpenGLView_obj::__boot()
{
	CONTEXT_LOST= HX_CSTRING("glcontextlost");
	CONTEXT_RESTORED= HX_CSTRING("glcontextrestored");
}
开发者ID:AustinEast,项目名称:class-solarShepherd,代码行数:5,代码来源:OpenGLView.cpp

示例15: catch

	catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); }
	return inValue;
}

void HasAttribAccess_obj::__GetFields(Array< ::String> &outFields)
{
	outFields->push(HX_CSTRING("__x"));
	HX_APPEND_DYNAMIC_FIELDS(outFields);
	super::__GetFields(outFields);
};

static ::String sStaticFields[] = {
	String(null()) };

static ::String sMemberFields[] = {
	HX_CSTRING("resolve"),
	HX_CSTRING("__x"),
	String(null()) };

static void sMarkStatics(HX_MARK_PARAMS) {
	HX_MARK_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass");
};

static void sVisitStatics(HX_VISIT_PARAMS) {
	HX_VISIT_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass");
};

Class HasAttribAccess_obj::__mClass;

void HasAttribAccess_obj::__register()
{
开发者ID:dylanmarcus,项目名称:stencylworks,代码行数:31,代码来源:HasAttribAccess.cpp


注:本文中的HX_CSTRING函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。