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

Go to the SVN repository for this file.

1 /* $Id: Feat_qual_choice.hpp 63088 2014-05-28 13:28:28Z chenj $
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 Feat_qual_choice.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 /// 'macro.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Feat_qual_choice_.hpp
37 
38 
39 #ifndef OBJECTS_MACRO_FEAT_QUAL_CHOICE_HPP
40 #define OBJECTS_MACRO_FEAT_QUAL_CHOICE_HPP
41 
42 
43 // generated includes
49 
50 // generated classes
51 
53 
54 BEGIN_objects_SCOPE // namespace ncbi::objects::
55 
56 /////////////////////////////////////////////////////////////////////////////
58 {
60 public:
61  // constructor
62  CFeat_qual_choice(void);
63  // destructor
64  ~CFeat_qual_choice(void);
65 
66  static string GetFirstStringMatch(const list <string>& strs,
67  const CString_constraint& str_cons);
68  static string GetFirstStringMatch(const vector <string>& strs,
69  const CString_constraint& str_cons);
70 private:
71  // Prohibit copy constructor and assignment operator
74 
75  string x_GetLegalQualName(vector <EFeat_qual_legal>& v_qual,
76  EFeat_qual_legal qual) const;
77  void x_GetTwoFieldSubfield(string& str, int subfield) const;
78  string x_GetFirstGBQualMatch(const vector <CRef <CGb_qual> >& quals,
79  const string& qual_name,
80  int subfield,
81  const CString_constraint& str_cons) const;
83  const CString_constraint& str_cons) const;
84 };
85 
86 /////////////////// CFeat_qual_choice inline methods
87 
88 // constructor
89 inline
91 {
92 }
93 
94 
95 /////////////////// end of CFeat_qual_choice inline methods
96 
97 
98 END_objects_SCOPE // namespace ncbi::objects::
99 
101 
102 
103 #endif // OBJECTS_MACRO_FEAT_QUAL_CHOICE_HPP
104 /* Original file checksum: lines: 86, chars: 2519, CRC32: a8c85988 */
Data storage class.
User-defined methods of the data storage class.
CFeat_qual_choice_Base –.
static string GetFirstStringMatch(const list< string > &strs, const CString_constraint &str_cons)
CFeat_qual_choice(const CFeat_qual_choice &value)
void x_GetTwoFieldSubfield(string &str, int subfield) const
CFeat_qual_choice & operator=(const CFeat_qual_choice &value)
CFeat_qual_choice_Base Tparent
string x_GetFirstGBQualMatch(const vector< CRef< CGb_qual > > &quals, const string &qual_name, int subfield, const CString_constraint &str_cons) const
string x_GetLegalQualName(vector< EFeat_qual_legal > &v_qual, EFeat_qual_legal qual) const
string x_GetFirstGBQualMatchConstraintName(const CSeq_feat &feat, const CString_constraint &str_cons) const
namespace ncbi::objects::
Definition: Seq_feat.hpp:58
static const char * str(char *buf, int n)
Definition: stats.c:84
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
EFeat_qual_legal
Access to EFeat_qual_legal's attributes (values, names) as defined in spec.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Thu Apr 25 08:22:02 2024 by modify_doxy.py rev. 669887