本文整理汇总了C++中ParentObject::model方法的典型用法代码示例。如果您正苦于以下问题:C++ ParentObject::model方法的具体用法?C++ ParentObject::model怎么用?C++ ParentObject::model使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ParentObject
的用法示例。
在下文中一共展示了ParentObject::model方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: setParent
bool ConvergenceLimits_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<SimulationControl>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例2: setParent
// set the parent, child may have to call methods on the parent
bool ZoneAirContaminantBalance_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<SimulationControl>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例3: setParent
// set the parent, child may have to call methods on the parent
bool ZoneCapacitanceMultiplierResearchSpecial_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<SimulationControl>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例4: setParent
// set the parent, child may have to call methods on the parent
bool RunPeriod_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<SimulationControl>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例5: setParent
// set the parent, child may have to call methods on the parent
bool InsideSurfaceConvectionAlgorithm_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<SimulationControl>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例6: setParent
// set the parent, child may have to call methods on the parent
bool HeatBalanceAlgorithm_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<SimulationControl>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例7: setParent
bool WeatherFile_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<Site>() && (newParent.model() == model())){
return true;
}
return false;
}
示例8: setParent
// set the parent, child may have to call methods on the parent
bool SizingPeriod_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<Site>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例9: setParent
// set the parent, child may have to call methods on the parent
bool RunPeriodControlSpecialDays_Impl::setParent(ParentObject& newParent)
{
if (newParent.optionalCast<YearDescription>() && (newParent.model() == model())) {
return true;
}
return false;
}
示例10: setParent
bool ClimateZones_Impl::setParent(ParentObject& newParent) {
if ( newParent.optionalCast<Site>() && (newParent.model() == model()) ){
return true;
}
return false;
}