as nzs iso iec 14750-2003 information technology - open distributed processing - interface...

Upload: sai-global-apac

Post on 05-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    1/8

    AS/NZS ISO/IEC 14750:2003ISO/IEC 14750:1999

    Australian/New Zealand Standard

    Information technologyOpendistributed processingInterfacedefinition language

    AS/NZS

    I

    SO/IEC

    14750

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    2/8

    AS/NZS ISO/IEC 14750:2003This Joint Australian/New Zealand Standard was prepared by Joint TechnicalCommittee IT-015, Software Engineering. It was approved on behalf of the Councilof Standards Australia on 6 May 2003 and on behalf of the Council of StandardsNew Zealand on 22 April 2003. It was publ ished on 4 June 2003.

    The following are represented on Committee IT-015:

    Australian Computer SocietyAustralian Information Industry AssociationAustralian Society for Technical Communication (NSW)Australian Software Metrics AssociationGriffith UniversityNew Zealand Organisation for Quality

    Quality Society of AustralasiaSoftware Engineering Australia (Qld)Software Quality Association (ACT)Software Quality Association (NSW)Software Verification Research CentreSydney SPIN Group (Software Process Improvement Network)Systems Engineering Society of AustraliaUniversity of New South WalesUniversity of South AustraliaUniversity of Technology, Sydney

    Keeping Standards up-to-date

    Standards are living documents which reflect progress in science, technology andsystems. To maintain their currency, all Standards are periodically reviewed, andnew editions are published. Between editions, amendments may be issued.Standards may also be withdrawn. It is important that readers assure themselvesthey are using a current Standard, which should include any amendments whichmay have been published since the Standard was purchased.

    Detailed information about joint Australian/New Zealand Standards can be found byvisiting the Standards Australia web site at www.standards.com.au or StandardsNew Zealand web site at www.standards.co.nz and looking up the relevant Standardin the on-line catalogue.

    Alternatively, both organizations publish an annual printed Catalogue with fulldetails of all current Standards. For more frequent listings or notification ofrevisions, amendments and withdrawals, Standards Australia and Standards NewZealand offer a number of update options. For information about these services,users should contact their respective national Standards organization.

    We also welcome suggestions for improvement in our Standards, and especiallyencourage readers to notify us immediately of any apparent inaccuracies orambiguities. Please address your comments to the Chief Executive of eitherStandards Australia International or Standards New Zealand at the address shownon the back cover.

    This Standard was issued in draft form for comment as DR 03095.

    http://www.standards.com.au/http://www.standards.com.au/
  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    3/8

    AS/NZS ISO/IEC 14750:2003

    Australian/New Zealand Standard

    Information technologyOpendistributed processingInterfacedefinition language

    First published as AS/NZS ISO/IEC 14750:2003.

    COPYRIGHT

    Standards Australia/Standards New Zealand

    All rights are reserved. No part of this work may be reproduced or copied in any form or by anymeans, electronic or mechanical, including photocopying, without the written permission of thepublisher.

    Jointly published by Standards Australia International Ltd, GPO Box 5420, Sydney, NSW 2001and Standards New Zealand, Private Bag 2439, W ellington 6020

    ISBN 0 7337 5285 3

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    4/8

    ii

    PREFACE

    This Standard was prepared by the Joint Standards Australia/Standards New Zealand CommitteeIT-015, Software Engineering.

    This Standard is identical with, and has been reproduced from ISO/IEC 14750:1999,

    Information technologyOpen distributed processingInterface definition language.

    The objective of this Standard is to provide the ODP Reference Model with a language and

    environment neutral notation to describe computational operation interface signatures. Use of

    this notation does not imply use of specific supporting mechanisms and protocols.

    The terms normative and informative are used to define the application of the annex to

    which they apply. A normative annex is an integral part of a standard, whereas an informative

    annex is only for information and guidance.

    As this Standard is reproduced from an international standard, the following applies:(a) Its number appears on the cover and title page while the international standard number

    appears only on the cover.

    (b) In the source text this International Standard should read this Australian/New Zealand

    Standard.

    (c) A full point substitutes for a comma when referring to a decimal marker.

    None of the normative references in the source document have been adopted as Australian or

    Australian/New Zealand Standards.

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    5/8

    ii i

    CONTENTS

    Page

    1 Scope .............................................................................................................................................................. 1

    2 Normative references...................................................................................................................................... 1

    2.1 Identical Recommendations | International Standards......................................................................... 1

    3 Definitions ...................................................................................................................................................... 1

    4 ODP IDL syntax and semantics...................................................................................................................... 1

    4.1 Lexical conventions............................................................................................................................. 2

    4.2 Preprocessing ...................................................................................................................................... 7

    4.3 ODP IDL grammar.............................................................................................................................. 8

    4.4 ODP IDL specification........................................................................................................................ 12

    4.5 Inheritance........................................................................................................................................... 134.6 Constant declaration............................................................................................................................ 15

    4.7 Type declaration.................................................................................................................................. 17

    4.8 Typecodes and Principals.................................................................................................................... 22

    4.9 Exception declaration.......................................................................................................................... 22

    4.10 Operation declaration .......................................................................................................................... 23

    4.11 Attribute declaration............................................................................................................................ 25

    4.12 CORBA module.................................................................................................................................. 25

    4.13 Names and scoping.............................................................................................................................. 25

    4.14 Differences from C++ ......................................................................................................................... 27

    Annex A Reserved standard exceptions ................................................................................................................. 28

    A.1 Object Non-Existence ......................................................................................................................... 29A.2 Transaction exceptions........................................................................................................................ 29

    Annex B Typecode encoding in the CORBA specification.................................................................................... 30

    2

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    6/8

    iv

    NOTES

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    7/8

    AUSTRALIAN/NEW ZEALAND STANDARD

    INFORMATION TECHNOLOGY OPEN DISTRIBUTED PROCESSING INTERFACE DEFINITION LANGUAGE

    1 Scope

    This Recommendation | International Standard is intended to provide the ODP Reference Model (see ITU-T Rec. X.902 |

    ISO/IEC 10746-2 and ITU-T Rec. X.903 | ISO/IEC 10746-3) with a language and environment neutral notation to

    describe computational operation interface signatures. Use of this notation does not imply use of specific supporting

    mechanisms and protocols.

    2 Normative references

    The following Recommendations and International Standards contain provisions which, through reference in this text,

    constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated

    were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this

    Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent

    edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently

    valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently

    valid ITU-T Recommendations.

    2.1 Identical Recommendations | International Standards

    ITU-T Recommendation X.902 (1995) | ISO/IEC 10746-2:1996, Information technology Open

    distributed processing Reference Model: Foundations.

    ITU-T Recommendation X.903 (1995) | ISO/IEC 10746-3:1996, Information technology Open

    distributed processing Reference Model: Architecture.

    2.2 Additional references

    ISO/IEC 646:1991, Information technology ISO 7-bit coded character set for information interchange.

    ISO/IEC 8859-1:1998, Information technology 8-bit single-byte coded graphic character sets Part 1:

    Latin alphabet No. 1.

    3 Definitions

    For the purposes of this Recommendation | International Standard, the following definitions apply.

    This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.902 |

    ISO/IEC 10746-2:

    object;

    interface;

    interface signature.

    This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.903 |

    ISO/IEC 10746-3:

    operation.

    1

    COPYRIGHT

  • 7/31/2019 As NZS ISO IEC 14750-2003 Information Technology - Open Distributed Processing - Interface Definition Languag

    8/8

    This is a free preview. Purchase the entire publication at the link below:

    Looking for additional Standards? Visit SAI Global Infostore

    Subscribe to ourFree Newsletters about Australian Standards in Legislation; ISO, IEC, BSI and more

    Do you need to Manage Standards Collections Online?

    Learn about LexConnect, All Jurisdictions, Standards referenced in Australian legislation

    Do you want to know when a Standard has changed?

    Want to become an SAI Global Standards Sales Affiliate?

    Learn about other SAI Global Services:

    LOGICOM Military Parts and Supplier DatabaseMetals Infobase Database of Metal Grades, Standards and Manufacturers

    Materials Infobase Database of Materials, Standards and Suppliers

    Database of European Law, CELEX and Court Decisions

    Need to speak with a Customer Service Representative - Contact Us

    AS/NZS ISO/IEC 14750:2003, Informationtechnology - Open distributed processing -Interface definition language

    http://infostore.saiglobal.com/store?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Newsletters/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Collections/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Law/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/StandardsWatch/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Affiliate/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/LOGICOM/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/LOGICOM/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/Metals/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/Materials/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/European-Law/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://infostore.saiglobal.com/store/getpage.aspx?path=/InformationServices/shop/pages/ContactingUs.htm&utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://infostore.saiglobal.com/store/Details.aspx?ProductId=394311&utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://infostore.saiglobal.com/store/getpage.aspx?path=/InformationServices/shop/pages/ContactingUs.htm&utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/European-Law/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/Materials/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/Metals/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Databases/LOGICOM/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Affiliate/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/StandardsWatch/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Law/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Collections/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://www.saiglobal.com/Information/Standards/Newsletters/?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSiteshttp://infostore.saiglobal.com/store?utm_source=PDF&utm_medium=Website_Infostore&utm_campaign=DocSharingSites