所有的类都从一个通用的基类继承。
对比抽象基类和接口的使用。
Contrast the use of an abstract base class against an interface?
不支持访问从虚拟基类继承的数据字段。
Access to data fields inherited from a virtual base class is not supported.
重定义_ XO _基类。
因而,最好是创建一个可重用的通用基类。
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.
我想把性能的公共元素提取到一个抽象基类。
I'll want to extract the common elements of performance into an abstract base class.
前三个类构成了类层次结构的基类。
The first three classes constitute the base classes of the class hierarchy.
基类定义了名为load的方法。
page类是所有页面组件的基类。
The org.apache.click.Page class is the base class for each page component.
假设有个类型D,它的基类B实现了某些接口。
Suppose you have a derived class D whose base class B has implemented some interfaces.
首先处理程序必须扩展基类。
所有的异常继承自一个基类。
许多程序员会混淆元类和基类的不同。
Many programmers are confused about the difference between a metaclass and a base class.
派生类具有跟基类相同的动态类属性。
The derived classes have the same dynamic class attributes of the base class.
所以下面我们会有一个开关基类switch。
然后就可以放弃事件或者调用重写了基类的方法。
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.
让我们首先创建基类,并分析生成的代码。
Let's first create the basic class and then examine the generated code.
LzLayout类是提供该功能的基类。
The LzLayout class is the base class that provides this functionality.
基类还为标记的名称定义了一些简单的常量。
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.
在整个系统中都会使用的部分可以放到基类里面。
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.
应用推荐