A member function with public visibility can be invoked by any other member function in any other object or class.
在任何其它对象或类中的任何其它成员函数都可以调用具有公有可视性的成员函数。
This class member will contain the application object that stores employee data or organizational data depending on what the TreeItem widget represents.
根据TreeIte m部件代表的内容不同,这个类成员将包含存储职员数据或组织数据的应用程序对象。
You can test this using the instanceof operator, which returns true if the object is a member of the indicated class, as shown in Listing 14.
可以使用instance of操作符来测试这一点,如果对象是指定类的成员,则返回true,如清单14所示。
Each Content object will then be a member of the global item class, which will contain all of the afore-mentioned properties.
每个Content对象是全局条目类的一个成员,它包含前面提到的所有属性。
For the Virtual member Manager to understand which groups an object is a member of, you need to define the associated membership attribute for the object class.
要让VirtualMemberManager知道某个对象属于哪个组,您需要为对象类定义相关的成员关系属性。
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.
在继承中,派生类接受基类的成员变量和方法。这表示继承的顺序必须在对象构造的时候被遵守。
The dot operator applies only to objects of class type: the left-hand operand must be an object of class type; the right-hand operand must name a member of that type.
点操作符仅应用于类类型的对象:左操作数必须是类类型的对象,右操作数必须指定该类型的成员。
An event is a member that enables an object or class to provide notifications. Clients can attach executable code for events by supplying event handlers.
事件是一种类成员,它使得对象或类能够提供通知。客户端被通知的对象。
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.
如果我有一个对象的指针,转换到它的基类指针对象上,我能通过基类指针调用合适的成员函数。
This data member saves the identifier that COM returns when registering the class factory object.
这个数据成员保存注册类工厂对象时COM返回出来的标识。
Call this member function to retrieve the code for the class object.
调用该成员函数以检索类对象的代码。
A member declared as static can not be accessed with an instantiated class object (though a static method can).
一个成员声明为static,那么他是不可以被这个类的实例来访问的(虽然静态方法可以)。
Returns a method object that reflects the specified public member method of the class or interface represented by this class object.
返回一method对象,映射该Class对象表示的类或接口中的指定公共成员方法。
The state test of class is an important component part of object-oriented software test. Class unit test comes down to test the data member and member function.
类的状态测试是面向对象软件测试的重要内容,类的单元测试归结为测试类的数据成员和成员函数。
When implemented in a class, returns the object that a member is defined on.
在类中实现时,返回作为成员定义依据的对象。
When implemented in a class, returns the object that a member is defined on.
在类中实现时,返回作为成员定义依据的对象。
应用推荐