创建一个定制类,使其名称与枚举名称相同。
Create a custom class with the same name as the enumeration name.
为枚举中的每项创建一个Const全局变量,各Const的名称都以枚举名称开头,后接下划线(在本例中为BookType_xxx)。
Create a global Const variable for each item in the enumeration with each Const name starting with the enumeration name followed by an underscore (in our case, BookType_xxx).
创建一个全局列表,使其数据类型等同于枚举名称,且名称以enum _开头,后接枚举名称(在本例中为Enum_BookType)。
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).
要简化这一代码编写过程,请尝试DominoEnumerationCodeGenerator页面,它允许您输入枚举名称、数据类型和希望使用的所有值。
To make this code-writing process easier, try the Domino enumeration code Generator page, which allows you to enter an enumeration name, a data type, and all the values you want to use.
这些节点代表了具体的标识符,如函数名称、变量及枚举类型。
These represent specific identifiers, such as the names of functions, variables, and enumerated types.
枚举值应使用由英语单词组成的名称。
Enumeration values should use names consisting of English words.
O MGIDL枚举是将名称附加到数字的一种方法,从而读取代码的人就可以了解到更多的含义。
An OMG IDL enumeration is a way of attaching names to Numbers, thereby giving more meaning to anyone reading the code.
我们使用这个方法来给每一个枚举值赋一个长的品种名称,也就是上面输出中的Value. toString方法所返回的值。
We use this method to assign a long-form breed name to each enumeration value, which is what the Value.toString method returned in the output above.
这些复杂的类型可以是枚举、结构和联合,或者您可以使用typedef来创建类型的新名称。
These complex types can be enumerations, structures, and unions, or you can use typedef to create a new name for a type.
然后,使用awk删除命令名称减号选项和参数,然后将经过排序的列表传递给uniq以得到一个枚举列表。
Then, use awk to strip out the command name minus options and arguments, and pass the sorted list to uniq to give an enumerated list.
枚举值应只使用名称(不使用数字)并且用于枚举值的名称必须符合元素或者属性名称的指导原则。
Enumeration values should use names only (not Numbers) and the names used for enumeration values must conform to the guidelines for element or attribute names.
这个功能还可以用来探测和搜索命名实体的可枚举集,比如产品、国家或公司名称。
The functionality can also be used to detect and later search for enumerable sets of named entities, such as product, country, or company names.
FillRowMethodName 被设置为调用返回可枚举对象的每个迭代的方法名称。
The FillRowMethodName is set to the name of the method to call for each iteration of the enumerable object returned.
如果设置一个空字符串,函数在每个可用的字体名称中枚举一种字体。
If set to an empty string, the function enumerates one font in each available typeface name.
如果设置为一个有效的字体名称,函数枚举所有带指定名称的字体。
If set to a valid typeface name, the function enumerates all fonts with the specified name.
这说明了单位的名称及整数枚举实例的值都是现成的。
This illustrates how both the name and integer value of the Enum instance are readily available.
枚举队列标号和路径名称的长度最大值。
Enumerates the maximum length for a queue label and pathname.
这是一个普通可枚举集合, 可以按组名称和整数索引进行索引。
This is a normal enumerable collection, indexable by either group name and by integer index.
枚举成员的名称不能以类型名称作为前缀,因为类型信息将由开发工具提供。
Names of enumeration members are not prefixed with the type name because type information is expected to be provided by development tools.
枚举提供一种使用成组的相关常数以及将常数值与名称相关联的方便途径。
Enumerations provide a convenient way to work with sets of related constants and to associate constant values with names.
枚举提供一种使用成组的相关常数以及将常数值与名称相关联的方便途径。
Enumerations provide a convenient way to work with sets of related constants, and to associate constant values with names.
以String对象的枚举形式返回绑定给该session的所有对象名称。
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
以String对象的枚举形式返回绑定给该session的所有对象名称。
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
返回一个枚举数,可用来读取当前会话中所有会话状态的变量名称。
Returns an enumerator that can be used to read all the session-state variable names in the current session.
一些相关公司的名称在此逐一枚举也没有多大意思。
The name of a number of related companies listed in this 11 have little meaning.
一些相关公司的名称在此逐一枚举也没有多大意思。
The name of a number of related companies listed in this 11 have little meaning.
应用推荐