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

Go to the SVN repository for this file.

1 /* $Id: Name_std.hpp 73865 2016-07-28 17:21:31Z bollin $
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 /// @Name_std.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 /// 'general.asn'.
34 ///
35 /// New methods or data members can be added to it if needed.
36 /// See also: Name_std_.hpp
37 
38 
39 #ifndef OBJECTS_GENERAL_NAME_STD_HPP
40 #define OBJECTS_GENERAL_NAME_STD_HPP
41 
42 
43 // generated includes
45 
46 #include <util/static_set.hpp>
47 
48 // generated classes
49 
51 
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 /////////////////////////////////////////////////////////////////////////////
56 {
58 public:
59 
61 
62  /// constructor
63  CName_std(void);
64  /// destructor
65  ~CName_std(void);
66 
67  /// Get a list of NCBI's standard suffixes.
68  static const TSuffixes& GetStandardSuffixes(void);
69  static void FixSuffix(string& suffix);
70 
71  bool ExtractSuffixFromLastName();
72 
73 private:
74  // Prohibit copy constructor and assignment operator
77 
78 };
79 
80 /////////////////// CName_std inline methods
81 
82 // constructor
83 inline
85 {
86 }
87 
88 /////////////////// end of CName_std inline methods
89 
90 
91 END_objects_SCOPE // namespace ncbi::objects::
92 
94 
95 #endif // OBJECTS_GENERAL_NAME_STD_HPP
96 /* Original file checksum: lines: 94, chars: 2559, CRC32: 783940f4 */
Data storage class.
Structured names.
Definition: Name_std_.hpp:74
@Name_std.hpp User-defined methods of the data storage class.
Definition: Name_std.hpp:56
CName_std & operator=(const CName_std &value)
CName_std(void)
constructor
Definition: Name_std.hpp:84
CName_std(const CName_std &value)
CName_std_Base Tparent
Definition: Name_std.hpp:57
CStaticArraySet< string > TSuffixes
Definition: Name_std.hpp:60
#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_GENERAL_EXPORT
Definition: ncbi_export.h:512
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
static const char * suffix[]
Definition: pcregrep.c:408
Modified on Sat May 18 11:39:22 2024 by modify_doxy.py rev. 669887