1 /* $Id: Replace_func.hpp 549711 2017-10-26 18:03:18Z gotvyans $ 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_func.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_func_.hpp 37 38 39 #ifndef OBJECTS_MACRO_REPLACE_FUNC_HPP 40 #define OBJECTS_MACRO_REPLACE_FUNC_HPP 41 42 43 // generated includes 44 #include <objects/macro/Replace_func_.hpp> 45 46 // generated classes 47 48 BEGIN_NCBI_SCOPE 49 50 BEGIN_objects_SCOPE // namespace ncbi::objects:: 51 52 class CMatchString; 53 ///////////////////////////////////////////////////////////////////////////// 54 class CReplace_func : public CReplace_func_Base 55 { 56 typedef CReplace_func_Base Tparent; 57 public: 58 // constructor 59 CReplace_func(void); 60 // destructor 61 ~CReplace_func(void); 62 63 bool ApplyToString(string& result, const CMatchString& str, CConstRef<CString_constraint> find) const; 64 65 private: 66 // Prohibit copy constructor and assignment operator 67 CReplace_func(const CReplace_func& value); 68 CReplace_func& operator=(const CReplace_func& value); 69 70 }; 71 72 /////////////////// CReplace_func inline methods 73 74 // constructor 75 inline CReplace_func(void)76CReplace_func::CReplace_func(void) 77 { 78 } 79 80 81 /////////////////// end of CReplace_func inline methods 82 83 84 END_objects_SCOPE // namespace ncbi::objects:: 85 86 END_NCBI_SCOPE 87 88 89 #endif // OBJECTS_MACRO_REPLACE_FUNC_HPP 90 /* Original file checksum: lines: 86, chars: 2443, CRC32: 994ca019 */ 91