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

Go to the SVN repository for this file.

1 /* $Id: Auth_list.hpp 95805 2021-12-28 18:41:52Z stakhovv $
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 /// @Auth_list.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 /// 'biblio.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Auth_list_.hpp
37 
38 
39 #ifndef OBJECTS_BIBLIO_AUTH_LIST_HPP
40 #define OBJECTS_BIBLIO_AUTH_LIST_HPP
41 
42 
43 // generated includes
45 
47 
48 // generated classes
49 
51 
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 /////////////////////////////////////////////////////////////////////////////
56  : public CAuth_list_Base, public ICitationBase
57 {
59 public:
60  // constructor
62  // destructor
63  ~CAuth_list();
64 
65  size_t GetNameCount() const;
66 
67  void ConvertMlToStandard(bool normalize_suffix=false);
68  void ConvertMlToStd(bool normalize_suffix);
69  bool SameCitation(const CAuth_list& other) const;
70 
71 protected:
72  bool GetLabelV1(string* label, TLabelFlags flags) const override;
73  bool GetLabelV2(string* label, TLabelFlags flags) const override;
74 
75 private:
76  // Prohibit copy constructor and assignment operator
79 };
80 
81 
82 END_objects_SCOPE // namespace ncbi::objects::
83 
85 
86 #endif // OBJECTS_BIBLIO_AUTH_LIST_HPP
87 /* Original file checksum: lines: 94, chars: 2572, CRC32: 9913f83c */
Data storage class.
"Mix-in" interfaces to implement GetLabel for CCit_* et al.
Authorship Group.
Definition: Auth_list_.hpp:81
@Auth_list.hpp User-defined methods of the data storage class.
Definition: Auth_list.hpp:57
CAuth_list & operator=(const CAuth_list &value)
CAuth_list(const CAuth_list &value)
CAuth_list_Base Tparent
Definition: Auth_list.hpp:58
GetLabel interface for actual citation objects, as opposed to mere containers such as CPub.
virtual bool GetLabelV2(string *label, TLabelFlags flags) const =0
virtual bool GetLabelV1(string *label, TLabelFlags flags) const =0
static uch flags
#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
static const char label[]
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Sep 20 14:57:50 2024 by modify_doxy.py rev. 669887