Win32 API 日本語リファレンス
ホームMedia.Speech › SpeechGrammarRuleStateTransitionType

SpeechGrammarRuleStateTransitionType

列挙型
基底型i4

メンバー 6

名前10進16進
SGRSTTEpsilon00x0
SGRSTTWord10x1
SGRSTTRule20x2
SGRSTTDictation30x3
SGRSTTWildcard40x4
SGRSTTTextBuffer50x5

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum SpeechGrammarRuleStateTransitionType : int {
    SGRSTTEpsilon = 0,
    SGRSTTWord = 1,
    SGRSTTRule = 2,
    SGRSTTDictation = 3,
    SGRSTTWildcard = 4,
    SGRSTTTextBuffer = 5
} SpeechGrammarRuleStateTransitionType;
public enum SpeechGrammarRuleStateTransitionType : int
{
    SGRSTTEpsilon = 0,
    SGRSTTWord = 1,
    SGRSTTRule = 2,
    SGRSTTDictation = 3,
    SGRSTTWildcard = 4,
    SGRSTTTextBuffer = 5,
}
Public Enum SpeechGrammarRuleStateTransitionType As Integer
    SGRSTTEpsilon = 0
    SGRSTTWord = 1
    SGRSTTRule = 2
    SGRSTTDictation = 3
    SGRSTTWildcard = 4
    SGRSTTTextBuffer = 5
End Enum
import enum

class SpeechGrammarRuleStateTransitionType(enum.IntEnum):
    SGRSTTEpsilon = 0
    SGRSTTWord = 1
    SGRSTTRule = 2
    SGRSTTDictation = 3
    SGRSTTWildcard = 4
    SGRSTTTextBuffer = 5
// SpeechGrammarRuleStateTransitionType
pub const SGRSTTEpsilon: i32 = 0;
pub const SGRSTTWord: i32 = 1;
pub const SGRSTTRule: i32 = 2;
pub const SGRSTTDictation: i32 = 3;
pub const SGRSTTWildcard: i32 = 4;
pub const SGRSTTTextBuffer: i32 = 5;
// SpeechGrammarRuleStateTransitionType
const (
	SGRSTTEpsilon int32 = 0
	SGRSTTWord int32 = 1
	SGRSTTRule int32 = 2
	SGRSTTDictation int32 = 3
	SGRSTTWildcard int32 = 4
	SGRSTTTextBuffer int32 = 5
)
const
  SGRSTTEpsilon = 0;
  SGRSTTWord = 1;
  SGRSTTRule = 2;
  SGRSTTDictation = 3;
  SGRSTTWildcard = 4;
  SGRSTTTextBuffer = 5;
// SpeechGrammarRuleStateTransitionType
pub const SGRSTTEpsilon: i32 = 0;
pub const SGRSTTWord: i32 = 1;
pub const SGRSTTRule: i32 = 2;
pub const SGRSTTDictation: i32 = 3;
pub const SGRSTTWildcard: i32 = 4;
pub const SGRSTTTextBuffer: i32 = 5;
const
  SGRSTTEpsilon* = 0
  SGRSTTWord* = 1
  SGRSTTRule* = 2
  SGRSTTDictation* = 3
  SGRSTTWildcard* = 4
  SGRSTTTextBuffer* = 5
enum SpeechGrammarRuleStateTransitionType : int {
    SGRSTTEpsilon = 0,
    SGRSTTWord = 1,
    SGRSTTRule = 2,
    SGRSTTDictation = 3,
    SGRSTTWildcard = 4,
    SGRSTTTextBuffer = 5,
}
#define global SGRSTTEpsilon    0x0
#define global SGRSTTWord       0x1
#define global SGRSTTRule       0x2
#define global SGRSTTDictation  0x3
#define global SGRSTTWildcard   0x4
#define global SGRSTTTextBuffer 0x5