示例#1
0
	ModalLayer_p ModalLayer::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ModalLayer_p( static_cast<ModalLayer*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#2
0
	Image_p Image::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Image_p( static_cast<Image*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#3
0
	Container_p Container::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Container_p( static_cast<Container*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#4
0
Button_p Button::cast( const Object_p& pObject )
{
    if( pObject && pObject->isInstanceOf(CLASSNAME) )
        return Button_p( static_cast<Button*>(pObject.rawPtr()) );

    return 0;
}
示例#5
0
	Panel_p Panel::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Panel_p( static_cast<Panel*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#6
0
	TextEditor_p TextEditor::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return TextEditor_p( static_cast<TextEditor*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#7
0
	Knob_p Knob::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Knob_p( static_cast<Knob*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#8
0
	BitmapGlyphs_p BitmapGlyphs::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return BitmapGlyphs_p( static_cast<BitmapGlyphs*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#9
0
	ColorSkin_p ColorSkin::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ColorSkin_p( static_cast<ColorSkin*>(pObject.rawPtr()) );
	
		return 0;
	}
	UniformSizeBroker_p UniformSizeBroker::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return UniformSizeBroker_p( static_cast<UniformSizeBroker*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#11
0
	TimeFormatter_p TimeFormatter::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return TimeFormatter_p( static_cast<TimeFormatter*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#12
0
	Font_p Font::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Font_p( static_cast<Font*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#13
0
	SimpleVolumeMeter_p SimpleVolumeMeter::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return SimpleVolumeMeter_p( static_cast<SimpleVolumeMeter*>(pObject.rawPtr()) );
	
		return 0;
	}
	ScalePreferredSizeBroker_p ScalePreferredSizeBroker::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ScalePreferredSizeBroker_p( static_cast<ScalePreferredSizeBroker*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#15
0
	Capsule_p Capsule::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Capsule_p( static_cast<Capsule*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#16
0
	InputHandler_p InputHandler::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return InputHandler_p( static_cast<InputHandler*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#17
0
	MsgFunc_p MsgFunc::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return MsgFunc_p( static_cast<MsgFunc*>(pObject.rawPtr()) );
	
		return 0;
	}
	StandardPresenter_p StandardPresenter::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return StandardPresenter_p( static_cast<StandardPresenter*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#19
0
	Menubar_p Menubar::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return Menubar_p( static_cast<Menubar*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#20
0
	ValueDisplay_p ValueDisplay::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return ValueDisplay_p( static_cast<ValueDisplay*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#21
0
	TestWidget_p TestWidget::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return TestWidget_p( static_cast<TestWidget*>(pObject.rawPtr()) );
	
		return 0;
	}
示例#22
0
	SurfaceFactory_p SurfaceFactory::cast( const Object_p& pObject )
	{
		if( pObject && pObject->isInstanceOf(CLASSNAME) )
			return SurfaceFactory_p( static_cast<SurfaceFactory*>(pObject.rawPtr()) );
	
		return 0;
	}