NCBI C++ ToolKit
Parameter.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 Parameter.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/algo/ms/formats/pepxml/pepXML.xsd">pepXML.xsd</a>
34 /// and additional tune-up parameters:
35 /// <a href="/IEB/ToolBox/CPP_DOC/lxr/source/src/algo/ms/formats/pepxml/pepXML.def">pepXML.def</a>
36 ///
37 /// New methods or data members can be added to it if needed.
38 /// See also: <a href="Parameter___8hpp.html">Parameter_.hpp</a>
39 
40 
41 #ifndef ALGO_MS_FORMATS_PEPXML_PARAMETER_HPP
42 #define ALGO_MS_FORMATS_PEPXML_PARAMETER_HPP
43 
44 
45 // generated includes
47 
48 // generated classes
49 
51 
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 
55 /** @addtogroup dataspec_pepXML
56  *
57  * @{
58  */
59 
60 /////////////////////////////////////////////////////////////////////////////
61 ///
62 /// CParameter --
63 ///
64 
66 {
68 public:
69  // constructor
70  CParameter(void);
72  // destructor
73  ~CParameter(void);
74 
75  // typedef std::string TParameter;
76 
77  /// Conversion operator to 'TParameter' type.
78  operator const TParameter&(void) const;
79  /// Assignment operator.
81 
82 private:
83  // Prohibit copy constructor and assignment operator
86 
87 };
88 /* @} */
89 
90 /////////////////// CParameter inline methods
91 
92 // constructor
93 inline
95 {
96 }
97 
98 inline
100 {
102 }
103 
104 inline
105 CParameter::operator const CParameter::TParameter&(void) const
106 {
107  return GetParameter();
108 }
109 
110 inline
112 {
114  return *this;
115 }
116 
117 
118 /////////////////// end of CParameter inline methods
119 
120 
121 END_objects_SCOPE // namespace ncbi::objects::
122 
124 
125 
126 #endif // ALGO_MS_FORMATS_PEPXML_PARAMETER_HPP
127 /* Original file checksum: lines: 126, chars: 3300, CRC32: 3a3c4543 */
Data storage class.
CParameter_Base –.
Definition: Parameter_.hpp:73
CParameter –.
Definition: Parameter.hpp:66
string
Definition: cgiapp.hpp:690
#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_PEPXML_EXPORT
Definition: ncbi_export.h:696
TParameter & SetParameter(void)
Assign a value to Parameter data member.
Definition: Parameter_.hpp:568
CParameter & operator=(const TParameter &value)
Assignment operator.
Definition: Parameter.hpp:111
CParameter(const CParameter &value)
CParameter_Base & operator=(const CParameter_Base &)
CParameter(void)
Definition: Parameter.hpp:94
CParameter & operator=(const CParameter &value)
CParameter_Base Tparent
Definition: Parameter.hpp:67
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Sep 20 14:58:08 2024 by modify_doxy.py rev. 669887