An OMG IDL enumeration is a way of attaching names to Numbers, thereby giving more meaning to anyone reading the code.
O MG IDL枚举是将名称附加到数字的一种方法,从而读取代码的人就可以了解到更多的含义。
Listing 7 shows a snippet of the enumeration code from the gadget XML definition of the user preference for color.
清单7显示了来自用户颜色首选项的小部件xml定义的枚举代码片段。
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)。
So it looks like what is supposed to be a simple enumeration or careful count of the nation's population this year will be anything but routine.
VOA: standard.2010.02.03
A regime refers to both the formal enumeration of rights and duties within a community but it also addresses something closer to what we would call the way of life or the culture of a people.
政体意指一个社群中,正式的权利与义务项目,但它也同时是指我们所熟悉的事务,诸如生活的模式,与人民的文化。
应用推荐