具有受保护可视性的成员函数可以由与该成员函数在同一个类中定义或其任何子类中定义的其它任何成员函数调用。
A member function with protected visibility can be invoked by any member function in the class in which it is defined or any subclasses of that class.
具有私有可视性的成员函数只能由与该成员函数在同一个类中定义的其它成员函数调用,而在子类中的成员函数不能调用该成员函数。
A member function with private visibility can only be invoked by other member functions in the class in which it is defined, but not in the subclasses.
到目前为止,要想使用定制的比较函数,标准的做法是定义自己的函数对象,然后适当地定义操作符。
So far, to use custom comparison functions, the standard practice has been to define your own function object and then define the operator appropriately.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
FROMsql子句定义了特定的函数,可以使用该函数将将一个值转换成表示结构化类型的内置数据类型。
The FROM SQL clause defines the specific function that will be used to transform a value to a built-in data type value representing the structured type.
继而可以使用原型中的属性和函数,甚或重定义函数和属性。
You can then use the attributes and functions in your prototype, or even redefine the functions or attributes.
在函数被调用时,使用该函数的参数对一个自定义的分派函数求值。
When the function is invoked, a custom dispatch function is evaluated with the function's arguments.
定义这些函数的函数返回之后,这些函数还会一直存在。
Such functions will persist after the function that defines them has returned.
在函数式语言中,程序被定义成由其他函数组成的函数,函数求值形成最终的结果。
In a functional language, a program is defined as a function composed of other functions, the evaluation of which leads to the final result.
函数模板就像是用户定义函数的一个扩展。
A function template is like an extension to a user-defined function.
F&O库中的一些函数和EXSLT中定义的函数重叠,但是两者都提供了对方所不具备的函数。
Some functions in the F&O library overlap with functions defined in EXSLT, while each library provides functions not supported by the other.
函数本身仅存在于定义函数的变量范围内,因此当该变量超出范围时,函数也超出范围。
The functions themselves only exist in the scope of the variable of which they are defined, so when that variable goes out of scope, so does the function.
这种安置是由一个内部的哈希函数决定的,该函数接受定义为分区键的列内的值并返回数据库分区号。
The placement is determined by an internal hashing function that takes the values in the column or columns defined as a partitioning key and returns the database partition number.
与编写使用关系数据类型的用户定义函数相比,编写使用XML 的用户定义函数的差异并不大。
Writing user-defined functions that work with XML isn't much different from writing user-defined functions that work with relational data types.
所以您显式定义的任何属性或函数都将比在原始的原型中定义的那些属性或函数优先级要高。
So any attributes or functions you explicitly define take precedence over those defined in your original prototype.
斜体显示的标识符在新定义函数中是自由的,它们的值在创建该函数的环境中绑定。
The identifiers in italics are the ones that are free in the newly defined function; their values are bound in the environment that creates the function.
每个函数的定义都给出了函数名和函数的元数,以便您能导出函数的特定定义。
The definition for each function shows the function name with the arity of the function. This enables you to export very specific definitions of the function.
如果发现扩展函数比样式表函数更好,可以定义样式表函数作为扩展函数不能使用时的第二选择。
If you find that an extension function can do a better job than a stylesheet function, then you can define the stylesheet function to be the second choice when the extension function is not available.
这里的业务逻辑是由用户自定义的函数子实现,并且这些函数子只能用在逻辑记录处理的工作上,而不用关心多个处理操作的问题。
The business logic is implemented in user-definable functors that only work on logical record processing and aren't concerned with multiprocessing issues.
调用的不是标准xslt函数,而是清单4中所示的自定义函数。
This call isn't part of the standard XSLT function set — it's a custom function that I define in Listing 4.
调度类定义一个通用函数集(通过sched_class),函数集定义调度器的行为。
A scheduling class defines a common set of functions (via sched_class) that define the behavior of the scheduler.
第一行定义一个名为square的函数,该函数可接受参数并发出其平方根。
The first line defines a function called square that takes an argument and emits its square root.
这里仅定义了stats函数,但若需要,您还可定义更多的函数。
Here, this merely defines the stats function, but you could do more if you desired.
在《第5章 -Scala 的基本面向对象编程》的“Scala 的构造函数”章节中,我们会看到如何定义辅助的构造函数。
We’ll see how to define auxiliary constructors in the section called “Constructors in Scala” in Chapter 5, Basic Object-Oriented Programming in Scala.
大量的工作是用导出函数完成的,导出函数定义在清单7中的exporters . php文件中。
The bulk of the work is done with export functions, which are defined in the exporters.php file in Listing 7.
例如,清单20中的代码定义myhandler函数,该函数可以从程序中的任何地方调用。
For example, the code in Listing 20 defines the myHandler function that can be called from any point in the program.
因为functioncall类可以包含一个以上的定制函数,所以应当为每个定制函数定义惟一的识别号。
Because a FunctionCall class can contain more than one custom function, you should define a unique identification number for each custom function.
Vimscript中的函数使用function关键字定义,后跟函数名,然后是参数列表(这是强制的,即使该函数没有参数)。
Functions in Vimscript are defined using the function keyword, followed by the name of the function, then the list of parameters (which is mandatory, even if the function takes no arguments).
DB 2UniversalDatabase (DB 2UDB)用户定义函数(user - defined functions,UDF)允许您添加自己的函数定义,从而扩展db2的内置函数。
DB2 Universal Database (DB2 UDB) user-defined functions (UDFs) allow you to extend the built-in functions of DB2 by adding your own function definitions.
现在,您将定义check函数,由此函数执行实际的检查,如清单3所示。
Now you'll define the check function that performs the actual checks, as shown in Listing 3.
应用推荐