• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ Escher_IteratorNext函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: ooaofooa_DOC_TBL_op_validate

/*
 * class operation:  validate
 */
void
ooaofooa_DOC_TBL_op_validate()
{
  ooaofooa_DOC_TBL * doc_tbl=0;Escher_ObjectSet_s doc_tbls_space={0}; Escher_ObjectSet_s * doc_tbls = &doc_tbls_space;
  /* SELECT many doc_tbls FROM INSTANCES OF DOC_TBL */
  Escher_CopySet( doc_tbls, &pG_ooaofooa_DOC_TBL_extent.active );
  /* FOR EACH doc_tbl IN doc_tbls */
  { Escher_Iterator_s iterdoc_tbl;
  ooaofooa_DOC_TBL * iidoc_tbl;
  Escher_IteratorReset( &iterdoc_tbl, doc_tbls );
  while ( (iidoc_tbl = (ooaofooa_DOC_TBL *)Escher_IteratorNext( &iterdoc_tbl )) != 0 ) {
    doc_tbl = iidoc_tbl; {
    ooaofooa_DOC_ROW * doc_row=0;ooaofooa_DOC_PAR * parent_doc_par=0;
    /* SELECT one parent_doc_par RELATED BY doc_tbl->DOC_PAR[R2315] */
    parent_doc_par = ( 0 != doc_tbl ) ? doc_tbl->DOC_PAR_R2315 : 0;
    /* SELECT one doc_row RELATED BY doc_tbl->DOC_ROW[R2317] */
    doc_row = ( 0 != doc_tbl ) ? doc_tbl->DOC_ROW_R2317_has_first : 0;
    /* IF ( ( empty parent_doc_par or empty doc_row ) ) */
    if ( ( ( 0 == parent_doc_par ) || ( 0 == doc_row ) ) ) {
      /* LOG::LogFailure( message:( ( !Table  + doc_tbl.title ) +  is not linked. ) ) */
      LOG_LogFailure( Escher_stradd( Escher_stradd( "!Table ", doc_tbl->title ), " is not linked." ) );
    }
  }}}
  Escher_ClearSet( doc_tbls );

}
开发者ID:cmccausl,项目名称:mc,代码行数:29,代码来源:ooaofooa_DOC_TBL_class.c


示例2: ooaofooa_ACT_IOP_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_ACT_IOP *
ooaofooa_ACT_IOP_AnyWhere1( Escher_UniqueID_t w_Statement_ID )
{
  ooaofooa_ACT_IOP * w; 
  Escher_Iterator_s iter_ACT_IOP;
  Escher_IteratorReset( &iter_ACT_IOP, &pG_ooaofooa_ACT_IOP_extent.active );
  while ( (w = (ooaofooa_ACT_IOP *) Escher_IteratorNext( &iter_ACT_IOP )) != 0 ) {
    if ( w->Statement_ID == w_Statement_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_ACT_IOP_class.c


示例3: ooaofooa_TE_PO_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_TE_PO *
ooaofooa_TE_PO_AnyWhere1( Escher_UniqueID_t w_ID )
{
  ooaofooa_TE_PO * w; 
  Escher_Iterator_s iter_TE_PO;
  Escher_IteratorReset( &iter_TE_PO, &pG_ooaofooa_TE_PO_extent.active );
  while ( (w = (ooaofooa_TE_PO *) Escher_IteratorNext( &iter_TE_PO )) != 0 ) {
    if ( w->ID == w_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_TE_PO_class.c


示例4: ooaofooa_TE_SYNC_AnyWhere2

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_TE_SYNC *
ooaofooa_TE_SYNC_AnyWhere2( Escher_UniqueID_t w_ID )
{
  ooaofooa_TE_SYNC * w; 
  Escher_Iterator_s iter_TE_SYNC;
  Escher_IteratorReset( &iter_TE_SYNC, &pG_ooaofooa_TE_SYNC_extent.active );
  while ( (w = (ooaofooa_TE_SYNC *) Escher_IteratorNext( &iter_TE_SYNC )) != 0 ) {
    if ( w->ID == w_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_TE_SYNC_class.c


示例5: ooaofooa_SPR_PS_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_SPR_PS *
ooaofooa_SPR_PS_AnyWhere1( Escher_UniqueID_t w_Id )
{
  ooaofooa_SPR_PS * w; 
  Escher_Iterator_s iter_SPR_PS;
  Escher_IteratorReset( &iter_SPR_PS, &pG_ooaofooa_SPR_PS_extent.active );
  while ( (w = (ooaofooa_SPR_PS *) Escher_IteratorNext( &iter_SPR_PS )) != 0 ) {
    if ( w->Id == w_Id ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_SPR_PS_class.c


示例6: ooaofooa_MSG_SM_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_MSG_SM *
ooaofooa_MSG_SM_AnyWhere1( Escher_UniqueID_t w_Msg_ID )
{
  ooaofooa_MSG_SM * w; 
  Escher_Iterator_s iter_MSG_SM;
  Escher_IteratorReset( &iter_MSG_SM, &pG_ooaofooa_MSG_SM_extent.active );
  while ( (w = (ooaofooa_MSG_SM *) Escher_IteratorNext( &iter_MSG_SM )) != 0 ) {
    if ( w->Msg_ID == w_Msg_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_MSG_SM_class.c


示例7: ooaofooa_O_IOBJ_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_O_IOBJ *
ooaofooa_O_IOBJ_AnyWhere1( Escher_UniqueID_t w_IObj_ID )
{
    ooaofooa_O_IOBJ * w;
    Escher_Iterator_s iter_O_IOBJ;
    Escher_IteratorReset( &iter_O_IOBJ, &pG_ooaofooa_O_IOBJ_extent.active );
    while ( (w = (ooaofooa_O_IOBJ *) Escher_IteratorNext( &iter_O_IOBJ )) != 0 ) {
        if ( w->IObj_ID == w_IObj_ID ) {
            return w;
        }
    }
    return 0;
}
开发者ID:marnil,项目名称:mc,代码行数:16,代码来源:ooaofooa_O_IOBJ_class.c


示例8: ooaofooa_SM_EVTDI_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_SM_EVTDI *
ooaofooa_SM_EVTDI_AnyWhere1( Escher_UniqueID_t w_SMedi_ID, Escher_UniqueID_t w_SM_ID )
{
  ooaofooa_SM_EVTDI * w; 
  Escher_Iterator_s iter_SM_EVTDI;
  Escher_IteratorReset( &iter_SM_EVTDI, &pG_ooaofooa_SM_EVTDI_extent.active );
  while ( (w = (ooaofooa_SM_EVTDI *) Escher_IteratorNext( &iter_SM_EVTDI )) != 0 ) {
    if ( w->SMedi_ID == w_SMedi_ID && w->SM_ID == w_SM_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_SM_EVTDI_class.c


示例9: ooaofooa_R_SIMP_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_R_SIMP *
ooaofooa_R_SIMP_AnyWhere1( Escher_UniqueID_t w_Rel_ID )
{
  ooaofooa_R_SIMP * w; 
  Escher_Iterator_s iter_R_SIMP;
  Escher_IteratorReset( &iter_R_SIMP, &pG_ooaofooa_R_SIMP_extent.active );
  while ( (w = (ooaofooa_R_SIMP *) Escher_IteratorNext( &iter_R_SIMP )) != 0 ) {
    if ( w->Rel_ID == w_Rel_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_R_SIMP_class.c


示例10: ooaofooa_SQ_CPA_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_SQ_CPA *
ooaofooa_SQ_CPA_AnyWhere1( Escher_UniqueID_t w_Ia_ID )
{
  ooaofooa_SQ_CPA * w; 
  Escher_Iterator_s iter_SQ_CPA;
  Escher_IteratorReset( &iter_SQ_CPA, &pG_ooaofooa_SQ_CPA_extent.active );
  while ( (w = (ooaofooa_SQ_CPA *) Escher_IteratorNext( &iter_SQ_CPA )) != 0 ) {
    if ( w->Ia_ID == w_Ia_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_SQ_CPA_class.c


示例11: ooaofooa_I_STF_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_I_STF *
ooaofooa_I_STF_AnyWhere1( Escher_UniqueID_t w_Stack_Frame_ID )
{
  ooaofooa_I_STF * w; 
  Escher_Iterator_s iter_I_STF;
  Escher_IteratorReset( &iter_I_STF, &pG_ooaofooa_I_STF_extent.active );
  while ( (w = (ooaofooa_I_STF *) Escher_IteratorNext( &iter_I_STF )) != 0 ) {
    if ( w->Stack_Frame_ID == w_Stack_Frame_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_I_STF_class.c


示例12: ooaofooa_CSME_CIE_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_CSME_CIE *
ooaofooa_CSME_CIE_AnyWhere1( Escher_UniqueID_t w_CIE_ID )
{
  ooaofooa_CSME_CIE * w; 
  Escher_Iterator_s iter_CSME_CIE;
  Escher_IteratorReset( &iter_CSME_CIE, &pG_ooaofooa_CSME_CIE_extent.active );
  while ( (w = (ooaofooa_CSME_CIE *) Escher_IteratorNext( &iter_CSME_CIE )) != 0 ) {
    if ( w->CIE_ID == w_CIE_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_CSME_CIE_class.c


示例13: ooaofooa_TE_DIM_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_TE_DIM *
ooaofooa_TE_DIM_AnyWhere1( Escher_UniqueID_t w_te_dimID )
{
  ooaofooa_TE_DIM * w; 
  Escher_Iterator_s iter_TE_DIM;
  Escher_IteratorReset( &iter_TE_DIM, &pG_ooaofooa_TE_DIM_extent.active );
  while ( (w = (ooaofooa_TE_DIM *) Escher_IteratorNext( &iter_TE_DIM )) != 0 ) {
    if ( w->te_dimID == w_te_dimID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_TE_DIM_class.c


示例14: ooaofooa_S_BRG_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_S_BRG *
ooaofooa_S_BRG_AnyWhere1( Escher_UniqueID_t w_Brg_ID )
{
  ooaofooa_S_BRG * w; 
  Escher_Iterator_s iter_S_BRG;
  Escher_IteratorReset( &iter_S_BRG, &pG_ooaofooa_S_BRG_extent.active );
  while ( (w = (ooaofooa_S_BRG *) Escher_IteratorNext( &iter_S_BRG )) != 0 ) {
    if ( w->Brg_ID == w_Brg_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_S_BRG_class.c


示例15: ooaofooa_SM_EVT_AnyWhere2

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_SM_EVT *
ooaofooa_SM_EVT_AnyWhere2( Escher_UniqueID_t w_SMevt_ID, Escher_UniqueID_t w_SM_ID, Escher_UniqueID_t w_SMspd_ID )
{
  ooaofooa_SM_EVT * w; 
  Escher_Iterator_s iter_SM_EVT;
  Escher_IteratorReset( &iter_SM_EVT, &pG_ooaofooa_SM_EVT_extent.active );
  while ( (w = (ooaofooa_SM_EVT *) Escher_IteratorNext( &iter_SM_EVT )) != 0 ) {
    if ( w->SMevt_ID == w_SMevt_ID && w->SM_ID == w_SM_ID && w->SMspd_ID == w_SMspd_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_SM_EVT_class.c


示例16: ooaofooa_ACT_BLK_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_ACT_BLK *
ooaofooa_ACT_BLK_AnyWhere1( Escher_UniqueID_t w_Block_ID )
{
  ooaofooa_ACT_BLK * w; 
  Escher_Iterator_s iter_ACT_BLK;
  Escher_IteratorReset( &iter_ACT_BLK, &pG_ooaofooa_ACT_BLK_extent.active );
  while ( (w = (ooaofooa_ACT_BLK *) Escher_IteratorNext( &iter_ACT_BLK )) != 0 ) {
    if ( w->Block_ID == w_Block_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_ACT_BLK_class.c


示例17: ooaofooa_C_P_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_C_P *
ooaofooa_C_P_AnyWhere1( Escher_UniqueID_t w_Provision_Id )
{
  ooaofooa_C_P * w; 
  Escher_Iterator_s iter_C_P;
  Escher_IteratorReset( &iter_C_P, &pG_ooaofooa_C_P_extent.active );
  while ( (w = (ooaofooa_C_P *) Escher_IteratorNext( &iter_C_P )) != 0 ) {
    if ( w->Provision_Id == w_Provision_Id ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_C_P_class.c


示例18: ooaofooa_TE_SMT_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_TE_SMT *
ooaofooa_TE_SMT_AnyWhere1( Escher_UniqueID_t w_Statement_ID )
{
  ooaofooa_TE_SMT * w; 
  Escher_Iterator_s iter_TE_SMT;
  Escher_IteratorReset( &iter_TE_SMT, &pG_ooaofooa_TE_SMT_extent.active );
  while ( (w = (ooaofooa_TE_SMT *) Escher_IteratorNext( &iter_TE_SMT )) != 0 ) {
    if ( w->Statement_ID == w_Statement_ID ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_TE_SMT_class.c


示例19: ooaofooa_C_IR_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_C_IR *
ooaofooa_C_IR_AnyWhere1( Escher_UniqueID_t w_Id )
{
  ooaofooa_C_IR * w; 
  Escher_Iterator_s iter_C_IR;
  Escher_IteratorReset( &iter_C_IR, &pG_ooaofooa_C_IR_extent.active );
  while ( (w = (ooaofooa_C_IR *) Escher_IteratorNext( &iter_C_IR )) != 0 ) {
    if ( w->Id == w_Id ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_C_IR_class.c


示例20: ooaofooa_PE_CRS_AnyWhere1

/*
 * Scan the extent for a matching instance.
 */
ooaofooa_PE_CRS *
ooaofooa_PE_CRS_AnyWhere1( Escher_UniqueID_t w_Id, c_t * w_Name, sys_ElementTypeConstants_t w_Type )
{
  ooaofooa_PE_CRS * w; 
  Escher_Iterator_s iter_PE_CRS;
  Escher_IteratorReset( &iter_PE_CRS, &pG_ooaofooa_PE_CRS_extent.active );
  while ( (w = (ooaofooa_PE_CRS *) Escher_IteratorNext( &iter_PE_CRS )) != 0 ) {
    if ( w->Id == w_Id && w->Name == w_Name && w->Type == w_Type ) {
      return w;
    }
  }
  return 0;
}
开发者ID:HebaKhaled,项目名称:bposs,代码行数:16,代码来源:ooaofooa_PE_CRS_class.c



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ Escher_SetInsertElement函数代码示例发布时间:2022-05-30
下一篇:
C++ EscapeCommFunction函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap