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


C++ Object_p::rawPtr方法代码示例

本文整理汇总了C++中Object_p::rawPtr方法的典型用法代码示例。如果您正苦于以下问题:C++ Object_p::rawPtr方法的具体用法?C++ Object_p::rawPtr怎么用?C++ Object_p::rawPtr使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Object_p的用法示例。


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

示例1: cast

	InputHandler_p InputHandler::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return InputHandler_p( static_cast<InputHandler*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:,项目名称:,代码行数:7,代码来源:

示例2: cast

	BitmapGlyphs_p BitmapGlyphs::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return BitmapGlyphs_p( static_cast<BitmapGlyphs*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_bitmapglyphs.cpp

示例3: cast

	ColorSkin_p ColorSkin::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ColorSkin_p( static_cast<ColorSkin*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_colorskin.cpp

示例4: cast

	UniformSizeBroker_p UniformSizeBroker::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return UniformSizeBroker_p( static_cast<UniformSizeBroker*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_uniform_sizebroker.cpp

示例5: cast

	TimeFormatter_p TimeFormatter::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return TimeFormatter_p( static_cast<TimeFormatter*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_timeformatter.cpp

示例6: cast

	Font_p Font::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Font_p( static_cast<Font*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_font.cpp

示例7: cast

	ScalePreferredSizeBroker_p ScalePreferredSizeBroker::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ScalePreferredSizeBroker_p( static_cast<ScalePreferredSizeBroker*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_scalepreferred_sizebroker.cpp

示例8: cast

	StandardPresenter_p StandardPresenter::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return StandardPresenter_p( static_cast<StandardPresenter*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_standardpresenter.cpp

示例9: cast

	SurfaceFactory_p SurfaceFactory::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return SurfaceFactory_p( static_cast<SurfaceFactory*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_surfacefactory.cpp

示例10: cast

	Knob_p Knob::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Knob_p( static_cast<Knob*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_knob.cpp

示例11: cast

	Menubar_p Menubar::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Menubar_p( static_cast<Menubar*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tordj,项目名称:WonderGUI,代码行数:7,代码来源:wg_menubar.cpp

示例12: cast

	MsgFunc_p MsgFunc::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return MsgFunc_p( static_cast<MsgFunc*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_msgfunc.cpp

示例13: cast

	ModalLayer_p ModalLayer::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ModalLayer_p( static_cast<ModalLayer*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_modallayer.cpp

示例14: cast

	Panel_p Panel::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Panel_p( static_cast<Panel*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_panel.cpp

示例15: cast

	ValueDisplay_p ValueDisplay::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ValueDisplay_p( static_cast<ValueDisplay*>(pObject.rawPtr()) );
	
		return 0;
	}
开发者ID:tempbottle,项目名称:WonderGUI,代码行数:7,代码来源:wg_valuedisplay.cpp


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