A derived class inherits properties from a base class.
一个有源的基类中继承属性。
Create a derived class inherited from the predefined grammar class.
创建一个从预定义grammar类继承而来的派生类。
Now the constructor can be correctly inherited by a derived class.
现在构造器可以正确的通过继承而得到一个子类。
When overridden in a derived class, sets the encoder back to its initial state.
在派生类中重写时,将编码器设置回它的初始状态。
I have a base class. How do I call the right method for the right derived class?
我有一个基类。我怎么叫正确的派生类的正确方法?
What is the right way for an object to have a collection of a QObject derived class?
一个对象有一个派生类,一个好的正确的方式是什么?
In this article, I will show you how to employ a CStatic derived class to show Animation GIF.
在这篇文章中,我将告诉你如何聘请静态控件派生类的GIF动画显示。
When overridden in a derived class, returns a normalized copy of the object on which it is called.
当在派生类中重写时,返回在其上调用它的对象的正常化副本。
Setting them again for each derived class is a waste, since they would be available anyway by inheritance.
为每个派生类再次设置这些属性是一种浪费,因为通过继承它们就会拥有这些属性。
When overridden in a derived class, gets the value indicating whether this group is the default group.
在派生类中重写后,获取一个值,该值指示组是否是默认组。
As a result, you can exactly substitute an object of the derived class for an object of the base class.
结果是你可以用衍生类的对象替代基类的对象。
What's the point of virtual functions other than allowing a function of the same name in the derived class?
虚拟以外的其他功能允许在派生类的函数的名称相同点是什么?
This derived class is also an Authority Service implementation that directs data and meta data requests to itself.
这个衍生而来的类同时也是一个可以把数据和元数据请求定向到自身的中心服务实现。
When overridden in a derived class, determines whether the specified date in the specified era is a leap day.
当在衍生类别中覆写时,判断指定纪元中的指定日期是否为闰日。
Marking the base class as "private" allowed the derived class to inherit from it without actually becoming one of them.
将基类标记为 “私有”允许派生类从该基类继承而来,而无需实际成为 一个基类。
If a class method is called for a derived class, the derived class object is passed as the implied first argument.
如一个类方法被派生类调用,派生类对象将被隐含的做为第一个参数传递。
The functionality of this method is unsupported in the base class and must be implemented in a derived class instead.
此方法的功能在基类中不受支持,而必须在派生类中实现。
Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
获取在派生的类中重写时用于标识配置文件中此元素集合的名称。
However, when we compare two derived objects, we want to compare data members that might be particular to that derived class.
但是,当比较两个派生类对象的时候,我们希望比较可能特定于派生类的数据成员。
Since this interface is tied directly to the toolbox, it's handy to just implement this interface in the TreeView-derived class.
由于该接口被直接绑定到工具箱,所以在派生自TreeView的类中实现该接口十分方便。
But you'll find that there are times when it's equally clear that you must add new functions to the interface of a derived class.
但是你也会发现有时候你很明显的必须去给衍生类增加新的方法。
This method can be implemented in a derived class to customize the initialization of the component that this designer is designing.
此方法可以在派生类中实现,以自定义此设计器所设计的组件的初始化。
Programs must use memory and time to construct fields inherited from a base class even when the derived class makes no use of them.
程序必须花费内存和时间来构造从基类继承的域,即使导出类根本不使用它们。
When the function is called through a derived object, the arguments must match a version of the function defined in the derived class.
当调用派生对象的函数时,实参必须和派生类中函数定义相互匹配。
Since both the base class and derived class have the same interface, there must be some implementation to go along with that interface.
因为基类和衍生类拥有相同的接口,因此这个接口必须要有必要的实现。
Since we know the type of a class by the messages we can send to it, this means that the derived class is the same type as the base class.
因为我们可以通过能给类发送的消息知道这个类,所以这意味着衍生类和基类属于同种类型。
The type or member can be accessed by any code in the assembly in which it is declared, or from within a derived class in another assembly.
从另一个程序集的访问权限必须发生在从受保护的内部元素声明的类派生的类声明,它必须采取通过派生的类类型的实例。
If you simply inherit a class and don't do anything else, the methods from the base-class interface come right along into the derived class.
如果你只是简单的继承一个类而不做其他的事情,那么这个基类的方法便会顺延到衍生类中。
That means objects of the derived class have not only the same type, they also have the same behavior, which doesn't seem particularly interesting.
这意味着基类和衍生类拥有相同的类型和行为,这是没有意义的。
An extension for ext JS is a derived class or a subclass, which is designed to allow the inclusion of additional features to existing ext JS classes.
ExtJS的扩展是从类或者子类衍生出来的,为支持现有Ext JS类包含附加特性而设计的。
应用推荐