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


C++ HX_FIELD_EQ函数代码示例

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


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

示例1: switch

hx::Val TouchInfo_obj::__Field(const ::String &inName,hx::PropertyAccess inCallProp)
{
	switch(inName.length) {
	case 16:
		if (HX_FIELD_EQ(inName,"touchOverObjects") ) { return hx::Val( touchOverObjects); }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:CannibalCat,项目名称:Legend-of-Qwerty,代码行数:8,代码来源:TouchInfo.cpp

示例2: switch

Dynamic CircleCollider_obj::__SetField(const ::String &inName,const Dynamic &inValue,hx::PropertyAccess inCallProp)
{
	switch(inName.length) {
	case 7:
		if (HX_FIELD_EQ(inName,"options") ) { options=inValue.Cast< Dynamic >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:TheOneZealot,项目名称:Mutant,代码行数:8,代码来源:CircleCollider.cpp

示例3: switch

bool __ASSET__assets_fonts_arial_ttf_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
	switch(inName.length) {
	case 12:
		if (HX_FIELD_EQ(inName,"resourceName") ) { resourceName=ioValue.Cast< ::String >(); return true; }
	}
	return false;
}
开发者ID:NoTalentGeek,项目名称:HaXeFlixelOpenWorldStealthGame,代码行数:8,代码来源:__ASSET__assets_fonts_arial_ttf.cpp

示例4: switch

Dynamic SoundResource_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 4:
		if (HX_FIELD_EQ(inName,"name") ) { return name; }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:desttinghim,项目名称:luxeout,代码行数:8,代码来源:SoundResource.cpp

示例5: switch

Dynamic GraphicButton_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 12:
		if (HX_FIELD_EQ(inName,"resourceName") ) { return resourceName; }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:01010111,项目名称:TileUtilPropertyEditor,代码行数:8,代码来源:GraphicButton.cpp

示例6: switch

Dynamic State_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	switch(inName.length) {
	case 11:
		if (HX_FIELD_EQ(inName,"targetState") ) { targetState=inValue.Cast< ::graphite::State >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:oxue,项目名称:libgraphiteecsext,代码行数:8,代码来源:State.cpp

示例7: switch

Dynamic KC8ObjectContainer_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 4:
		if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); }
		break;
	case 6:
		if (HX_FIELD_EQ(inName,"unload") ) { return unload_dyn(); }
		break;
	case 8:
		if (HX_FIELD_EQ(inName,"children") ) { return children; }
		break;
	case 12:
		if (HX_FIELD_EQ(inName,"addKC8Object") ) { return addKC8Object_dyn(); }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:oxue,项目名称:libgraphiteecsext,代码行数:17,代码来源:KC8ObjectContainer.cpp

示例8: switch

Dynamic EndScene_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	switch(inName.length) {
	case 13:
		if (HX_FIELD_EQ(inName,"restartButton") ) { restartButton=inValue.Cast< ::com::haxepunk::Entity >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:jordonr,项目名称:CandyAppleKingSaga,代码行数:8,代码来源:EndScene.cpp

示例9: switch

Dynamic JNIStaticField_obj::__SetField(const ::String &inName,const Dynamic &inValue,hx::PropertyAccess inCallProp)
{
	switch(inName.length) {
	case 5:
		if (HX_FIELD_EQ(inName,"field") ) { field=inValue.Cast< Dynamic >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:Soshanna,项目名称:Project-Block-1.4,代码行数:8,代码来源:JNIStaticField.cpp

示例10: switch

Dynamic UISliderX_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 6:
		if (HX_FIELD_EQ(inName,"layout") ) { return layout_dyn(); }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:danfreeman,项目名称:MadComponentsOpenFL,代码行数:8,代码来源:UISliderX.cpp

示例11: switch

bool ZNPNode_ZPP_GeomPoly_obj::__SetStatic(const ::String &inName,Dynamic &ioValue,hx::PropertyAccess inCallProp)
{
	switch(inName.length) {
	case 8:
		if (HX_FIELD_EQ(inName,"zpp_pool") ) { zpp_pool=ioValue.Cast< ::zpp_nape::util::ZNPNode_ZPP_GeomPoly >(); return true; }
	}
	return false;
}
开发者ID:TheOneZealot,项目名称:Mutant,代码行数:8,代码来源:ZNPNode_ZPP_GeomPoly.cpp

示例12: switch

Dynamic TouchInfo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	switch(inName.length) {
	case 16:
		if (HX_FIELD_EQ(inName,"touchOverObjects") ) { touchOverObjects=inValue.Cast< Array< ::Dynamic > >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:DrSkipper,项目名称:twogames,代码行数:8,代码来源:TouchInfo.cpp

示例13: switch

Dynamic BytesBuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp)
{
	switch(inName.length) {
	case 1:
		if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; }
	}
	return super::__SetField(inName,inValue,inCallProp);
}
开发者ID:as3boyan,项目名称:Uber-Duper-Simulation,代码行数:8,代码来源:BytesBuffer.cpp

示例14: switch

Dynamic GlyphMetrics_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 6:
		if (HX_FIELD_EQ(inName,"height") ) { return height; }
		break;
	case 7:
		if (HX_FIELD_EQ(inName,"advance") ) { return advance; }
		break;
	case 15:
		if (HX_FIELD_EQ(inName,"verticalBearing") ) { return verticalBearing; }
		break;
	case 17:
		if (HX_FIELD_EQ(inName,"horizontalBearing") ) { return horizontalBearing; }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:Nickan,项目名称:OpenFLGameTest1,代码行数:17,代码来源:GlyphMetrics.cpp

示例15: switch

Dynamic Deflate_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 3:
		if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); }
	}
	return super::__Field(inName,inCallProp);
}
开发者ID:jet6666,项目名称:swfrocks,代码行数:8,代码来源:Deflate.cpp


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