翻訳と辞書
Words near each other
・ Discrimination against girls in India
・ Discrimination against people with HIV/AIDS
・ Discrimination against the homeless
・ Discrimination and National Security Initiative
・ Discrimination based on hair texture
・ Discrimination based on skin color
・ Discrimination in awarding Section 8 housing
・ Discrimination in bar exam
・ Discrimination in education
・ Discrimination in Ghana
・ Discrimination in the United States
・ Discrimination learning
・ Discrimination testing
・ Discrimination towards non-binary gender persons
・ Discriminative model
Discriminator
・ Discriminatory Legislation regarding Public Amenities Repeal Act, 1990
・ Discs of Tron
・ DiscT@2
・ Discula
・ Discula bulweri
・ Discula cheiranthicola
・ Discula destructiva
・ Discula leacockiana
・ Discula lyelliana
・ Discula rotula
・ Discula tabellata
・ Discula testudinalis
・ Discula tetrica
・ Disculella


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Discriminator : ウィキペディア英語版
Discriminator

In distributed computing, a discriminator is a typed tag field present in OMG IDL discriminated union type and value definitions that determines which union member is selected in the current union instance.〔(CORBA/IIOP Specification 3.0.3 ), March 12, 2004, OMG.org〕〔(CORBA 3.0 - IDL Syntax and Semantics chapter ), March 12, 2004, OMG.org〕 Unlike in some conventional programming languages offering support for unions, discriminator in IDL is not identical to selected field name. Here is an example of IDL union type definition:

union Register switch (char)
;

Effective value of the ''Register'' type may contain AX as selected field, but discriminator value may be either 'a' or 'b' and it is stored in memory separately. Therefore, IDL logically separates information about currently selected field name and union effective value from information about current discriminator value. In the example above, discriminator value may be anything of the following: 'a', 'b', 'c', as well as all other characters belonging to the IDL char type, since the default branch specified in the example ''Register'' type allows use of the remaining characters as well.
==Other languages==
The Microsoft Interface Definition Language also supports tagged unions, allowing to choose the discriminator via an attribute in an enclosing structure or function.〔(Microsoft discriminator attribute documentation )〕

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Discriminator」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.