NCBI C++ ToolKit
PublicationType.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 PublicationType.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 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objtools/eutils/efetch/efetch.xsd">efetch.xsd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/objtools/eutils/efetch/efetch.def">efetch.def</a>
36 ///
37 /// New methods or data members can be added to it if needed.
38 /// See also: <a href="PublicationType___8hpp.html">PublicationType_.hpp</a>
39 
40 
41 #ifndef eutils__OBJTOOLS_EUTILS_EFETCH_PUBLICATIONTYPE_HPP
42 #define eutils__OBJTOOLS_EUTILS_EFETCH_PUBLICATIONTYPE_HPP
43 
44 
45 // generated includes
47 
48 // generated classes
49 
50 BEGIN_eutils_SCOPE // namespace eutils::
51 
52 
53 /** @addtogroup dataspec_efetch
54  *
55  * @{
56  */
57 
58 /////////////////////////////////////////////////////////////////////////////
59 ///
60 /// CPublicationType --
61 ///
62 
64 {
66 public:
67  // constructor
68  CPublicationType(void);
70  // destructor
71  ~CPublicationType(void);
72 
73  // typedef std::string TPublicationType;
74 
75  /// Conversion operator to 'TPublicationType' type.
76  operator const TPublicationType&(void) const;
77  /// Assignment operator.
79 
80 private:
81  // Prohibit copy constructor and assignment operator
84 
85 };
86 /* @} */
87 
88 /////////////////// CPublicationType inline methods
89 
90 // constructor
91 inline
93 {
94 }
95 
96 inline
98 {
100 }
101 
102 inline
103 CPublicationType::operator const CPublicationType::TPublicationType&(void) const
104 {
105  return GetPublicationType();
106 }
107 
108 inline
110 {
112  return *this;
113 }
114 
115 
116 /////////////////// end of CPublicationType inline methods
117 
118 
119 END_eutils_SCOPE // namespace eutils::
120 
121 
122 #endif // eutils__OBJTOOLS_EUTILS_EFETCH_PUBLICATIONTYPE_HPP
123 /* Original file checksum: lines: 122, chars: 3487, CRC32: 7be22c64 */
#define BEGIN_eutils_SCOPE
Definition: Abstract_.hpp:51
#define END_eutils_SCOPE
Definition: Abstract_.hpp:52
Data storage class.
CPublicationType_Base –.
CPublicationType –.
string
Definition: cgiapp.hpp:690
CPublicationType & operator=(const CPublicationType &value)
CPublicationType & operator=(const TPublicationType &value)
Assignment operator.
NCBI_NS_STD::string TPublicationType
CPublicationType_Base Tparent
CPublicationType(const CPublicationType &value)
TPublicationType & SetPublicationType(void)
Assign a value to PublicationType data member.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Sep 20 14:57:24 2024 by modify_doxy.py rev. 669887