If a class method is called for a derived class, the derived class object is passed as the implied first argument.
如一个类方法被派生类调用,派生类对象将被隐含的做为第一个参数传递。
To use an extension, you directly create an object of the extension subclass, which can then use, add, or override features to the parent class it is derived from.
要使用一个扩展,您应该直接创建一个扩展子类对象,然后使用、添加、或者重写特性到父类(它从其中衍生的)。
Within each package, our initial class diagrams were derived from our use cases, business object model, notes, and interviews.
在每一个包中,我们最初的类图都来自于我们的用例、业务对象模型、注释和访谈。
A holder class is a LotusScript class object derived from the INOUT_HOLDER class (as defined in lsxsd.lss).
holder类是一个派生自inout _ holder类的LotusScript类对象(如lsxsd . lss中定义的那样)。
When we construct, copy, assign, or destroy an object of derived type, we also construct, copy, assign, or destroy those base-class subobjects.
当构造、拷贝、赋值或撤销一个派生类对象时,也要构造、拷贝、赋值或撤销那些基类的子对象。
In inheritance, the derived class receives the base class member variables and methods. This means that an order of inheritance must be followed during the construction of an object.
在继承中,派生类接受基类的成员变量和方法。这表示继承的顺序必须在对象构造的时候被遵守。
When the function is called through a derived object, the arguments must match a version of the function defined in the derived class.
当调用派生对象的函数时,实参必须和派生类中函数定义相互匹配。
As a result, you can exactly substitute an object of the derived class for an object of the base class.
结果是你可以用衍生类的对象替代基类的对象。
What is the right way for an object to have a collection of a QObject derived class?
一个对象有一个派生类,一个好的正确的方式是什么?
In some cases, this common functionality is not complete enough to make a usable object, and each derived class defines the missing functionality.
某些情况下,此公共功能不够完整,无法生成一个可用的对象,因此每个派生类都需要单独定义所缺少的功能。
Plain object orientation makes it possible to use any derived classes in places where the parent class is expected.
平原对象定位使得在父类别预计的地方使用派生的任何类。
When overridden in a derived class, returns a normalized copy of the object on which it is called.
当在派生类中重写时,返回在其上调用它的对象的正常化副本。
In the following example, the data type is converted from the derived class to its base class, but the object that both variables now point to is unchanged.
在以下范例中,资料型别从衍生类别转换为其基底类别,但转换后两变数所指向的物件并未变更。
All you need to do is upcast from the derived class and never look back to see what exact type of object you're dealing with. Everything is handled through polymorphism.
你只需要将对象上传转化为基类对象不需要知道额外的信息,而这些都是通过多态实现的。
When overridden in a derived class, gets the hash code for the specified object.
当在派生类中重写时,将获取指定对象的哈希代码。
When overridden in a derived class, reports on how the object USES fields and properties in the context type.
在衍生类别中覆写时,报告物件如何使用内容型别中的栏位和属性。
When overridden in a derived class, sets the value of the field supported by the given object.
当在衍生类别中覆写时,请设定由指定物件所支援的栏位值。
One of the most important things you do with such a family of classes is to treat an object of a derived class as an object of the base class.
你对这个家族类能做的最重要的一件事就是把衍生类当作一个基类去对待。
When overridden in a derived class, gets the current item as a boxed object of the most appropriate.
当在派生类中重写时,根据当前项的架构类型以最合适的。
When overridden in a derived class, loads an object or objects from the related end with the specified merge option.
在派生类中重写时,将一个或多个相关对象加载到本地集合或引用中。
When overridden in a derived class, gets the type of adapter this object represents.
在派生类中重写时,获取此对象所表示的适配器的类型。
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
在派生类中实现时,返回一个对象,此对象是作为此标记扩展的目标属性的值提供的。
When overridden in a derived class, serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table.
当在派生类中被重写时,用作指定对象的哈希算法和数据结构(如哈希表)的哈希函数。
Whenever you have found a multiple inheritance relationship in an object-oriented design, be sure that no base class is actually a derived class of another base class.
如果你在一个面向对象设计中发现了多重继承关系,确保没有哪个基类实际上是另一个基类的派生类。
If that pointer is a base-class type pointer that points to a derived-type object, then that object is sliced down ( Section 15.3.1, p. 577); only the base-class part is thrown.
如果该指针是一个指向派生类对象的基类类型指针,则那个对象将被分割( 第15.3.1节),只抛出基类部分。
When overridden in a derived class, gets the public properties on this object.
在衍生类别中覆写时,取得这个物件上的公用属性。
When overridden in a derived class, gets the type of object the item represents.
在衍生类别中覆写时,取得项目所表示的物件型别。
The concept is based on a tracker object that exists in the dialogs parent and a helper class from which the dialog is dual-derived.
这个概念是基于一个跟踪对象,在对话框的父母和一个助手类从该对话框是双源存在。
When overridden in a derived class, adds the specified object to the collection.
在衍生类别中覆写时,将指定的物件加入至集合。
When overridden in a derived class, adds the specified object to the collection.
在衍生类别中覆写时,将指定的物件加入至集合。
应用推荐