CAN CSA-ISO IEC 10728B-1999 Information technology - Information Resource Dictionary System (IRDS) Services Interface AMENDMENT 2 Ada language binding.pdf
《CAN CSA-ISO IEC 10728B-1999 Information technology - Information Resource Dictionary System (IRDS) Services Interface AMENDMENT 2 Ada language binding.pdf》由会员分享,可在线阅读,更多相关《CAN CSA-ISO IEC 10728B-1999 Information technology - Information Resource Dictionary System (IRDS) Services Interface AMENDMENT 2 Ada language binding.pdf(24页珍藏版)》请在麦多课文档分享上搜索。
1、Amendment 2:1999 to National Standard of Canada CAN/CSA-ISOBEC 10728-95 Amendment 2: 1996 to International Standard ISO/IEC 107281993 has been adopted without modification as Amendment 21999 to CAN/CSA-ISO/IEC 10728-95. This Amendment was reviewed by the CSA Technical Committee on Information Techno
2、logy (TCIT) under the jurisdiction of the Strategic Steering Committee on Information Technology and deemed acceptable for use in Canada. July 1999 Information technology - Information Resource Dictionary System (IRDS) Services Interface AMENDMENT 2: Ada language binding (Reaff i r med 2004) Technol
3、ogies de Iinformation - Interface de services du gestionnaire de ressources du s ysteme dinformations (IRDS) AMENDEMENT 2: Liant de langage Ada Reference number ISO/IEC 10728:1993/Amd.2:1996(E) ISODEC 10728: 1993/Amd.2:1996(E) Foreword IS0 (the International Organization for Standardization) and IEC
4、 (the Inter- national Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of IS0 or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with
5、particular fields of technical activity. IS0 and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with IS0 and IEC, also take part in the work. In the field of information technology, IS0 and IEC have
6、established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Amendment 2
7、to International Standard ISO/IEC 10728:1993 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Sub- committee SC 21, Open systems interconnection, data management and open distributed processing. 0 ISOiIEC 1996 All rights reserved. Unless otherwise specified, no part o
8、f this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and micro- film, without permission in writing from the publisher. ISOIIEC Copyright Office * Case postale 56 * CH-1211 Genke 20 * Switzerland 0 ISOAEC ISO/IEC 10728: 1993/A
9、md.2: 1996(E) Information technology - Information Resource Dictionary System (IRDS) Services Interface AMENDMENT 2: Ada language binding Page v Add a new entry to the Table of Contents as follows: “Annex D - Ada language binding“ Page vi Add a new sentence to the last paragraph in the Foreword as f
10、ollows: “Annex D is normative“. Page I Add a new sentence in clause 1 paragraph 2, before the last sentence. “A language binding for the Ada language (ISO/IEC 8652) is provided in Annex D.“ Add a reference in clause 2, after the reference to IS0 7185, as follows: “ISOIIEC 8652: 1995, Information tec
11、hnology - Programming languages - Ada.“ Page 5 Add a new sentence in subclause 4.4. “Data structures for use with the Ada language are defined in Annex D.“ Add a new sentence in subclause 4.5. “Ada language bindings for the services are provided in Annex D.“ Page 71 Amend the first sentence of the N
12、OTE in subclause 8.1 to read: “For the Pascal language binding specified in this clause, the C language binding specified in Annex C, and the Ada language binding specified in Annex D, enumerated types are . .“ Page 75 Add a new sentence at the end of clause 9 to read: “Alternative service formats f
13、or use with the Ada language are specified in Annex D.“ Add a new Annex D after Annex C (as amended by ISODEC 10728:1993/Amd.l:1995) as follows: 1 ISO/IEC 10728: 1993/Amd.2: 1996(E) 0 ISO/IEC Annex D (normative) Ada language binding The IRDS Services lnterface language binding for the Ada language i
14、s presented in the form of an Ada package specification as provided in D.4 using the general rules as set out in D.2 below. D.3 provides a package called HardwareqDependencies which isolates hardware, software, and system dependencies in order to improve portability of the binding. D. 1 Strategy for
15、 the Ada language binding In this binding the data names and data structures defined in clause S have been adhered to except where the Ada language provides a preferred alternative construct. The binding defined in the package specification in D.4 provides an interface to the SQL types through a pac
16、kage that isolates hardware dependencies for Ada types. Time and date abstractions are obtained from package Calendar. It is expected that the package body will provide the necessary transformations to SQL and IRDS types. In this binding, the procedure names and their parameters defined in clause 9
17、have been adhered to except as follows: 1. 2. 3. 4. 5. 6. 7. 8. 9. All names have been spelled out for understanding except for IRDS, IRD, and SQL. All names have underscores between logical words for clarity All names of data structure types have the explicit word “type“ added to the simple name fo
18、r clarity. Excluded are Ada predefined types of Boolean, Positive, Character, String, and Time. Names ending in “type“ which were not types have been renamed to avoid confusion. The “Irds“ prefix has been removed from all types, objects, and procedure names. The desired effect is achieved through th
19、e use of a package called “IRDS“. The fully qualified name will thus include IRDS eg, IrdsCreateIRDDefinition becomes IRDS.Create-IRD-Definition, IrdsNameLim becomes IRDS.NameLimit1. The subprogram names and parameter names in D.4 below shall have the same meaning as the mapped names defined in clau
20、se 9. The use of the Service Retum Code identified in subclause 8.2.5 is not used in preference to the use of Ada exceptions. A discussion on how exceptions are used is provided in the Ada binding discussion for subclause 8.2.5 within D.4 below. Strings are passed as an access type (with a pointer)
21、allowing unbounded lengths. A list structure is used for the Column List Parameters (subclause 8.2.6) again using access types. Access types end with the suffix “Pointer-Type.“ Time abstractions are imported from package Calendar to facilitate time operations by Ada applications. Use of name User-Id
22、 vice User as object of type User-Id-Type to conform with naming convention. 2 0 ISO/IEC ISO/IEC 10728: 1993/Amd.2: 1996(E) 10. The following mappings for SQL data types to Ada data types have been used: SOL Data Type Ada Data Type CHARACTER CHARACTER VARYING NATIONAL CHARACTER NATIONAL CHARACTER VA
23、RYING REAL DOUBLE PRECISION FLOAT INTEGER SMALL INTEGER NUMERIC DECIMAL DATE TIME TIME STAMP INTERVAL Notes 1. 2. 3. 4. Character-Type Note 11 Text-Pointer-Type Note 21 Nationalcharacter-Type Note I NationdTextPointer-Type Note 21 Real-Type Note 11 Long-Float-Type Note 11 Float-Type Note I Integer-T
24、ype Note 13 Shofl-Integer-Type Note 11 Fixed-Type Note 11 Decimal-Type Note 11 Calendar.Time Note 31 Calendar.Time Note 31 Calendar.Time Note 31 Interval-Type Note 41 These types are imported from a separate package Hardware-Dependencies used to insulate the IRDS binding from hardware differences, t
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CANCSAISOIEC10728B1999INFORMATIONTECHNOLOGYINFORMATIONRESOURCEDICTIONARYSYSTEMIRDSSERVICESINTERFACEAMENDMENT2ADALANGUAGEBINDINGPDF

链接地址:http://www.mydoc123.com/p-590226.html