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);
70  CTitle& operator=(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 */
Definition: Title.hpp:50
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:101
Definition: type.c:8
Title Group Valid for = A = Analytic (Cit-art) J = Journals (Cit-jour) B = Book (Cit-book) Valid for:...
Definition: Title_.hpp:78
Data storage class.
C_E –.
Definition: Title_.hpp:95
char value[7]
Definition: config.c:428
CTitle_Base Tparent
Definition: Title.hpp:52
NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)
Definition: seqtitle.cpp:106
CTitle_Base & operator=(const CTitle_Base &)
#define NCBI_BIBLIO_EXPORT
Definition: ncbi_export.h:303
CTitle(void)
Definition: Title.hpp:80
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:98
Modified on Thu Mar 30 17:12:04 2017 by modify_doxy.py rev. 506947