- /*
- * ===========================================================================
- * PRODUCTION $Log: tokens.hpp,v $
- * PRODUCTION Revision 1000.1 2004/04/12 17:16:21 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.10
- * PRODUCTION
- * ===========================================================================
- */
- #ifndef ASNTOKENS_HPP
- #define ASNTOKENS_HPP
- /* $Id: tokens.hpp,v 1000.1 2004/04/12 17:16:21 gouriano Exp $
- * ===========================================================================
- *
- * PUBLIC DOMAIN NOTICE
- * National Center for Biotechnology Information
- *
- * This software/database is a "United States Government Work" under the
- * terms of the United States Copyright Act. It was written as part of
- * the author's official duties as a United States Government employee and
- * thus cannot be copyrighted. This software/database is freely available
- * to the public for use. The National Library of Medicine and the U.S.
- * Government have not placed any restriction on its use or reproduction.
- *
- * Although all reasonable efforts have been taken to ensure the accuracy
- * and reliability of the software and data, the NLM and the U.S.
- * Government do not and cannot warrant the performance or results that
- * may be obtained by using this software or data. The NLM and the U.S.
- * Government disclaim all warranties, express or implied, including
- * warranties of performance, merchantability or fitness for any particular
- * purpose.
- *
- * Please cite the author in any work or product based on this material.
- *
- * ===========================================================================
- *
- * Author: Eugene Vasilchenko
- *
- * File Description:
- * ASN.1 tokens
- *
- * ---------------------------------------------------------------------------
- * $Log: tokens.hpp,v $
- * Revision 1000.1 2004/04/12 17:16:21 gouriano
- * PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.10
- *
- * Revision 1.10 2004/02/25 19:45:48 gouriano
- * Made it possible to define DEFAULT for data members of type REAL
- *
- * Revision 1.9 2003/05/22 20:09:04 gouriano
- * added UTF8 strings
- *
- * Revision 1.8 2002/11/14 21:07:10 gouriano
- * added support of XML attribute lists
- *
- * Revision 1.7 2002/10/21 16:10:12 gouriano
- * added more DTD tokens
- *
- * Revision 1.6 2002/10/18 14:30:16 gouriano
- * added T_ENTITY token
- *
- * Revision 1.5 2002/10/15 13:50:45 gouriano
- * added DTD tokens
- *
- * Revision 1.4 2001/06/11 14:34:58 grichenk
- * Added support for numeric tags in ASN.1 specifications and data streams.
- *
- * Revision 1.3 2000/12/15 15:38:35 vasilche
- * Added support of Int8 and long double.
- * Added support of BigInt ASN.1 extension - mapped to Int8.
- * Enum values now have type Int4 instead of long.
- *
- * Revision 1.2 2000/04/07 19:26:13 vasilche
- * Added namespace support to datatool.
- * By default with argument -oR datatool will generate objects in namespace
- * NCBI_NS_NCBI::objects (aka ncbi::objects).
- * Datatool's classes also moved to NCBI namespace.
- *
- * Revision 1.1 2000/02/01 21:46:23 vasilche
- * Added CGeneratedChoiceTypeInfo for generated choice classes.
- * Removed CMemberInfo subclasses.
- * Added support for DEFAULT/OPTIONAL members.
- * Changed class generation.
- * Moved datatool headers to include/internal/serial/tool.
- *
- * Revision 1.2 1999/11/15 19:36:19 vasilche
- * Fixed warnings on GCC
- *
- * ===========================================================================
- */
- BEGIN_NCBI_SCOPE
- static const TToken T_IDENTIFIER = 1;
- static const TToken T_TYPE_REFERENCE = 2;
- static const TToken T_STRING = 3;
- static const TToken T_NUMBER = 4;
- static const TToken T_BINARY_STRING = 5;
- static const TToken T_HEXADECIMAL_STRING = 6;
- static const TToken T_DEFINE = 7;
- static const TToken T_TAG = 8;
- static const TToken T_DOUBLE = 9;
- static const TToken K_DEFINITIONS = 101;
- static const TToken K_BEGIN = 102;
- static const TToken K_END = 103;
- static const TToken K_IMPORTS = 104;
- static const TToken K_EXPORTS = 105;
- static const TToken K_FROM = 106;
- static const TToken K_NULL = 107;
- static const TToken K_BOOLEAN = 108;
- static const TToken K_INTEGER = 109;
- static const TToken K_ENUMERATED = 110;
- static const TToken K_REAL = 111;
- static const TToken K_VisibleString = 112;
- static const TToken K_StringStore = 113;
- static const TToken K_BIT = 114;
- static const TToken K_OCTET = 115;
- static const TToken K_STRING = 116;
- static const TToken K_SET = 117;
- static const TToken K_SEQUENCE = 118;
- static const TToken K_OF = 119;
- static const TToken K_CHOICE = 120;
- static const TToken K_FALSE = 121;
- static const TToken K_TRUE = 122;
- static const TToken K_OPTIONAL = 123;
- static const TToken K_DEFAULT = 124;
- static const TToken K_BIGINT = 125;
- static const TToken K_UTF8String = 126;
- static const TToken T_ENTITY = 11;
- static const TToken K_ELEMENT = 201;
- static const TToken K_ATTLIST = 202;
- static const TToken K_ENTITY = 203;
- static const TToken K_PCDATA = 204;
- static const TToken K_ANY = 205;
- static const TToken K_EMPTY = 206;
- static const TToken K_SYSTEM = 207;
- static const TToken K_PUBLIC = 208;
- static const TToken K_CDATA = 209;
- static const TToken K_ID = 210;
- static const TToken K_IDREF = 211;
- static const TToken K_IDREFS = 212;
- static const TToken K_NMTOKEN = 213;
- static const TToken K_NMTOKENS = 214;
- static const TToken K_ENTITIES = 215;
- static const TToken K_NOTATION = 216;
- static const TToken K_REQUIRED = 217;
- static const TToken K_IMPLIED = 218;
- static const TToken K_FIXED = 219;
- END_NCBI_SCOPE
- #endif