本文整理汇总了C++中Object_p类的典型用法代码示例。如果您正苦于以下问题:C++ Object_p类的具体用法?C++ Object_p怎么用?C++ Object_p使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Object_p类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: cast
UniformSizeBroker_p UniformSizeBroker::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return UniformSizeBroker_p( static_cast<UniformSizeBroker*>(pObject.rawPtr()) );
return 0;
}
示例2: cast
TimeFormatter_p TimeFormatter::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return TimeFormatter_p( static_cast<TimeFormatter*>(pObject.rawPtr()) );
return 0;
}
示例3: cast
Font_p Font::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return Font_p( static_cast<Font*>(pObject.rawPtr()) );
return 0;
}
示例4: cast
SimpleVolumeMeter_p SimpleVolumeMeter::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return SimpleVolumeMeter_p( static_cast<SimpleVolumeMeter*>(pObject.rawPtr()) );
return 0;
}
示例5: cast
ScalePreferredSizeBroker_p ScalePreferredSizeBroker::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return ScalePreferredSizeBroker_p( static_cast<ScalePreferredSizeBroker*>(pObject.rawPtr()) );
return 0;
}
示例6: cast
BitmapGlyphs_p BitmapGlyphs::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return BitmapGlyphs_p( static_cast<BitmapGlyphs*>(pObject.rawPtr()) );
return 0;
}
示例7: cast
StandardPresenter_p StandardPresenter::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return StandardPresenter_p( static_cast<StandardPresenter*>(pObject.rawPtr()) );
return 0;
}
示例8: cast
Panel_p Panel::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return Panel_p( static_cast<Panel*>(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
ModalLayer_p ModalLayer::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return ModalLayer_p( static_cast<ModalLayer*>(pObject.rawPtr()) );
return 0;
}
示例11: cast
ColorSkin_p ColorSkin::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return ColorSkin_p( static_cast<ColorSkin*>(pObject.rawPtr()) );
return 0;
}
示例12: cast
Menubar_p Menubar::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return Menubar_p( static_cast<Menubar*>(pObject.rawPtr()) );
return 0;
}
示例13: cast
ValueDisplay_p ValueDisplay::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return ValueDisplay_p( static_cast<ValueDisplay*>(pObject.rawPtr()) );
return 0;
}
示例14: cast
Knob_p Knob::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return Knob_p( static_cast<Knob*>(pObject.rawPtr()) );
return 0;
}
示例15: cast
Button_p Button::cast( const Object_p& pObject )
{
if( pObject && pObject->isInstanceOf(CLASSNAME) )
return Button_p( static_cast<Button*>(pObject.rawPtr()) );
return 0;
}