|
|
1.1 ! root 1: -- fadu.py - FTAM file-access-data-unit definitions ! 2: -- lifted directly from ISO8571-2 ! 3: -- ! 4: -- Two kinds of changes to the ASN.1 ! 5: -- - more commentary-tags for POSY ! 6: -- - Node-Name must be string-valued ! 7: ! 8: -- $Header: /f/osi/ftam/RCS/fadu.py,v 7.0 89/11/23 21:53:15 mrose Rel $ ! 9: -- ! 10: -- ! 11: -- $Log: fadu.py,v $ ! 12: -- Revision 7.0 89/11/23 21:53:15 mrose ! 13: -- Release 6.0 ! 14: -- ! 15: ! 16: -- ! 17: -- NOTICE ! 18: -- ! 19: -- Acquisition, use, and distribution of this module and related ! 20: -- materials are subject to the restrictions of a license agreement. ! 21: -- Consult the Preface in the User's Manual for the full terms of ! 22: -- this agreement. ! 23: -- ! 24: -- ! 25: ! 26: ! 27: --* ISO8571-FADU *-- FADU DEFINITIONS ::= ! 28: ! 29: %{ ! 30: #ifndef lint ! 31: static char *rcsid = "$Header: /f/osi/ftam/RCS/fadu.py,v 7.0 89/11/23 21:53:15 mrose Rel $"; ! 32: #endif ! 33: %} ! 34: ! 35: BEGIN ! 36: ! 37: Subtree ::= ! 38: SEQUENCE { ! 39: node ! 40: Node-Descriptor-Data-Element, ! 41: ! 42: data[0] ! 43: IMPLICIT DU ! 44: OPTIONAL, ! 45: -- present if and only if a DU is connected to the node ! 46: ! 47: children[1] ! 48: IMPLICIT Children ! 49: OPTIONAL ! 50: -- a leaf node is characterized by having no children ! 51: } ! 52: ! 53: Children ::= ! 54: SEQUENCE { ! 55: enter-subtree ! 56: Enter-Subtree-Data-Element, ! 57: ! 58: subtree --* *-- ! 59: SEQUENCE OF ! 60: Subtree, ! 61: -- subtrees must appear in their proper order according to ! 62: -- their proper ordering as children of their parent node ! 63: ! 64: exit-subtree ! 65: Exit-Subtree-Data-Element ! 66: } ! 67: ! 68: DU ::= ! 69: SEQUENCE OF ! 70: --* ISO8571-CONTENTS *-- CONT.File-Contents-Data-Element ! 71: ! 72: Node-Descriptor-Data-Element ::= ! 73: [APPLICATION 0] ! 74: IMPLICIT SEQUENCE { ! 75: name ! 76: Node-Name ! 77: OPTIONAL, ! 78: -- present only if the root node of the subtree is a named node ! 79: ! 80: arc-length[1] ! 81: IMPLICIT INTEGER ! 82: DEFAULT 1, ! 83: -- used to specify the length of the arc to the root node of ! 84: -- the subtree from its parent node ! 85: ! 86: data-exists[2] ! 87: IMPLICIT BOOLEAN ! 88: DEFAULT TRUE ! 89: -- data-exists = TRUE indicates that a DU is connected to the ! 90: -- root node of the subtree ! 91: } ! 92: ! 93: Node-Name ::= ! 94: --* CHOICE { *-- ! 95: --* ftam-coded *-- [0] ! 96: IMPLICIT GraphicString --* , *-- ! 97: -- when ftam-coded is used, the Node-Name belongs to the same ! 98: -- abstract syntax as the structuring information. Node-Names ! 99: -- are then transferred in the presentatino context established ! 100: -- to support the FTAM FADU abstract syntax. This form of ! 101: -- Node-Name is only allowed when the content type file ! 102: -- attribute contains a document type name. To support this ! 103: -- alternative, at least the G0 character set registered in ! 104: -- character set register entry 2 shall be supported. ! 105: ! 106: --* user-coded *-- ! 107: --* EXTERNAL *-- ! 108: -- the actual types allowed are found in the abstract syntax ! 109: -- for the files contents, as specified in the contents type ! 110: -- file attribute for the file ! 111: --* } *-- ! 112: ! 113: Enter-Subtree-Data-Element ::= ! 114: [APPLICATION 1] ! 115: IMPLICIT NULL ! 116: ! 117: Exit-Subtree-Data-Element ::= ! 118: [APPLICATION 2] ! 119: IMPLICIT NULL ! 120: -- the enter-subtree and exit-subtree data elements are used to bracket ! 121: -- the list of subtrees, which are children of the preceding node ! 122: ! 123: FADU ::= ! 124: Subtree ! 125: ! 126: Structuring-Data-Element ::= ! 127: CHOICE { ! 128: node-descriptor --* *-- ! 129: Node-Descriptor-Data-Element, ! 130: ! 131: enter-subtree --* *-- ! 132: Enter-Subtree-Data-Element, ! 133: ! 134: exit-subtree --* *-- ! 135: Exit-Subtree-Data-Element ! 136: } ! 137: ! 138: -- Data-Element is defined to be a general data type whose values are ! 139: -- ! 140: -- a) a value of the ASN.1 type Structuring-Data-Element in the abstract ! 141: -- syntax "FTAM FADU"; or, ! 142: -- ! 143: -- b) a value of the ASN.1 type ISO8571-CONTENTS.File-Contents-Data-Element ! 144: -- in the abstract syntax derived from the contents type file attribute. ! 145: ! 146: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.