本文整理汇总了C++中Dynamic::__GetItem方法的典型用法代码示例。如果您正苦于以下问题:C++ Dynamic::__GetItem方法的具体用法?C++ Dynamic::__GetItem怎么用?C++ Dynamic::__GetItem使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Dynamic
的用法示例。
在下文中一共展示了Dynamic::__GetItem方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: null
HX_STACK_ARG(v,"v")
HX_STACK_ARG(infos,"infos")
HX_STACK_LINE(73)
if (((bool((infos != null())) && bool((infos->__Field(HX_CSTRING("customParams"),true) != null()))))){
HX_STACK_LINE(74)
::String extra = HX_CSTRING(""); HX_STACK_VAR(extra,"extra");
HX_STACK_LINE(75)
{
HX_STACK_LINE(75)
int _g = (int)0; HX_STACK_VAR(_g,"_g");
HX_STACK_LINE(75)
Dynamic _g1 = infos->__Field(HX_CSTRING("customParams"),true); HX_STACK_VAR(_g1,"_g1");
HX_STACK_LINE(75)
while(((_g < _g1->__Field(HX_CSTRING("length"),true)))){
HX_STACK_LINE(75)
Dynamic v1 = _g1->__GetItem(_g); HX_STACK_VAR(v1,"v1");
HX_STACK_LINE(75)
++(_g);
HX_STACK_LINE(76)
hx::AddEq(extra,(HX_CSTRING(",") + ::Std_obj::string(v1)));
}
}
HX_STACK_LINE(77)
__trace((::Std_obj::string(v) + extra),infos);
}
else{
HX_STACK_LINE(80)
__trace(v,infos);
}
}
return null();
示例2: null
++(_g);
HX_STACK_LINE(33)
if ((::Std_obj::is(filter,this->filterClass))){
HX_STACK_LINE(35)
this->filter = filter;
}
}
}
}
else{
HX_STACK_LINE(43)
this->filterIndex = properties->__Field(HX_CSTRING("filter"),true);
HX_STACK_LINE(44)
Dynamic _g = (hx::TCast< openfl::_v2::display::DisplayObject >::cast(target))->get_filters(); HX_STACK_VAR(_g,"_g");
HX_STACK_LINE(44)
::openfl::_v2::filters::BitmapFilter _g1 = _g->__GetItem(this->filterIndex); HX_STACK_VAR(_g1,"_g1");
HX_STACK_LINE(44)
this->filter = _g1;
}
}
;
return null();
}
//FilterActuator_obj::~FilterActuator_obj() { }
Dynamic FilterActuator_obj::__CreateEmpty() { return new FilterActuator_obj; }
hx::ObjectPtr< FilterActuator_obj > FilterActuator_obj::__new(Dynamic target,Float duration,Dynamic properties)
{ hx::ObjectPtr< FilterActuator_obj > result = new FilterActuator_obj();
result->__construct(target,duration,properties);
return result;}