Lines 26-34: Virtual functions.
第26 - 34行:虚函数。
Can derived class have two sets of virtual functions?
派生类可以有两套虚函数?
The virtual functions simply write a line of text to standard output.
虚函数简单地向标准输出写一行文本。
In some situations however, the use of virtual functions is not possible.
但是,在某些情况下,不可能使用虚函数。
The second time, the process simply references the data members and virtual functions.
第二次,进程只是引用数据成员和虚函数。
Discusses changes in the way private virtual functions are handled in derived classes.
讨论在派生类中处理私有虚函数的方式的更改。
Thus an object that USES virtual functions occupies 4 additional bytes for each instance.
这样,使用虚函数的对象每个实例占用4个额外的字节。
The discussion and the sample program are limited to non-static data members and virtual functions.
讨论和示例程序都只限于非静态数据成员和虚函数。
A class containing (or inheriting) one or more pure virtual functions is an abstract base class.
类包含或者继承一个或多个纯虚函数,这样的类就是抽象基类。
What's the point of virtual functions other than allowing a function of the same name in the derived class?
虚拟以外的其他功能允许在派生类的函数的名称相同点是什么?
The only significant cost of virtual functions is one additional memory lookup before a virtual function can be called.
虚拟函数唯一一个明显的代价是在调用虚拟函数之前附加了一个存储查询。
First, the Vee-Table pointer is used to access virtual functions, and data members are accessed directly using compile time offsets.
首先,Vee -Table指针用于访问虚函数,而对数据成员的访问直接使用编译时偏移量实现。
When we use virtual functions, the compiler automatically selects the right function according to the actual type of the object.
当使用虚函数的时候,编译器自动根据对象的实际类型选择正确的函数。
The RTTI operators execute at run time for classes with virtual functions, but are evaluated at compile time for all other types.
对于带虚函数的类,在运行时执行rtti操作符,但对于其他类型,在编译时计算rtti操作符。
We might think we could solve this problem by defining a set of virtual functions that would perform the equality test at each level in the hierarchy.
也许我们认为可以通过定义一个虚函数集合来解决这个问题,这些虚函数可以在类层次中每一层执行相等测试。
In a base class, abstract class is defined by declaring pure virtual function, a derived class must define all inherited pure virtual functions of its base classes to be concrete.
在基类中可以通过将虚函数声明为纯虚函数的手段来定义抽象类,强制派生类在自己的类定义中实现虚函数的具体功能。
Member template functions cannot be virtual functions and cannot override virtual functions from a base class when they are declared with the same name as a base class virtual function.
当使用与基类虚函数相同的名称进行声明时,成员模板函数不能是虚函数并且不能从基类重写虚函数。
These operators return dynamic type information only for classes with one or more virtual functions. For all other types, information for the static (i. e. , compile-time) type is returned.
这些操作符只为带有一个或多个虚函数的类返回动态类型信息,对于其他类型,返回静态(即编译时)类型的信息。
This paper is intended to address issues pertaining to an over-emphasis on creating artificial roadside views but ignoring the virtual functions of the facilities while constructing urban highways.
针对目前城市道路景观建设过程中过分强调人 工化的景观环境、忽视道路实际功能的问题进行研究。
This article examines six platforms that were either used to successfully build virtual Spaces or were explored for specific functions.
本文研究六种平台,在这些平台上曾经成功地构建了虚拟空间,或者平台本身就是为实现特定功能开发的。
Since OpenSim is open source you can extend the code base and include new functions to allow integration with enterprise systems, products, or other virtual spaces.
OpenSim是开放源码的,所以可以扩展代码基,增加新功能,支持与企业系统、产品或其他虚拟空间的集成。
Refer to Administrator's Guide for a complete list of virtual processors and their functions.
有关虚拟处理器及其功能的完整列表,请参阅administrator 'sGuide。
Also, I have occasionally encountered strange results from virtual table queries that do not occur when I use the direct TimeSeries functions.
而且,虚表查询偶尔还会返回奇怪的结果,而在使用TimeSeries函数时不会碰到这种情况。
The way virtual processors function to database server is similar to the way that a CPU functions in a computer.
虚拟处理器对数据库服务器的作用类似于CPU 对计算机的作用。
The article firstly discusses the functions, advantages and work principles of ARRP protocol in virtual route cluster, and the network topological structure needed by campus network.
文章首先讨论了虚拟路由集群中arrp协议的功能、优点、工作原理以及校园网所需的对应网络拓扑结构。
After seeing the TimeSeries functions and casts and other elements, a virtual table looks like an easy choice.
看过了TimeSeries函数和强制类型转换以及其他元素之后,虚表看上去是一种自然的选择。
There are many processes going on within our virtual cell, and this trip featured only a few of the major functions.
有许多过程持续在我们的虚拟细胞,此行精选只有少数的主要职能。
This paper introduces the method of designing virtual instrument with BMP pictures, giving C functions.
本文介绍了利用BMP图象设计虚拟仪表的方法。给出了其C语言函数。
This paper introduces the method of designing virtual instrument with BMP pictures, giving C functions.
本文介绍了利用BMP图象设计虚拟仪表的方法。给出了其C语言函数。
应用推荐