Step 1: Creating the CDT model
第 1步:创建CDT模型
The CDT model presents a different but similar set of adapters for workspace resources.
CDT模块代表了一个适用于工作空间资源的不同却相似的适配器集合。
The ITranslationUnit represents a single file of C/C++ code and is the most important element in the CDT model.
ITranslationUnit代表了单个C/C++代码文件,是CDT模块中最重要的元素。
The CDT model life cycle consists of three important steps: its initial creation, the creation of a CProject, and the creation of a TranslationUnit within the CDT editor.
CDT模型生命周期由三个重要步骤组成:初始创建、创建CProject以及在CDT编辑器中创建TranslationUnit。
The CDT model should also become clearer in subsequent articles, as I discuss the many ways the TranslationUnit and WorkingCopy interact with the CEditor and its UI classes.
CDT模型会在接下来的文章中变得更为清晰,因为我讨论了TranslationUnit和WorkingCopy与CEditor及其ui类进行交互的多种方式。
Now that you know the basic elements of the model, you need to know how they interact during CDT operation.
既然您已经了解了该模型的基本元素,那么,您还需要了解这些元素在CDT操作时是如何进行交互的。
For example, if a statement starts with a token corresponding to "enum" (declaring an enumeration), the CDT parser will try to match the statement to its abstract model of an enum statement.
例如,如果语句以一个与“enum”(声明一个枚举)相应的标记作为开始,CDT解析器会试图将该语句同enum语句的抽象模型匹配起来。
I haven't found any grammar files for the CDT, but we can determine its abstract model elements from the methods in the Parser class and from the comments that precede these methods.
我没找到关于CDT的语法文件,但我们可以根据parser类的方法以及这些方法之前的注释确定其抽象模型元素。
Aim CDT (categorical data type) is a parallel model basing on category theory, and this paper discusses the CDT construction of the memory type in details.
目的CDT(范畴数据类型)是以范畴理论为基础的并行计算模型,本文对存储器类型的CDT构造进行深入的探讨。
The authors set up the road and terrain model with CDT theory, and transform it into mesh model and show the three-dimension view.
采用CDT理论建立道路与地形整体模型,并转化成格网模型进行三维显示;
The authors set up the road and terrain model with CDT theory, and transform it into mesh model and show the three-dimension view.
采用CDT理论建立道路与地形整体模型,并转化成格网模型进行三维显示;
应用推荐