推出 ArcGIS 开发系列, 面向开发, 当然要求用户层次稍微高一些。
第一部分 - COM
第二部分 - Object model diagrams
第三部分 - Map and layers
(暂定, 入门用)
具体特点如下:
-基于 ArcGIS-ArcObjects, 面向开发初级, 高级编程的必经之路
-使用 ArcGIS-VBA
-采用英文和中文结合, 重点翻译
1 COM: Component Object Model
内容提要:
-Working with COM classes
Interfaces
Polymorphism(多态性)
QueryInterface
详细解释:
-COM: Component Object Mode-l 组建对象模型
COM is a protocol that connects one software component, or module, with another
. With this protocol, it is possible to build reusable software components that
can be dynamically interchanged in a distributed system.
-Interfaces
All ArcMap and ArcCatalog (ArcInfo) classes are COM classes. COM classes use in
terfaces to organize properties and methods. Classes may have many interfaces.
可以理解为一组有功能关系的 properties and methods 的结合, 对外是一个 Interface
-QueryInterface
COM objects use COM interfaces to communicate with each other. When working wit
h COM objects, the developer never works with the COM object directly, but via
one of its interfaces.
从一个 Interface 转到另一个 Interface, 称作 QueryInterface, 和指针的概念相似?
-Polymorphism
Classes can share the same interface but have unique implementation.
如果理解了 Class 和 Object 的概念, 这个不会太困难。
An object is an instance of a class。
山不在高, 有仙则明; 水不在深, 有龙则灵。
2 Introducing COM-简介
内容提要:
-COM is a standard for creating classes
是用于创建类的标准
-Classes can be reused between applications
类可以在应用程序间重复使用
--Independent of programming language