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

Go to the SVN repository for this file.

1 /* $Id: Title.hpp 49239 2011-04-08 18:53:18Z ucko $
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  * Author: .......
27  *
28  * File Description:
29  * .......
30  *
31  * Remark:
32  * This code was originally generated by application DATATOOL
33  * using specifications from the ASN data definition file
34  * 'biblio.asn'.
35  */
36 
37 #ifndef OBJECTS_BIBLIO_TITLE_HPP
38 #define OBJECTS_BIBLIO_TITLE_HPP
39 
40 
41 // generated includes
43 
44 // generated classes
45 
47 
48 BEGIN_objects_SCOPE // namespace ncbi::objects::
49 
51 {
53 public:
54  // constructor
55  CTitle(void);
56  // destructor
57  ~CTitle(void);
58 
59  /// If the internal list contains a title (of the specified type,
60  /// if given), returns the corresponding string; otherwise, throws
61  /// an exception.
62  const string& GetTitle(C_E::E_Choice type = C_E::e_not_set) const;
63 
64  /// Extracts the title string from the given internal element.
65  static const string& GetTitle(const C_E& t);
66 
67 private:
68  // Prohibit copy constructor and assignment operator
69  CTitle(const CTitle& value);
71 
72 };
73 
74 
75 
76 /////////////////// CTitle inline methods
77 
78 // constructor
79 inline
81 {
82 }
83 
84 
85 /////////////////// end of CTitle inline methods
86 
87 
88 END_objects_SCOPE // namespace ncbi::objects::
89 
91 
92 
93 #endif // OBJECTS_BIBLIO_TITLE_HPP
94 /* Original file checksum: lines: 90, chars: 2332, CRC32: c4619fa8 */
C_E –.
Definition: Title_.hpp:96
Title Group Valid for = A = Analytic (Cit-art) J = Journals (Cit-jour) B = Book (Cit-book) Valid for:
Definition: Title_.hpp:79
Definition: Title.hpp:51
CTitle & operator=(const CTitle &value)
CTitle(void)
Definition: Title.hpp:80
CTitle(const CTitle &value)
CTitle_Base Tparent
Definition: Title.hpp:52
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
Definition: seqtitle.cpp:106
#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
@ e_not_set
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
EIPRangeType t
Definition: ncbi_localip.c:101
Data storage class.
Definition: type.c:6
Modified on Fri Sep 20 14:58:02 2024 by modify_doxy.py rev. 669887