objprt.asn
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- --
- -- ===========================================================================
- -- PRODUCTION $Log: objprt.asn,v $
- -- PRODUCTION Revision 1000.0 2003/10/29 21:23:56 gouriano
- -- PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R6.0
- -- PRODUCTION
- -- ===========================================================================
- --
- --$Revision: 1000.0 $
- --********************************************************************
- --
- -- Print Templates
- -- James Ostell, 1993
- --
- --
- --********************************************************************
- NCBI-ObjPrt DEFINITIONS ::=
- BEGIN
- EXPORTS PrintTemplate, PrintTemplateSet;
- PrintTemplate ::= SEQUENCE {
- name TemplateName , -- name for this template
- labelfrom VisibleString OPTIONAL, -- ASN.1 path to get label from
- format PrintFormat }
- TemplateName ::= VisibleString
- PrintTemplateSet ::= SEQUENCE OF PrintTemplate
- PrintFormat ::= SEQUENCE {
- asn1 VisibleString , -- ASN.1 partial path for this
- label VisibleString OPTIONAL , -- printable label
- prefix VisibleString OPTIONAL,
- suffix VisibleString OPTIONAL,
- form PrintForm }
- PrintForm ::= CHOICE { -- Forms for various ASN.1 components
- block PrintFormBlock,
- boolean PrintFormBoolean,
- enum PrintFormEnum,
- text PrintFormText,
- use-template TemplateName,
- user UserFormat ,
- null NULL } -- rarely used
- UserFormat ::= SEQUENCE {
- printfunc VisibleString ,
- defaultfunc VisibleString OPTIONAL }
- PrintFormBlock ::= SEQUENCE { -- for SEQUENCE, SET
- separator VisibleString OPTIONAL ,
- components SEQUENCE OF PrintFormat }
- PrintFormBoolean ::= SEQUENCE {
- true VisibleString OPTIONAL ,
- false VisibleString OPTIONAL }
- PrintFormEnum ::= SEQUENCE {
- values SEQUENCE OF VisibleString OPTIONAL }
- PrintFormText ::= SEQUENCE {
- textfunc VisibleString OPTIONAL }
-
- END