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


C++ getSourceIndices函数代码示例

本文整理汇总了C++中getSourceIndices函数的典型用法代码示例。如果您正苦于以下问题:C++ getSourceIndices函数的具体用法?C++ getSourceIndices怎么用?C++ getSourceIndices使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: getSourceIndices

 std::vector<ScheduleTypeKey> ZoneControlContaminantController_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::CarbonDioxideControlAvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Carbon Dioxide Control Availability"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::CarbonDioxideSetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Carbon Dioxide Setpoint"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::MinimumCarbonDioxideConcentrationScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Minimum Carbon Dioxide Concentration"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::GenericContaminantControlAvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Generic Contaminant Control Availability"));
   }
   if (std::find(b,e,OS_ZoneControl_ContaminantControllerFields::GenericContaminantSetpointScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneControlContaminantController","Generic Contaminant Setpoint"));
   }
   return result;
 }
开发者ID:Anto-F,项目名称:OpenStudio,代码行数:27,代码来源:ZoneControlContaminantController.cpp

示例2: getSourceIndices

 std::vector<ScheduleTypeKey> AirTerminalSingleDuctUncontrolled_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AirTerminal_SingleDuct_UncontrolledFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("AirTerminalSingleDuctUncontrolled","Availability"));
   }
   return result;
 }
开发者ID:ChengXinDL,项目名称:OpenStudio,代码行数:11,代码来源:AirTerminalSingleDuctUncontrolled.cpp

示例3: getSourceIndices

std::vector<ScheduleTypeKey> SiteWaterMainsTemperature_Impl::getScheduleTypeKeys(const Schedule& schedule) const
{
    std::vector<ScheduleTypeKey> result;
    UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
    UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
    if (std::find(b,e,OS_Site_WaterMainsTemperatureFields::TemperatureScheduleName) != e)
    {
        result.push_back(ScheduleTypeKey("SiteWaterMainsTemperature","Temperature"));
    }
    return result;
}
开发者ID:jbl5088,项目名称:OpenStudio,代码行数:11,代码来源:SiteWaterMainsTemperature.cpp

示例4: getSourceIndices

 std::vector<ScheduleTypeKey> ThermalStorageIceDetailed_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ThermalStorage_Ice_DetailedFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("ThermalStorageIceDetailed","Availability Schedule"));
   }
   return result;
 }
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:11,代码来源:ThermalStorageIceDetailed.cpp

示例5: getSourceIndices

 std::vector<ScheduleTypeKey> HeaderedPumpsVariableSpeed_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_HeaderedPumps_VariableSpeedFields::PumpFlowRateSchedule) != e)
   {
     result.push_back(ScheduleTypeKey("HeaderedPumpsVariableSpeed","Pump Flow Rate Schedule"));
   }
   return result;
 }
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:11,代码来源:HeaderedPumpsVariableSpeed.cpp

示例6: getSourceIndices

 std::vector<ScheduleTypeKey> SpaceInfiltrationEffectiveLeakageArea_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_SpaceInfiltration_EffectiveLeakageAreaFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("SpaceInfiltrationEffectiveLeakageArea","Infiltration"));
   }
   return result;
 }
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:11,代码来源:SpaceInfiltrationEffectiveLeakageArea.cpp

示例7: getSourceIndices

 // Availability Schedule
 std::vector<ScheduleTypeKey> AirTerminalDualDuctVAVOutdoorAir_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AirTerminal_DualDuct_VAV_OutdoorAirFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AirTerminalDualDuctVAVOutdoorAir","Availability Schedule"));
   }
   return result;
 }
开发者ID:NREL,项目名称:OpenStudio,代码行数:12,代码来源:AirTerminalDualDuctVAVOutdoorAir.cpp

示例8: getSourceIndices

 std::vector<ScheduleTypeKey> HotWaterEquipment_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_HotWaterEquipmentFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("HotWaterEquipment","Hot Water Equipment"));
   }
   return result;
 }
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:11,代码来源:HotWaterEquipment.cpp

示例9: getSourceIndices

 std::vector<ScheduleTypeKey> ZoneHVACEnergyRecoveryVentilatorController_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_EnergyRecoveryVentilator_ControllerFields::TimeofDayEconomizerFlowControlScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACEnergyRecoveryVentilatorController","Time of Day Economizer Flow Control"));
   }
   return result;
 }
开发者ID:jtanaa,项目名称:OpenStudio,代码行数:11,代码来源:ZoneHVACEnergyRecoveryVentilatorController.cpp

示例10: getSourceIndices

 std::vector<ScheduleTypeKey> EvaporativeFluidCoolerSingleSpeed_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_EvaporativeFluidCooler_SingleSpeedFields::BlowdownMakeupWaterUsageScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("EvaporativeFluidCoolerSingleSpeed","Blowdown Makeup Water Usage"));
   }
   return result;
 }
开发者ID:ORNL-BTRIC,项目名称:OpenStudio,代码行数:11,代码来源:EvaporativeFluidCoolerSingleSpeed.cpp

示例11: getSourceIndices

 std::vector<ScheduleTypeKey> ZoneHVACBaseboardConvectiveElectric_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_Baseboard_Convective_ElectricFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACBaseboardConvectiveElectric","Availability"));
   }
   return result;
 }
开发者ID:pepsi7959,项目名称:OpenStudio,代码行数:11,代码来源:ZoneHVACBaseboardConvectiveElectric.cpp

示例12: getSourceIndices

 std::vector<ScheduleTypeKey> ZoneHVACLowTempRadiantVarFlow_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_LowTemperatureRadiant_VariableFlowFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACLowTempRadiantVarFlow","Availability"));
   }
   return result;
 }
开发者ID:pepsi7959,项目名称:OpenStudio,代码行数:11,代码来源:ZoneHVACLowTempRadiantVarFlow.cpp

示例13: getSourceIndices

 std::vector<ScheduleTypeKey> ZoneHVACEnergyRecoveryVentilator_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_ZoneHVAC_EnergyRecoveryVentilatorFields::AvailabilityScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("ZoneHVACEnergyRecoveryVentilator","Availability"));
   }
   return result;
 }
开发者ID:MatthewSteen,项目名称:OpenStudio,代码行数:11,代码来源:ZoneHVACEnergyRecoveryVentilator.cpp

示例14: getSourceIndices

 std::vector<ScheduleTypeKey> AvailabilityManagerScheduled_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AvailabilityManager_ScheduledFields::ScheduleName) != e)
   {
     result.push_back(ScheduleTypeKey("AvailabilityManagerScheduled","Availability"));
   }
   return result;
 }
开发者ID:ChengXinDL,项目名称:OpenStudio,代码行数:11,代码来源:AvailabilityManagerScheduled.cpp

示例15: getSourceIndices

 std::vector<ScheduleTypeKey> AirTerminalSingleDuctVAVHeatAndCoolNoReheat_Impl::getScheduleTypeKeys(const Schedule& schedule) const
 {
   std::vector<ScheduleTypeKey> result;
   UnsignedVector fieldIndices = getSourceIndices(schedule.handle());
   UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end());
   if (std::find(b,e,OS_AirTerminal_SingleDuct_VAV_HeatAndCool_NoReheatFields::AvailabilitySchedule) != e)
   {
     result.push_back(ScheduleTypeKey("AirTerminalSingleDuctVAVHeatAndCoolNoReheat","Availability Schedule"));
   }
   return result;
 }
开发者ID:NREL,项目名称:OpenStudio,代码行数:11,代码来源:AirTerminalSingleDuctVAVHeatAndCoolNoReheat.cpp


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