【机器视觉】 default算子
生活随笔
收集整理的這篇文章主要介紹了
【机器视觉】 default算子
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
00. 目錄
文章目錄
- 00. 目錄
- 01. 概述
- 02. 簽名
- 03. 描述
- 04. 注意
- 05. 參數(shù)
- 06. 結(jié)果
- 07. 附錄
01. 概述
default - switch段中的默認(rèn)分支。
02. 簽名
default( : : : )
03. 描述
default在switch段中開放備用分支。 如果switch語(yǔ)句的控制表達(dá)式的計(jì)算結(jié)果不匹配前面的case語(yǔ)句的任何整數(shù)常量,則訪問該分支。
原文描述:
default opens an alternative branch in a switch block. This branch is accessed if the calculated control expression of the switch statement does not match any of the integer constants of the previous case statements.
04. 注意
無
05. 參數(shù)
無
06. 結(jié)果
default(作為算子)總是返回2(H_MSG_TRUE)。
HDevelop例程
switch_case.hdev Use switch/case statement for a multiway branch
程序示例
07. 附錄
7.1 機(jī)器視覺博客匯總
網(wǎng)址:https://dengjin.blog.csdn.net/article/details/116837497
總結(jié)
以上是生活随笔為你收集整理的【机器视觉】 default算子的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【机器视觉】 continue算子
- 下一篇: 【机器视觉】 else算子