当编写探测并使用dtrace命令生成头文件时,以一种非常简单的风格支持后一个解决方案。
bracketing. The latter solution is supported in a very simple fashion when you write the probes and generate a header file using the dtrace command.
上面的命令指定输出文件名 (-o)、希望生成头文件 (-h)以及源探测定义文件名 (-s)。
The above command specifies the name of the output file (-o), to generate a header (-h) and the name of the source probe definitions file (-s).
默认的选项是在头文件和实体文件中都为内联函数生成代码。
The default option generates code for the inline function in both the header and body files.
这一小节负责为生成的和一个UM l类相对应的头文件和源文件创建不同的文件扩展名。
This section deals with creating different file extensions for the generated header and source files corresponding to a UML class.
该转换还提供了另外一个选项:为一个在类声明下的头文件中的内联函数生成该函数的定义。
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
采用这一选项为内联函数所生成的声明和定义将全部位于头文件中,如列表5所示。
The declaration and definition generated for the inline function with this option would all be in the header file, as shown in Listing 5.
但是这种方法也有一些缺点,它生成的头文件会很难理解和维护,有时甚至会产生一些奇怪的效果。
But this method also has drawbacks, causing the resulting headers to be much harder to understand and maintain and sometimes creating surprising effects.
该工具将解析头文件并生成粗略的定义文件。
This tool will parse a header file and generate a rough definitions file.
覆盖文件告诉代码生成器要包括哪些头文件、模块名将是什么等等。
Override files tell the code generator what headers to include, what the name of the module will be, and so on.
在头文件中为该虚函数所生成的代码如列表2中所示。
The code generated for the virtual function in a header file is shown in Listing 2.
列表3.在头文件中为一个内联函数所生成的代码。
Listing 3. Generated Code for an inline function in header file.
构建过程生成一个库和相关联的应用程序编程接口(API)头文件,以及一个单独的命令行实用程序sqlite3,它有助于研究特性。
The build produces a library and associated application programming interface (API) header files as well as a stand-alone command-line utility named sqlite3 that's useful for exploring features.
在一个扩展名为. inc的头文件和一个扩展名为. in的源文件中为一个UM l类生成代码,请您执行如下步骤。
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.
Yc通知cl编译器从precomp . h生成预编译头文件。
Yc tells the cl compiler to generate the precompiled header from precomp.h.
当使用- d选项来运行yacc时,它会生成一个定义常量的头文件。
When yacc is run with the -d option, it generates a header file defining constants. Thus, our earlier lex example using.
用IDL编译器编译idl文件,生成客户机和服务器stub对象文件以及头文件。
An IDL file is compiled with the IDL compiler which generates the client and server stub object files along with a header file.
一般情况下,通过用AutoConf生成的脚本修改模板文件来创建这些头文件。
Normally these header files are created by modifying template files with scripts generated from AutoConf.
清单3告知代码生成器,一个名为“ExampleService”的组件将公开头文件“Example . h”中的行为。
Listing 3 tells the code generator that a component named "SampleService" will expose the behavior found in the header file "Sample.h".
生成的类页面让你调整你的项目文件的名字,选择基础类,增加一个缺省程序图标或选择使用预编译的头文件。
The "Generated Classes" page lets you tweak the names of your project files, choose the base class, add a default application icon or choose to use precompiled headers.
集成开发环境会自动生成代码来增强预编译头文件的性能。
The integrated development environment generates code to enhance precompiled header performance.
集成开发环境会自动生成代码来增强预编译头文件的性能。
The integrated development environment generates code to enhance precompiled header performance.
应用推荐