NCBI C++ ToolKit
PC_UrnDataType_.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id$
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  */
27 
28 /// @file PC_UrnDataType_.hpp
29 /// Data storage class.
30 ///
31 /// This file was generated by application DATATOOL
32 /// using the following specifications:
33 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/pcsubstance/pcsubstance.asn">pcsubstance.asn</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/pcsubstance/pcsubstance.def">pcsubstance.def</a>
36 ///
37 /// ATTENTION:
38 /// Don't edit or commit this file into CVS as this file will
39 /// be overridden (by DATATOOL) without warning!
40 
41 #ifndef OBJECTS_PCSUBSTANCE_PC_URNDATATYPE_BASE_HPP
42 #define OBJECTS_PCSUBSTANCE_PC_URNDATATYPE_BASE_HPP
43 
44 // standard includes
45 #include <serial/serialbase.hpp>
47 
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
51 #endif
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 
55 // generated classes
56 
57 
58 /** @addtogroup dataspec_NCBI_PCSubstance
59  *
60  * @{
61  */
62 
63 /// URN Data Type
64 /// Provides the ability to use more specific data types than that directly provided by ASN.1.
65 /// Provides for more specific validation of specified data.
67  ePC_UrnDataType_string = 1, ///< Basic Data Types String [maps to a VisibleString]
68  ePC_UrnDataType_stringlist = 2, ///< List of Strings [maps to VisibleString list]
69  ePC_UrnDataType_int = 3, ///< 32-Bit Signed Integer [maps to an INTEGER]
70  ePC_UrnDataType_intvec = 4, ///< Vector of 32-Bit Signed Integer [maps to INTEGER vector]
71  ePC_UrnDataType_uint = 5, ///< 32-Bit Unsigned Integer [maps to an INTEGER]
72  ePC_UrnDataType_uintvec = 6, ///< Vector of 32-Bit Unsigned Integer [maps to INTEGER vector]
73  ePC_UrnDataType_double = 7, ///< 64-Bit Float [maps to a REAL]
74  ePC_UrnDataType_doublevec = 8, ///< Vector of Double [maps to REAL vector]
75  ePC_UrnDataType_bool = 9, ///< Boolean or Binary value [maps to a BOOLEAN]
76  ePC_UrnDataType_boolvec = 10, ///< Boolean Vector [maps to BOOLEAN vector]
77  ePC_UrnDataType_uint64 = 11, ///< Specialized Data Types 64-Bit Unsigned Integer (Hex form) [maps to a VisibleString]
78  ePC_UrnDataType_binary = 12, ///< Binary Data Blob [maps to an OCTET STRING]
79  ePC_UrnDataType_url = 13, ///< URL [maps to a VisibleString]
80  ePC_UrnDataType_unicode = 14, ///< UniCode String [maps to a VisibleString]
81  ePC_UrnDataType_date = 15, ///< ISO8601 Date [maps to a Date]
82  ePC_UrnDataType_fingerprint = 16, ///< Binary Fingerprint (Gzip'ped bit [maps to an OCTET STRING] list w/ 4-Byte prefix denoting bit list length)
83  ePC_UrnDataType_unknown = 255 ///< Unknown Data Type [maps to a set of VisibleString]
84 };
85 
86 /// Access to EPC_UrnDataType's attributes (values, names) as defined in spec
87 NCBI_PCSUBSTANCE_EXPORT const NCBI_NS_NCBI::CEnumeratedTypeValues* ENUM_METHOD_NAME(EPC_UrnDataType)(void);
88 
89 
90 /* @} */
91 END_objects_SCOPE // namespace ncbi::objects::
92 
94 
95 
96 #endif // OBJECTS_PCSUBSTANCE_PC_URNDATATYPE_BASE_HPP
#define ENUM_METHOD_NAME(EnumName)
Definition: serialbase.hpp:994
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_PCSUBSTANCE_EXPORT
Definition: ncbi_export.h:688
EPC_UrnDataType
URN Data Type Provides the ability to use more specific data types than that directly provided by ASN...
@ ePC_UrnDataType_double
64-Bit Float [maps to a REAL]
@ ePC_UrnDataType_intvec
Vector of 32-Bit Signed Integer [maps to INTEGER vector].
@ ePC_UrnDataType_doublevec
Vector of Double [maps to REAL vector].
@ ePC_UrnDataType_boolvec
Boolean Vector [maps to BOOLEAN vector].
@ ePC_UrnDataType_date
ISO8601 Date [maps to a Date].
@ ePC_UrnDataType_stringlist
List of Strings [maps to VisibleString list].
@ ePC_UrnDataType_uintvec
Vector of 32-Bit Unsigned Integer [maps to INTEGER vector].
@ ePC_UrnDataType_fingerprint
Binary Fingerprint (Gzip'ped bit [maps to an OCTET STRING] list w/ 4-Byte prefix denoting bit list le...
@ ePC_UrnDataType_int
32-Bit Signed Integer [maps to an INTEGER]
@ ePC_UrnDataType_bool
Boolean or Binary value [maps to a BOOLEAN].
@ ePC_UrnDataType_uint
32-Bit Unsigned Integer [maps to an INTEGER]
@ ePC_UrnDataType_unknown
Unknown Data Type [maps to a set of VisibleString].
@ ePC_UrnDataType_uint64
Specialized Data Types 64-Bit Unsigned Integer (Hex form) [maps to a VisibleString].
@ ePC_UrnDataType_binary
Binary Data Blob [maps to an OCTET STRING].
@ ePC_UrnDataType_unicode
UniCode String [maps to a VisibleString].
@ ePC_UrnDataType_string
Basic Data Types String [maps to a VisibleString].
@ ePC_UrnDataType_url
URL [maps to a VisibleString].
Modified on Tue May 07 08:17:59 2024 by modify_doxy.py rev. 669887