_类型、结构、联合体和枚举定义。
这个枚举定义了注释类型可应用的不同程序元素。
This enum defines the various program elements that an annotation type can target. Listing 9 show the ElementType enum in its entirety.
当枚举定义的简单类型使用常数的特殊列表时,就会需要这种类型了。
It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.
整数枚举定义系统缓存关联。例如,6表示完全关联的缓存。
An integer enumeration defining the system cache associativity. For example, 6 indicates a fully associative cache.
这两个参数有一个以枚举方式定义的允许值列表。
These two parameters have a list of allowed values defined in enumerations.
要定义的枚举和枚举文字。
如果既没有指定过滤器又没有指定比较器,枚举将以未定义的顺序遍历记录存储中的所有记录。
If neither the filter nor the comparator are specified, the enumeration will traverse all records in the record store in an undefined order.
然后,清单6使用新定义的枚举作为一个成员变量的类型。
Then, Listing 6 USES the new enumeration as the type for the member variable.
这个枚举包含了那些定义了命名权限的定义语言类型的枚举文字。
This enumeration contains the enumeration literals that define the definition language type for the naming authority.
清单7显示了来自用户颜色首选项的小部件xml定义的枚举代码片段。
Listing 7 shows a snippet of the enumeration code from the gadget XML definition of the user preference for color.
例如,定义在另一个概要文件中的元素(类、枚举和原型)现在可以被用于原型类型的属性中。
For example, elements (classes, enumerations, and stereotypes) defined in the other profile can now be used to type stereotype attributes.
所有架构、元素、属性、类型和枚举都必须具有定义,并且它们必须以一组经核准的开始短语(比如Anameof或 Arelationship)中的一个打头。
All schemas, elements, attributes, types, and enumerations must have definitions, and they must start with one of an approved set of beginning phrases, such as A name of or A relationship.
GraphViz使用一种简单的脚本格式来定义一些图表,这些图表将作为您的Twitter用户枚举的一部分。
GraphViz USES a simple script format to define graphs, which you'll emit as part of your enumeration of the Twitter users.
使用所谓的facets,您可以派生新的类型,表示其他某个类型值的更小子集,比如通过枚举、范围或模式匹配来定义子集。
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.
这些文字可以指定类型,因此可以定义一个W3CXMLSchema枚举控制允许的值(请参阅参考资料)。
These literals may be datatyped, so you could define a W3C XML Schema enumeration to govern the permissible values (see Resources).
常数可以是整数、字符、浮点数、字符串、Boolean、octet或枚举型,但不能是any类型或用户定义的类型。
Your constants can be integer, character, floating-point, string, Boolean, octet or enumerated but not of type any or a user-defined type. Here are some examples.
枚举类型可以被用来指定原型属性集的类型当且仅当它们被定义在相同的概要文件中,或者在导入的概要文件中。
Enumerations can be used to specify the type of stereotype attributes only if they are defined in the same profile as the stereotype itself, or in an imported profile.
不过,由于任何逻辑模型都无法枚举出所有可能性,一旦任何开发人员使用不同的方法定义了一个系统,则此类模型将无法使用。
However, since any logic models cannot enumerate all possibilities, such a model will fail once any developer defined a system using a different approach.
用以前定义过的类型建立一个新的枚举(grade)之后,您就可以像使用其他成员变量一样使用它了。
By creating a new enumeration (grade) of the previously defined type, you can then use it like any other member variable.
这是一个直接可用其所定义类的枚举网络的源码,非常好!
This is a direct definition it can be enumerated categories of network source, very good!
翻译单元中只能有任何变量,函数,类类型,枚举类型或模板的唯一定义。
No translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template.
位于枚举类型定义之后的main方法演示了这种用法。
The main method following the enumerated type definition demonstrates the usage.
枚举类型,定义在概要文件中,或者在一个导入的概要文件中。
Enumerations defined in the profile itself, or in an imported profile.
惟一需要当心的是枚举类型。 它被定义成一个Class,而不是其他模型类中的Interface!
The only other thing to watch out for is that an enumerated type is defined using a Class and not an Interface like other model classes.
同regexmatches实现一样,我喜欢使用自定义的可枚举对象来返回组信息。
As with the RegexMatches implementation, I prefer to use a custom enumerable object to return group information.
我们在XMLSchema规范中找不到任何方法可以用来定义不区分大小写的枚举。
We can't find any way in the XML Schema spec that we can define an enumeration that is case-insensitive.
可以使用模式来定义针对性别、婚姻状况和最喜欢颜色的枚举。
You'll use a schema that defines enumerations for gender, marital status, and favorite color. Here's a sample instance document.
由于拥有可枚举对象,因此我定义表值函数的过程与定义regexmatches函数的过程一样。
Now that I have an enumerable object, I define a table-valued function just as I did with the RegexMatches function.
该函数使用subprocess_info结构以及定义是否等待的枚举变量(在“Usermode - helper API内部”一节中有描述)。
This function takes your subprocess_info structure and an enumeration defining whether to wait (described in the internals section).
该函数使用subprocess_info结构以及定义是否等待的枚举变量(在“Usermode - helper API内部”一节中有描述)。
This function takes your subprocess_info structure and an enumeration defining whether to wait (described in the internals section).
应用推荐