As we learned in Section 2.8 (p. 65), class data members are not initialized when the class is defined. Instead, data members are initialized through a constructor.
正如在第2 . 8节所学习的,在定义类时没有初始化它的数据成员,而是通过构造函数来初始化其数据成员。
There is one crucially important difference between how we define variables and class data members: We ordinarily cannot initialize the members of a class as part of their definition.
定义变量和定义数据成员存在非常重要的区别:一般不能把类成员的初始化作为其定义的一部分。
It includes all class data members, all class member functions (either explicitly declared, or implicitly generated by the compiler), all base classes of the class, and all their members. Consider.
它包括所有类的数据成员,所有类的成员函数(或者显式声明,或者由编译器隐式生成),所有类的基类和所有它们的成员。
With the analysis classes and their relationships identified, I then populated each analysis class with attributes (data members) that were in accord with the responsibilities of each class.
借助这些分析类及其已确定的关系,我又给每个分析类配上与其职责相一致的属性(数据成员)。
The algorithm USES the name of the serializable class, names of all the interfaces it implements, all the data members of the serializable class, etc.
该算法使用了可序列化的名称、类实现的所有接口的名称、可序列化类的所有数据成员,等等。
Easy mapping of parameters and other client data to typed method parameters and class members.
键入的方法参数和类成员上。
A constructor initializer list specifies initial values for one or more data members of the class.
构造函数的初始化列表为类的一个或多个数据成员指定初值。
It contains both the information about the state change of class under testing and the information from the source code about the definition and use of the data members.
该模型不仅包含了当前测试类的状态转换信息,且包含了从其执行代码所得到的数据成员的定义及使用信息。
However, when we compare two derived objects, we want to compare data members that might be particular to that derived class.
但是,当比较两个派生类对象的时候,我们希望比较可能特定于派生类的数据成员。
How to declare parameter data members in your recordset class.
在记录集类中声明参数数据成员的方式。
Moreover, it can optimize the whole design program by making use of inheritance relations of data members and member functions between the basic class and its derived class.
同时利用父类与子类间数据成员、成员函数的继承关系,可以优化曲线测设程序的整体设计。
Overloaded class members are distinguished by their unique signatures, which are comprised of the name of the member and the data type of each of its formal parameters.
重载的类成员通过它们的唯一签名来进行区分,签名包含成员的名称及其每个形参的数据类型。
Like dialog data exchange (DDX), RFX needs information about the data members of your class.
就像对话资料交换(DDX),RF X需要您的类别的资料成员之相关资讯。
Changes to a data type that affect the layout of an object, such as data members of a class.
影响一个对象(如类的数据成员)布局的数据类型的更改。
An instance is needed to take the address of nonstatic data members of a managed class or interface.
需要某实例来获取托管类或接口的非静态数据成员的地址。
Understand and grasp the object as a class to another class as data members, using initialization table call the constructor method, constructor execution order.
理解并掌握当一个类的对象作为另一个类的数据成员时,利用初始化表调用构造函数的方法、构造函数的执行顺序。
The operations and data that are part of a class are referred to as its members.
这些操作和数据是类的一部分,也称为类的成员。
The memory image of an instance of a class has one pointer to the vtable of this class, stored in front of the actual data members of the object.
类的实例的内存快照里有一个vtable的指针,该指针位置在实际的成员变量前面。
The memory image of an instance of a class has one pointer to the vtable of this class, stored in front of the actual data members of the object.
类的实例的内存快照里有一个vtable的指针,该指针位置在实际的成员变量前面。
应用推荐