String identifying the template class for which this template builder is specified.
标识这个模板类别的字符串,模板建造者是为该模板类别指定的。
The template class Controls the rendering, and the localization and the launch of the JSP.
模板类控制处理和JSP的本地化和启动。
The template class describes an object that controls a varying-length sequence of elements of type T .
本模板类描述了一个对象,这个对象是类型为T的可变长度的序列元素。
The other notable line in this test is the class definition, which points to the template class, rather than one that you might create.
这个测试中另一个值得注意的行是这个类定义,它指向这个模板的类,而不是您可能创建的模板。
You must explicitly add the template type parameters to the template class name when using it as a template parameter in a base class list.
当要将某个模板类型参数用作基类列表中的模板参数时,必须显式地将该模板类型参数添加到模板类名中。
You could probably make this work by running with that, and explicitly casting it yourself inside the template class, but I don't think you need to.
你可以通过运行,使这项工作,并明确自己在铸造模板类,但我不认为你需要。
The generated code for the template class one has both the declaration and definition for the operation op within the template class declaration, as shown in Listing 7.
为模板类一所生成的代码具有在模板类声明内部用于操作的声明和定义,如列表7中所示。
Once the request has been processed and the action method view called, it is handed off to the template class; by default, this is Maypole: : view: : TT, which USES the template Toolkit.
一旦请求被process ed且动作方法view被调用后,它就会被提交到模板类;默认情况下,这个模板类是Maypole: View:TT,它使用了Template Toolkit。
The following example is a template for creating a class with an arbitrary amount of properties.
下列实例是一个模板,用于创建拥有任意数量属性的类。
This first finds the template: it looks first in a directory specific to the class.
它首先找到模板:它首先到特定于这个类的目录中查找。
If you only wish to only distribute the compiled template class, the build process may be automated.
如果您只是希望可以只分发编译后的模板类,那么编译过程可以实现自动化。
In the first step, the T4 engine USES the text template to generate a temporary transformation class.
第一个步骤是T4的引擎使用文本模板生成一个临时的转换类。
The idea behind these tools is that you can use an existing class as the template for your run-time class generation.
这些工具背后的思路是:可以将现有的类用作生成运行时类的模板。
The template for association walks through the class attached on the right end of the association using a special mode.
关联模板使用特殊的模式遍历关联右端连接的类。
For styling you would be concerned with the values for the class attributes of the template.
就样式化而言,应该格外关注模板的类属性值。
Now you have to create the actual template that will be used to generate the source code for a given UML class.
现在您需要建立的是为UM L类产生源代码的模版。
Choose a template for the node class.
为节点类选择一个模板。
Review the stylesheet I introduced in my last column and pay special attention to the template for UML: Class.
回顾一下上一期文章中介绍的样式表,特别要注意U ML: Class的模板。
The derived class that you design must have a nested template class/structure named definition (you may not change this name). The definition class has the following properties
您设计的派生类必须有一个名为definition(可以不修改此名)的嵌套的模板类/结构。
Right-click the class and add a template parameter with name T. Add operations such as isEmpty():bool ,getSize():int.
在此类上右击并添加一个名为T的模板参数。 添加诸如isEmpty():bool ,getSize():int之类的操作。
Instances of the class can then be expanded into URIs using the static Template class expandAnnotated method as Listing 12 shows.
然后可以使用静态模板类expandannotated方法将类实例扩展为uri,如清单12所示。
Class diagrams and instruction in the template model contains information on how to use this model.
模板模型中的类图和指示包含了如何使用该模型的信息。
A consequence that emerged later in the project was that the implemented template class was not ideally suited to all types of communication technology.
后来该项目中的一项后果是,实现的模板类并不能理想地适用于所有类型的通信技术。
In the example shown in Figure 14, the selected rule template defined only one parameter; therefore, you can enter only a qualified class name in the field provided.
在图14中所示的实例中,所选的规则模板只定义了一个参数,因此,您可以在提供的文本框中只输入限定的类名。
Figure 6 shows the class diagram from the WS response template pattern.
图6显示了WS响应模板模式的类关系图。
The first method is one that doesn't even appear in the source code for my template class back in Listing 1, the default constructor for the class.
清单1中的模板类源代码是类的默认构造函数,第一个方法没有出现在其中。
The BindingClass that you just created is a template-instantiated class that you will use wherever you need to use the STL class (STL: : list).
您刚刚创建的BindingClass是一个以模板实现的类,在所有您需要使用stl类(STL:list)的地方,您都会使用到该类。
Implementing the widget-specific template and the widget class.
实现特定于小部件的模板和小部件类。
In this section, we'll show you how the widget-specific template and the widget class are implemented using the following files.
在这一小节,我们将向您展示特定于小部件的模板以及使用下列文件实现的小部件类。
An AccountController class in included in the default project template handling user actions for the following.
默认的项目模板中引入了一个AccountController类,可以操作以下用户行为。
应用推荐