NCBI C Toolkit Cross Reference

C/asn/objprt.asn


  1 --$Revision: 6.0 $
  2 --********************************************************************
  3 --
  4 --  Print Templates
  5 --  James Ostell, 1993
  6 --
  7 --
  8 --********************************************************************
  9 
 10 NCBI-ObjPrt DEFINITIONS ::=
 11 BEGIN
 12 
 13 EXPORTS PrintTemplate, PrintTemplateSet;
 14 
 15 PrintTemplate ::= SEQUENCE {
 16     name TemplateName ,  -- name for this template
 17     labelfrom VisibleString OPTIONAL,    -- ASN.1 path to get label from
 18     format PrintFormat }
 19 
 20 TemplateName ::= VisibleString
 21 
 22 PrintTemplateSet ::= SEQUENCE OF PrintTemplate
 23 
 24 PrintFormat ::= SEQUENCE {
 25     asn1 VisibleString ,    -- ASN.1 partial path for this
 26     label VisibleString OPTIONAL ,   -- printable label
 27     prefix VisibleString OPTIONAL,
 28     suffix VisibleString OPTIONAL,
 29     form PrintForm }
 30 
 31 PrintForm ::=   CHOICE {      -- Forms for various ASN.1 components
 32     block PrintFormBlock,
 33     boolean PrintFormBoolean,
 34     enum PrintFormEnum,
 35     text PrintFormText,
 36     use-template TemplateName,
 37     user UserFormat ,
 38     null NULL }               -- rarely used
 39 
 40 UserFormat ::= SEQUENCE {
 41     printfunc VisibleString ,
 42     defaultfunc VisibleString OPTIONAL }
 43 
 44 PrintFormBlock ::= SEQUENCE {  -- for SEQUENCE, SET
 45     separator VisibleString OPTIONAL ,
 46     components SEQUENCE OF PrintFormat }
 47 
 48 PrintFormBoolean ::= SEQUENCE {
 49     true VisibleString OPTIONAL ,
 50     false VisibleString OPTIONAL }
 51 
 52 PrintFormEnum ::= SEQUENCE {
 53     values SEQUENCE OF VisibleString OPTIONAL }
 54 
 55 PrintFormText ::= SEQUENCE {
 56     textfunc VisibleString OPTIONAL }
 57     
 58 END
 59 

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.