本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}