the header file in listing 8 contains the prototype of the functions and classes you are probing.
清单8中的头文件包含要探查的函数和类的原型。
the header file we create here will be used by a client application to understand the available service interface.
我们在此处创建的头文件将由客户机应用程序用于解释可用的服务接口。
as mentioned, a header file is a collection of function prototypes that you want to probe and access arguments.
正如前面提到的,头文件包含希望探查并访问其参数的函数的原型。
in a typical development project, a number of header files relevant to the project may be included multiple times in different source files, and each header file may itself reference many others.
在典型的开发项目中,有很多与项目相关的头文件可能会在不同的源文件中多次被引入,而且每个头文件本身也可能引用很多其他头文件。
now, with dozens of potential target systems, developers benefit a lot from using the second method, except they can now build the configuration header file automatically.
由于现在有太多可能的目标系统,因此,第二种方法对用户来说帮助很大,不仅仅是可以自动生成配置头文件。
therefore, the header file should include the prototype of the function and also a dummy function definition.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
this header file should ideally contain all the class definitions, member functions, and variables.
在理想情况下,头文件应该包含所有类定义、成员函数和变量。
doing that is basically recreating the header file yourself from the written documentation.
这么做基本上是自己从写好的文档中重新创建头文件。
no header file need be included for this support.
实现这一支持不需要包含头文件。
the header file contains the declaration of the function as shown in listing 3, and the body file contains the definition of the function as shown in listing 4.
头文件中包含函数的声明,如列表3中所示,而实体文件中包含函数的定义,如列表4中所示。
when the header file and the implementation file are ready, you can create an instance with the code in listing 7.
当头文件和实现文件準备好之后,您可以用清单7 中的代码创建一个实例。
if the precompiled header file can't be used, it is ignored.
如果无法使用这个预编译头文件,那么将忽略它。
the resulting header file contains macros that you can place into your code to insert the probes.
产生的头文件包含宏,可以通过在代码中放置这些宏插入探测。
this script does the necessary tests and creates a configuration header file with the right values.
这个脚本会去执行必要的测试,并创建一个具有适当值的配置头文件。
once you have enough of these, you can use them to automatically determine necessary compiler flags and definitions to put in a header file somewhere.
一旦您有了足够的测试程序,您可以用它们来自动确定必需的编译标记和定义,以将它们放到头文件的某个地方。
the code generated for the virtual function in a header file is shown in listing 2.
在头文件中为该虚函数所生成的代码如列表2 中所示。