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

Go to the SVN repository for this file.

1 /* $Id: Replace_rule.hpp 82960 2018-07-18 20:15:13Z kachalos $
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 Replace_rule.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: Replace_rule_.hpp
37 
38 
39 #ifndef OBJECTS_MACRO_REPLACE_RULE_HPP
40 #define OBJECTS_MACRO_REPLACE_RULE_HPP
41 
42 
43 // generated includes
46 
47 
48 // generated classes
49 
51 
52 BEGIN_objects_SCOPE // namespace ncbi::objects::
53 
54 class CMatchString;
55 /////////////////////////////////////////////////////////////////////////////
57 {
59 public:
60  // constructor
61  CReplace_rule(void);
62  // destructor
63  ~CReplace_rule(void);
64 
65  bool ApplyToString(string& result, const CMatchString& str, CConstRef<CString_constraint> find) const;
66 
67 private:
68  // Prohibit copy constructor and assignment operator
71 
72 };
73 
74 /////////////////// CReplace_rule inline methods
75 
76 // constructor
77 inline
79 {
80 }
81 
82 
83 /////////////////// end of CReplace_rule inline methods
84 
85 
86 END_objects_SCOPE // namespace ncbi::objects::
87 
89 
90 
91 #endif // OBJECTS_MACRO_REPLACE_RULE_HPP
92 /* Original file checksum: lines: 86, chars: 2443, CRC32: deb60795 */
Data storage class.
User-defined methods of the data storage class.
CConstRef –.
Definition: ncbiobj.hpp:1266
CReplace_rule_Base –.
bool ApplyToString(string &result, const CMatchString &str, CConstRef< CString_constraint > find) const
~CReplace_rule(void)
CReplace_rule & operator=(const CReplace_rule &value)
CReplace_rule_Base Tparent
CReplace_rule(const CReplace_rule &value)
char value[7]
Definition: config.c:431
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
static const char * str(char *buf, int n)
Definition: stats.c:84
else result
Definition: token2.c:20
Modified on Tue Feb 27 05:55:57 2024 by modify_doxy.py rev. 669887