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

Go to the SVN repository for this file.

1 /* $Id: MedlineUID.hpp 90359 2020-06-08 15:52:13Z grichenk $
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 MedlineUID.hpp
29 /// User-defined methods of the data storage class.
30 ///
31 /// This file was originally generated by application DATATOOL
32 /// using the following specifications:
33 /// 'biblio.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: MedlineUID_.hpp
37 
38 
39 #ifndef OBJECTS_BIBLIO_MEDLINEUID_HPP
40 #define OBJECTS_BIBLIO_MEDLINEUID_HPP
41 
42 
43 // generated includes
45 
46 // generated classes
47 
49 
50 BEGIN_objects_SCOPE // namespace ncbi::objects::
51 
52 /////////////////////////////////////////////////////////////////////////////
54 {
56 public:
57  CMedlineUID(void) {}
58 
59  /// Explicit constructor from the primitive type.
60  explicit CMedlineUID(const ncbi::TEntrezId& data)
61  : Tparent(data) {}
62 
63 #ifdef NCBI_STRICT_ENTREZ_ID
64  /// Explicit constructor from zero.
65  explicit CMedlineUID(std::nullptr_t /*zero*/)
66  : Tparent(ZERO_ENTREZ_ID) {}
67 #endif
68 };
69 
70 END_objects_SCOPE // namespace ncbi::objects::
71 
73 
74 
75 #endif // OBJECTS_BIBLIO_MEDLINEUID_HPP
76 /* Original file checksum: lines: 70, chars: 2190, CRC32: 8a1e1a16 */
Data storage class.
Id from MEDLINE.
Definition: MedlineUID_.hpp:70
CMedlineUID(const ncbi::TEntrezId &data)
Explicit constructor from the primitive type.
Definition: MedlineUID.hpp:60
CMedlineUID(void)
Definition: MedlineUID.hpp:57
CMedlineUID_Base Tparent
Definition: MedlineUID.hpp:55
SStrictId_Entrez::TId TEntrezId
TEntrezId type for entrez ids which require the same strictness as TGi.
Definition: ncbimisc.hpp:1041
#define ZERO_ENTREZ_ID
Definition: ncbimisc.hpp:1102
#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_BIBLIO_EXPORT
Definition: ncbi_export.h:312
Modified on Mon Feb 26 04:05:15 2024 by modify_doxy.py rev. 669887