Contrast the use of an abstract base class against an interface?
对比抽象基类和接口的使用。
Linker error from not declaring abstract method in abstract base class?
链接错误不能声明抽象方法的抽象基类?
In Listing 11, the abstract base class implements an interface AsyncCallback.
在清单11中,抽象类实现AsyncCallback接口。
I'll want to extract the common elements of performance into an abstract base class.
我想把性能的公共元素提取到一个抽象基类。
The key concept is that it is the abstract base class that controls the workflow.
关键点是抽象类控制这个流程。
To begin we create an abstract base class which represents the service we want to expose.
首先,我要创建一个抽象基类,用于表示我们要公开的服务。
The abstract base class from which the workflow runtime engine core services are derived.
工作流程载入器服务是衍生自此抽象基底类别。
First, create an abstract base class that encapsulates this common functionality, as in Listing 7.
首先,创建一个抽象的基类,封装此通用功能,如清单7所示。
The first file will contain the abstract base class, which is the only code the client needs.
第一个文件会包含抽象基类,这是客户端唯一需要的。
Page acts as an abstract base class for all pages and can contain any arbitrary tree of Components.
Page充当所有页面的抽象基类并可包含 Component 的任意树。
A class containing (or inheriting) one or more pure virtual functions is an abstract base class.
类包含或者继承一个或多个纯虚函数,这样的类就是抽象基类。
In the current version of StAX, there is no abstract base class that one can extend to implement custom events.
在StAX的当前版本,没有可以通过扩展实现定制事件的抽象基类。
The abstract base class from which all durable service persistence providers that implement locking are derived.
所有长期服务持续性提供者,都衍生自此抽象基底类别。
An abstract base class imposes unnecessary restrictions on application-oriented development of the class hierarchy.
抽象基类给面向应用的开发的类结构强加了不必要的约束。
Each service or proxy that supported an interface was required to inherit from the abstract base class that defined the interface.
支持接口的每项服务或代理必须继承定义该接口的抽象基类。
The customer class can be an abstract base class for a family of different customer types, such as private or business customer.
客户类可以是用于许多不同客户类型的抽象基类,比如说私有客户或业务客户。
An interface is like an abstract base class: any non-abstract type that implements the interface must implement all its members.
接口是一个抽象基类,如:实现接口的任何非抽象类型必须实现它的所有成员。
Component sits at the top of the hierarchy and ACTS as an abstract base class for all components. It provides various features such as.
Component位于层次结构的最顶端,充当所有组件的抽象基类。
The support contains predefined FactoryBeans for Jackrabbit and Jeceira and an abstract base class which can easily support other repositories.
这个支持包含预定义的用于Jackrabbit和Jeceira的FactoryBean,以及一个可以很容易支持其它仓库的抽象基类。
If I have a pointer to an object cast to one of its base classes, I can call the correct member functions through the abstract base class.
如果我有一个对象的指针,转换到它的基类指针对象上,我能通过基类指针调用合适的成员函数。
To handle this, you implement customers as an abstract base class with many different subclasses (for example, financial, manufacturing, and so on).
要处理这个问题,要把客户实现成一个抽象基类,拥有许多不同的子类(例如,财务、制造等等)。
The host view of the add-in is the abstract base class or interface that describes the methods used by the host and the add-in, as specified in the contract.
增益集的主检视为抽象基底类别或介面,会描述主机和增益集使用的方法,如合约中所指定。
The TypeDescription class is just an abstract base class with methods defined for dealing with three kinds of types: primitives, arrays, and instances of classes.
TypeDescription类只是个抽象基类,其中定义了处理三种类型的方法:原生类型、数组和类实例。
However the client does need to know what methods the service offers, so finally we get to use the abstract base class which we defined right at the beginning. The sample.h.
不过,客户机并不需要知道提供了哪些方法和服务,因此,最终我们要使用在开始时定义的抽象基类。
The term abstract base class sounds formidable, but actually it is nothing but a class that declares the syntax of one or more of its functions without implementing them.
术语抽象基类听起来可怕,但是实际上没什么,它只是一个类,声明但没有实现它的函数而已。
Thus, the class that knows the algorithm is not an abstract base class, but a concrete class that uses a helper that implements an interface defining the individual steps.
因此,了解算法的类不是一个抽象类,而是一个定义了具体的操作步骤,用帮助类实现了接口的具体的类。
The abstract base class has a member TreeItem that will be an instance of the TreeItem widget in GWT and will be the client data with which the callback is associated when the callback class is used.
抽象基类有一个成员TreeItem,它是GWT中TreeIte m部件的实例,包含客户机数据,在使用回调类时回调与这些数据相关联。
Another helpful addition to PHP V5 is the abstract class, which makes it easy to have one base class to implement the core of an interface from which you then create concrete classes.
PHPV 5中另一个有帮助的新功能是抽象类,使用抽象类可以轻松地用一个基类实现接口的核心部分,然后用该接口创建实体类。
Another use of abstract classes is to create a single base class for multiple derived classes in which that base class should never be instantiated.
抽象类的另一个用途是为多个派生类创建一个基类,在这些派生类中,基类决不会被实例化。
Another use of abstract classes is to create a single base class for multiple derived classes in which that base class should never be instantiated.
抽象类的另一个用途是为多个派生类创建一个基类,在这些派生类中,基类决不会被实例化。
应用推荐