我能强迫她与钩定义类的方法可以调用的框架,但我还想保持精益和利用新的c++11设施每当我可以。
I could force her to define classes with hook methods that can be called by the framework, but I'd like to keep it lean and take advantage of the new C++11 facilities whenever I can.
这个阶段准备代表每个类中定义的字段、方法和实现接口所必需的数据结构。
This stage prepares the necessary data structures that represent fields, methods, and implemented interfaces that are defined within each class.
或者换句话说,您可以定义出这样的方法,在整合到使用特征的类定义之前,不会检查其正确性。
Or, put differently, you can define methods that aren't checked for correctness until they're incorporated into a trait-using class definition.
执行环境定义在特定平台中可用的方法和类。
Execution environment defines what methods and classes are available in a specific platform.
与您可能假设的情况相反,即时优化不在创建实例时或方法运行时发生,而是在定义类的作用域内发生。
Contrary to what you might assume, just-in-time does not happen when an instance is created, or methods run, but rather in the scope where the class is defined.
供应商定义的工厂类将提供方法以允许程序员设置连接参数。
A vendor-defined factory class will expose methods that allow the programmer to set the connection parameters.
它还通过target指示器明确指定了在雇员类中定义的方法。
It also specifically identifies the method as defined in the Employee class through the target designator.
类为所选的Docbook元素定义了方法。
dojo提供了使用dojo . declare结构定义自己的类的更好方法。
Dojo provides a better way to define your own classes using the dojo.declare.
这是对在解释时执行的class类定义的一个元编程方法。
This is a metaprogramming method defined on the class class that executes at interpretation time.
archiveDocument是csnjobsamples脚本库中的子过程,它根据CreateCSNJobs中定义的类和方法创建一个存档作业。
ArchiveDocument is a sub in the CSNJobSamples script library that creates an archive job based on the classes and methods defined in CreateCSNJobs.
Creator类用于定义创建产品对象实例的Factory方法。
Creator classes are used to define factory methods that create instances of the product objects.
大概地讲,因为我们的匿名类没有定义自己的click,所以这个方法会按照声明从右到左开始寻找。
Loosely speaking, since our anonymous class doesn't define click itself, the method lookup proceeds right to left, as declared.
它包含一个专门用于处理GoogleBaseDataAPI的模块,提供预定义的类和方法以简化数据访问和身份验证。
It includes a module specifically for working with the Google Base data API, providing pre-defined classes and methods to simplify data access and authentication.
该库包含一个专门用于处理GoogleBookSearchDataAPI的模块,提供预定义的类和方法来简化数据访问和验证。
It includes a module specifically for working with the Google Book Search data API, providing pre-defined classes and methods to simplify data access and authentication.
创建了存根的实例后,可以选择使用or g . apache . axis2 . client . Stub基类定义的方法来配置各个功能。
After you've created an instance of the stub, you can optionally use methods defined by the base org.apache.axis2.client.Stub class to configure various features.
Bytecode类细节页面向您展示了方法以及定义的区域和使用的类。
The Bytecode class details page shows the methods and fields that are defined and the classes that are used.
这是activity类中定义的方法,通常被定制的Activity覆盖。
This is a method defined in the Activity class and is typically overridden by any custom Activity.
清单1展示了一个示例注释声明,后面是将该注释用于某些方法的类的定义。
Listing 1 shows a sample annotation declaration followed by the definition of a class using that annotation on some methods.
使用把XML映射到类定义的方法,可能存在两种情况:要么得到一个正确的对象,要么该对象会丢失某些字段。
Alternatively with the XML mapped to a class's design, there would either be a correct object, or it would be missing some fields.
利用强制方式动态自定义类行为最简单的方法是:首先创建类,然后添加方法和属性。
The easiest way to dynamically customize class behavior USES an imperative style: first create the class, then add methods and attributes.
这种类型的错误是这样产生的:定义的某些基本例没有被给出它们自己的类,然后以这种方法定义了一个递归的数据类型。
Bugs of this sort result from defining a recursive datatype in such a way that certain base cases of the definition are not given their own classes.
原因:定义的某些基本例没有给出自己的类,然后以这种方法定义了递归数据类型。
Cause: The recursive datatype is defined in such a way that certain base cases of the definition are not given their own classes.
即使你分别测试了每个类的所有方法,确保定义类-级的测试。
Even if you test all of the methods of the classes individually, be sure to define class-level tests.
它的检测方法本质上是重新定义程序执行中的大多数类和方法,结果必然会明显减缓程序执行速度。
It's instrumentation approach will essentially redefine most of the classes and methods that your application is executing, and as a result is likely to slow down your application significantly.
当调用本机方法时,类装入器会尝试装入定义了该方法的本机库。
When a native method is invoked, the class loader attempts to load the native library that defines that method.
PHPV5提供了一些可用于类内部的特别定义的方法,称为魔术方法。
PHP V5 has several specially defined methods that can be used inside classes known as magic methods.
该服务类将实现api类中定义的方法。
The service class implements the methods defined in the API class.
这种变量被称为类变量,顾名思义,该类型的变量在类的级别定义而非方法的级别。
These variables are called class variables and, as their name suggests, are defined at the level of the class rather than at the level of a method.
注释的定义是为了控制方法参数和类成员的注入,它们在运行时的整个过程向应用程序提供了有价值的上下文信息。
Annotations are defined that govern injection of method parameters and class members, which provide valuable contextual information to applications during runtime.
应用推荐