You must define the member in the class header.
你必须在类的头文件中定义这个成员。
Class header file, scrolled to the start of the class declaration.
类的头文件,滚动到类声明的开头。
Output the class header, including import statements and boiler-plate comment.
输出类头,包括导入语句和注释。
The name of the consumer class header file, based by default on the name of the file or machine data source that you selected.
使用者类头文件的名称,默认情况下基于选定的文件或计算机数据源的名称。
Many frameworks in Objective-C provide a wrapper header that imports all the enclosed class headers; this could be provided quite easily by developing a package rule.
Objective - C中的很多框架都提供了一个包装头,它可以导入所有附着在上面的类头;这通过开发一个包规则可以很容易的提供。
By using the Properties window to define message - and event-handling functions, you can automatically update the message-dispatch table (or message map) and your class header file.
通过用“属性”窗口定义消息和事件处理函数,可以自动更新消息调度表(或消息映射)和类的头文件。
This header file should ideally contain all the class definitions, member functions, and variables.
在理想情况下,头文件应该包含所有类定义、成员函数和变量。
This section deals with creating different file extensions for the generated header and source files corresponding to a UML class.
这一小节负责为生成的和一个UM l类相对应的头文件和源文件创建不同的文件扩展名。
For example, suppose the programmer is familiar only with the header of class d.
例如,假设程序员只熟悉类d的头。
The transformation also provides an option to generate the function definition for an inline function in the header file below the class declaration. To activate this option, perform these steps
该转换还提供了另外一个选项:为一个在类声明下的头文件中的内联函数生成该函数的定义。
The JVM effectively automatically adds JARs referenced in a Class-Path header to the class path when loading a JAR that USES the extension mechanism.
在装载使用扩展机制的JAR时,jvm会高效而自动地将在Class - Path头中引用的JAR添加到类路径中。
We created a wrapper class, called HeaderCell to distinguish a header cell form a content cell.
我们创建一个称为HeaderCell的包装器类,用于区分标题栏单元格和内容单元格。
Each widget is a div element of class type widget, which has a header (widget-head) and content area (widget-content).
每个小部件都是类类型为widget的一个div元素,具有头部(widget -head)和内容区(widget - content)。
Here is the class, in a header file called "Sample.h".
以下就是这个类,位于名为“Example . h”的头文件中。
In the client class, uncomment the following Accept header media type setting in Listing 26.
在客户端类中,取消清单26中的以下Accept头媒体类型设置的注释。
The first is the header (.h) file that declares the interface of the class.
第一个是头文件(.h),用于声明类接口;
Boost provides an easier way to get this done by providing you with a noncopyable class defined in the header noncopyable.hpp.
Boost提供了一种更简单的实现此目标的方法,它为您提供了一个可在头文件noncopyable . hpp中定义的noncopyable类。
To generate the code for a UML class in a header file with a.inc extension, and a source file with a.in extension, perform these steps.
在一个扩展名为. inc的头文件和一个扩展名为. in的源文件中为一个UM l类生成代码,请您执行如下步骤。
To create different file extensions for the header and source files corresponding to a UML class, apply the cpp_properties stereotype on the UML class. This stereotype has two properties.
为了为和一个UM l类相对应的头文件和源文件创建不同的文件扩展名,请您将cpp _properties套用到该UM l类上面。
Also, function return statements are allowed to return initializer_list; however, you must include the header initializer_list to use this class type.
另外,函数返回语句可以返回initializer _ list;但是,必须包含头文件initializer _ list才能使用这个类类型。
Listing 4 shows the header of the implementation class for the Library bean implementation class; I've left out the remainder of the code for the sake of brevity.
清单4显示了Librarybean实现类的实现类头;为了简洁起见,我省去了其余的代码。
To create a class called "Sample" in Objective-C, you need to create an header file named Sample.h (Listing 5).
要使用 Objective-C创建一个类 “Sample”,您需要创建一个名为 Sample.h 的头文件(清单 5)。
The mapping is done using the mapped_region class declared and defined in the header mapped_region.hpp.
使用在头文件mapped_region . hpp中声明并定义的mapped_region类执行映射。
The dimensions of the #header ID class are now in line with the iPhone viewport, and I manually changed the background image to fit in the space.
headerID类的尺寸现在符合iPhone视窗的大小,并且我手动更改了背景图片以适应空间大小。
Here, you can change the names of the class and its header and implementation files.
在这里,你可以改变的阶级及其头和执行文件的名称。
The background color, corner radius, and border and thickness styles of "header" and "content" viewers are defined in class selectors of the external CSS file: "example.css" (Listing 19).
“header”和“content”查看器的背景颜色、圆角半径、边框和透明度都在外部css文件example . css的类选择器中定义(见清单19)。
Using the CSS group class gives a header within the list similar to the listing used in the native iPod application for songs.
使用CSS grou p类将在列表内部生成一个标题,类似于本机iPod歌曲应用程序的清单。
Thus, we need to edit the CalculatorSoapBindingStub class so that it includes this header in every request it sends to the server.
因而,我们需要编辑calculatorsoapbindingstub类,以便它在发送给服务器的每个请求中都包括这个头。
You just include that header in whichever files need to use your vector class.
你只包括头在哪个文件需要使用您的向量类。
Sets the name of the header file for the new object's class.
为新对象的类设置头文件的名称。
应用推荐