An OMG IDL enumeration is a way of attaching names to Numbers, thereby giving more meaning to anyone reading the code.
O MGIDL枚举是将名称附加到数字的一种方法,从而读取代码的人就可以了解到更多的含义。
Of course, the enumeration can be assigned only one of the enumerated values (for example, a, c, or INCOMPLETE).
当然,枚举只能分配枚举值中的一个(例如,A、C或INCOMPLETE)。
Listing 7 shows a snippet of the enumeration code from the gadget XML definition of the user preference for color.
清单7显示了来自用户颜色首选项的小部件xml定义的枚举代码片段。
It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.
当枚举定义的简单类型使用常数的特殊列表时,就会需要这种类型了。
This extensive enumeration is not a complete illustration of all the sources in Windows Vista that Microsoft USES to gather end user data.
这些补充的枚举也不是所有微软如何收集用户信息的完整描述。
The comparator class is followed by the code to create an instance of the comparator and pass this as a parameter when creating a record enumeration.
紧跟comparator类之后的代码创建了一个比较器的实例,并在创建记录枚举时将其作为一个参数。
This consists of allocating an instance of our SearchFilter() class and associating this instance with a record enumeration object.
这个过程包括指派一个SearchFilter()类的实例,并把这个实例关联到记录枚举对象。
For example, if a statement starts with a token corresponding to "enum" (declaring an enumeration), the CDT parser will try to match the statement to its abstract model of an enum statement.
例如,如果语句以一个与“enum”(声明一个枚举)相应的标记作为开始,CDT解析器会试图将该语句同enum语句的抽象模型匹配起来。
Create a global list with a data type equal to the enumeration name and with a name of Enum_ followed by the enumeration name (in our case, Enum_BookType).
创建一个全局列表,使其数据类型等同于枚举名称,且名称以enum _开头,后接枚举名称(在本例中为Enum_BookType)。
Also, please note the space in the name of the enumeration literal (l 1). Listing 6 shows the contents of a corresponding localization file.
同样,请注意列举文字名称中的空格(L1)。
For example, setting the attribute to be of type Enumeration will result in different buttons than setting the attribute to be of a primitive type.
例如,将这个属性类型设置为enumeration,与将这个属性设置为先前的类型相比会产生不同的按钮。
However, in this class 'pkey' is a primary key of the event EJB, and the method returns an Enumeration of clients attending a particular event.
然而在该类中,' pkey '是EventEJB的主键,该方法返回参加特定活动的客户的枚举列表。
Embedded statements are not allowed in constant expressions, such as the value of an enumeration constant, the width of a bit-field, or the initial value of a static variable.
在常量表达式,比如枚举型常量、位域的宽度或是静态变量的初始值,是不允许使用在这种声明中的。
Enumeration is a special type of the simple type.
枚举是简单类型的特殊类型。
Some data elements are meant to have a set of constrained values (enumeration types as programmers would call them).
一些数据元素必须使用一组约束的值(程序员称之为枚举类型)。
By creating a new enumeration (grade) of the previously defined type, you can then use it like any other member variable.
用以前定义过的类型建立一个新的枚举(grade)之后,您就可以像使用其他成员变量一样使用它了。
Type forwarding means reassigning the definition of a class, structure, interface, delegate, or enumeration to an assembly other than the one in which it was originally defined.
“类型转发”是指将类、结构、接口、委托或枚举的定义重新分配到从中进行初始定义的程序集以外的一个程序集。
This class must have a single public property called Value of the same data type as the Const variables you created for this enumeration in step 2.
此类必须具有一个称为Value的公共属性,与第2步中为此枚举创建的Const变量具有相同的数据类型。
GraphViz USES a simple script format to define graphs, which you'll emit as part of your enumeration of the Twitter users.
GraphViz使用一种简单的脚本格式来定义一些图表,这些图表将作为您的Twitter用户枚举的一部分。
Using what are called facets, you can derive new types that represent a smaller subset of values of some other types, for example, to define a subset by enumeration, range, or pattern matching.
使用所谓的facets,您可以派生新的类型,表示其他某个类型值的更小子集,比如通过枚举、范围或模式匹配来定义子集。
A report specification is a property and is a member of the enumeration set propEnum.
报告规范是一个属性,是propenum枚举集的成员。
The simple civil lawsuit proceedings in Taiwan, which includes the prescription of both generalization and enumeration, has made a unity of certainty and necessity.
台湾民事诉讼法简易诉讼程序制度既有概括性的规定,又有列举性的规定,做到确定性与必要性的有机统一。
In the context of the IBM Cognos 8 SDK, an enumeration set can be considered as a list of read-only constants.
在IBMCognos8sdk上下文中,枚举集可以被视为一组只读常量。
One of the most unique things about JumpShip is the inclusion of a standard data model that gives you search, sort, data traversal and enumeration automatically.
JumpShip最独特的特性之一是其中内含了标准数据模型,可以自动进行查找、排序、数据的遍历和枚举。
An enumerated type is one that has valid values limited to a set of constants. For instance, an enumeration may be defined for the colors of a stop light as follows.
枚举类型是一种有效取值仅限于一组常量的类型。
Transfer-matrix method is a useful tool. It mainly applies in the substructure enumeration of graphs which have good recurring structures and the substructure has prescribed properties.
转移矩阵方法作为一个有力的工具,主要用于具有周期性结构的图的具有给定性质的子结构计数。
There are four further categories in Taylor's classification in which the principle behind the puzzling question is an enumeration of details rather than the description of a recognizable item.
在泰勒的分类法中,谜语还可以根据谜面所列举的细节而不是简单描述的原则进一步分成四类。
This paper analyzes the evidences which are mostly often found during ship safety inspection in a way of enumeration based on the work practice of the author.
本文结合海事管理实践,采用列举的方式对船舶安全检查中常见的证据进行了归类分析。
In this paper, the problem of multi-centres in a network is solved using implicit enumeration method for 0-1 integer programming. The algorithm is simple and can be easily realized.
本文提出用0 - 1整数规划的隐枚举法,求解网络的多中心问题,算法简单,容易实现。
It is much easier to read a call that USES enumeration values in place of multiple Boolean values as demonstrated in the following code example.
如果调用使用枚举值而非多个布尔值,则阅读起来要容易得多,如下面的代码示例所示。
应用推荐