HTML生成器模式:- w选项对于pydoc可以归档的任何文档都能生成HTML文档页面。
HTML generator mode: The -w option can generate an HTML documentation page for anything pydoc can document.
生成器模式的实现可以很复杂,但一旦生成器可用,它就可以简化生成器所创建对象的构造和使用。
The implementation of the builder pattern can be complex, but once the builder is available, it simplifies the construction and use of the objects the builder creates.
达到一致性和效率所要求的级别之关键在于代码的生成,并且代码生成器处理这种重复模式的情况已很平常。
Key to achieving the required level of consistency and productivity is the generation of the code, and code generators are becoming commonplace in addressing this repeating pattern situation.
接下来,通过正常的对生成器的操作又会不断鼓励用户使用这些最佳实践,因为后面生成工具所生成的代码也反映出了同样的架构模式。
These best practices are then continuously encouraged via the normal operation of the generator, as any further code it generates for the user will reflect those same architectural patterns.
当结合使用时,代码生成器和模式也可以帮助避免关键性间隔,这种间隔可以潜在的发生在设计阶段和实际编码阶段之间。
When used together, code generators and patterns also help avoid the critical gap that can potentially occur between the design phase and the actual coding.
它不是代码生成器,而是一些面向常用编码模式的快捷方式。
They are not code generators per se, but rather just short cuts for common coding patterns.
第二个解决方案是用代码生成器,读取数据库模式,并自动编写代码。
The second solution is to use a code generator that reads the database schema and writes the code for you.
当清单9中的样式表生成器按照原始模式运行时,它生成以下清单10中的样式表。
When the style sheet generator in Listing 9 is run against the original schema, it generates the following style sheet in Listing 10.
EMF包括一个代码生成器从UML模型派生XML模式。
EMF includes a code generator that derives an XML schema from a UML model.
这种eBay模式的核心点在于使用Eclipse代码生成器以进行这些繁琐的转换。
The central theme that runs through the eBay approach is using Eclipse code generators to take the grunt work out of doing this conversion.
为了在不使用内建的帮助生成器的情况下提供这一能力,你必须提供一个以模式名附加overview . html结尾的文件,以便应用程序界面可以显示帮助。
To provide this capability without using the built-in help generation, you must supply a file named for your pattern with Overview.html appended so that the application interface can display help.
使用 Toxgene数据生成器为这三个模式生成实例文档。
The Toxgene data generator is used to produce instance documents for all three schemas.
默认的映射生成器实用工具允许用户分解XML文档,而不必在 XML模式中写入任何注释。
The default mapping generator utility allows users to decompose XML documents without having to write a single line of annotation in the XML schema. The tool requires two inputs
通过将基本模式更改为中级模式或更高模式,您可以使用表达式生成器为业务决策定义实际逻辑。
By changing from basic mode to intermediate mode or higher, you can use the expression builder to define the actual logic for the business decision.
单例、生成器和工厂方法设计模式被视为是创建型的模式,因它们可协助对象的构建。
The singleton, builder, and factory method design patterns are considered creational patterns, as they assist in the construction of objects.
在需要分离复杂对象的构建和表示时,就需要用到生成器设计模式,您可以使用相同的构造过程来创建多个对象。
You use the builder design pattern when you need to separate the construction of complex objects from their representation, so you can use the same construction process to create a variety of objects.
然而需要注意,生成器并不能决定是否应用某个模式:这需要(生成器的)开发人员人工地作出权衡。
Note, however, that the generator cannot decide on whether a pattern should be used: this is a tradeoff the (generator) developer has to make manually.
使用某种数据库,其模式语言受TranQL 支持,然后使用构建系统内部的 TranQL 模式生成器在构建时生成模式输出。
Use one of the databases whose schema language is supported by TranQL, and then use the TranQL schema generator within your build system to generate the schema output at build time
即采用PDA加跳频参数管理软件作为生成器的单一设备模式。
The PDA frequency hopping parameter management software was adopted as the single equipment mode of generator.
在此案例中,设计模式的应用和框架的层次性带来了程序生成器的使用,而程序生成器可以极大的加快编码的速度。
In this case, the application of design patterns and hierarchy of the framework bring the use of the program builder, which can increase the speed of coding greatly.
仍参考图4,斜坡生成器233可产生斜坡信号,以便被提供作为斜坡输出信号,例如用于8-PSK操作模式。
Still referring to FIG. 4, a ramp generator 233 may generate ramp signals to be provided as the ramp output, e. g. for an 8-PSK mode of operation.
无论采用哪种信任级别,报表生成器的功能都是相同的,但是如果报表生成器在部分信任模式下运行,则不能通过报表生成器访问报表生成器帮助。
Report Builder functionality is the same regardless of trust level, except that Report Builder Help cannot be accessed from Report Builder when it is running in partial trust.
无论采用哪种信任级别,报表生成器的功能都是相同的,但是如果报表生成器在部分信任模式下运行,则不能通过报表生成器访问报表生成器帮助。
Report Builder functionality is the same regardless of trust level, except that Report Builder Help cannot be accessed from Report Builder when it is running in partial trust.
应用推荐