为了使代码更容易扩展,要使用清单14所示的分派表。
To make the code more easily extensible, use a dispatch table, as shown in Listing 14.
尤其是,通过使用分派表,可以按照非常清晰且可维护的方式处理许多不同结构的元素类型。
In particular, use of dispatch tables makes it possible to deal with many differently structured element types in a very clear and maintainable way.
对于服务程序来说,main的代码令人惊讶地简短,因为它只创建分派表并启动控制分派机。
In case of services, the code for main will be surprisingly short, since it just creates the dispatch table and starts the control dispatcher.
每一个服务都必须列于专门的分派表中(为此该程序定义了一个ServiceTable结构数组)。
Each of them must be listed in the special dispatch table (this program defines ServiceTable array for this purpose).
分派表可以包含用来处理特定元素的实际代码(匿名子例程),也可以包含对别处定义的命名子例程的引用。
The dispatcher can either contain the actual code used to deal with a particular element as an anonymous subroutine or it can contain a reference to a named subroutine defined elsewhere.
这个部分允许为公告分派一个或多个来自IBC词汇表的词汇。
This section allows the announcement to be assigned to one or more terms from the IBC vocabulary.
这个部分允许为公告分派一个或多个来自ibc词汇表的词汇。
This section allows the announcement to be assigned to one or more terms from the IBC vocabulary.
分派存取的权利与限制时,会涉及类似活动分类的步骤。可参考安全与存取分类表(参见4.2.5)。
Assigning rights or restrictions to access involves similar steps to activity classification. Referring to the security and access classification scheme (see 4.2.5).
该系统主要功能:分派、单位负载利润、单位里程费用、行程表、行程更改以及维护等。
A freight fleet management system with: dispatch, per load profit, per mile expense, trip sheet, trip recap, and maintenance.
复习课和问题解析的部分,将依据你们在第一节课堂讲授结尾所填写缴交的复习课时间表,迳行分派指定。
RECITATIONS and TUTORIALS will be assigned in response to the tutorial schedule forms you complete and turn in immediately at the end of the first lecture.
复习课和问题解析的部分,将依据你们在第一节课堂讲授结尾所填写缴交的复习课时间表,迳行分派指定。
RECITATIONS and TUTORIALS will be assigned in response to the tutorial schedule forms you complete and turn in immediately at the end of the first lecture.
应用推荐