对比抽象基类和接口的使用。
Contrast the use of an abstract base class against an interface?
不支持访问从虚拟基类继承的数据字段。
Access to data fields inherited from a virtual base class is not supported.
因而,最好是创建一个可重用的通用基类。
Therefore it is a good idea to create a generic base class that can be reused later.
连接是通过创建pdo基类的实例而建立的。
Connections are established by creating instances of the PDO base class.
前三个类构成了类层次结构的基类。
The first three classes constitute the base classes of the class hierarchy.
派生类具有跟基类相同的动态类属性。
The derived classes have the same dynamic class attributes of the base class.
然后就可以放弃事件或者调用重写了基类的方法。
Then you can either abandon the event or must invoke the method overridden in the based class.
这个基类将使编写处理程序类更加容易。
This is a base class that makes writing handler classes easier.
清单9基于编译器会优化空基类的假设。
Listing 9 is based on the assumption that the compiler optimizes away the empty base classes.
图1为包含审计字段的持久化实体提供了一个基类。
Figure 1 presents a base class for persistent entities that contains the necessary auditing fields.
接下来需要覆盖来自基类或者类的任何方法来填充列。
The next thing you have to do is override any method from the base class or classes to populate the column.
基类还为标记的名称定义了一些简单的常量。
The base class also defines some simple constants for the names of the tags.
joContainer是组织ui元素集合的基类。
JoContainer is the base "class" for organizing sets of UI elements.
concrete类为它们各自的基类提供恰当的实现。
Concrete classes provide the appropriate implementation for their respective base class. The Factory Method Pattern consists of the following classes.
该页面首先通过标记的src属性引入基类。
This page starts by bringing in the base classes through the SRC items on the tags.
在整个系统中都会使用的部分可以放到基类里面。
The parts that are common throughout all your systems go to a base class you always use.
首先,我要创建一个抽象基类,用于表示我们要公开的服务。
To begin we create an abstract base class which represents the service we want to expose.
支持接口的每项服务或代理必须继承定义该接口的抽象基类。
Each service or proxy that supported an interface was required to inherit from the abstract base class that defined the interface.
基类:这些类不是嵌入请求消息就是嵌入响应消息。
Base classes: These classes are embedded in either request or response messages.
实现需要扩展某个基类,并且应该提供由框架实现的异步接口。
The implementation has to extend a certain base class, and there should be an asynchronous interface that the framework implements.
你可以导航到使用,声明,继承,基类和更多—交叉语言。
You can navigate to usages, declarations, inheritors, base types and more - across languages.
清单5给出的代码在优化了空基类的编译器上证明了这一点。
Listing 5 shows the code that proves the point on compilers optimizing empty base classes.
在我结束对类型大小调整的讨论之前,我还希望提一下基类。
Before I conclude the discussion of the sizing of types, I also want to mention base classes.
UDDI基类构成了UDDI注册中心存储的通用数据结构。
The UDDI base classes form the general data structures that the UDDI registry stores.
这两个控制器类都继承控制器基类来继承后者提供的通用功能。
Both controller classes extend the base controller class to inherit the common functionality it provides.
您可能会非常合理地想到,也可以定义xo基类的子类来实现同样的增强。
You might think, reasonably enough, that the same enhancement can be accomplished simply by subclassing the XO base class.
要使得框架简单,所有附加的SOA错误处理都将作为继承此基类的子类。
To keep the framework simple, all additional SOA error handlers will sub-class from this base class.
很多关键的基类也挑选了一些被大家经常要求的辅助函数予以实现。
Many of the key base classes also picked some frequently requested helper function.
继承一个基类而无法将它向下或向上转换到基类的理念是不明智的。
The idea of inheriting from a base class without being able to downcast to it or upcast to the base just seemed silly.
事实上,您可以置换每种节点对象的基类,从而能够定制整个应用程序的行为。
In fact, you can substitute the base class for every node object, giving your whole application custom behaviors.
应用推荐