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

Go to the SVN repository for this file.

1 /* $Id: Word_substitution.hpp 64845 2014-10-16 14:55:16Z 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 /// @file Word_substitution.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: Word_substitution_.hpp
37 
38 
39 #ifndef OBJECTS_MACRO_WORD_SUBSTITUTION_HPP
40 #define OBJECTS_MACRO_WORD_SUBSTITUTION_HPP
41 
42 
43 // generated includes
45 
46 // generated classes
47 
49 
50 BEGIN_objects_SCOPE // namespace ncbi::objects::
51 
52 /////////////////////////////////////////////////////////////////////////////
54 {
56 public:
57  // constructor
58  CWord_substitution(void);
59  CWord_substitution(string word, string synonym);
60  // destructor
61  ~CWord_substitution(void);
62 
63  vector<size_t> GetMatchLens(const string& text, const string& pattern, char prev_char) const;
64  static bool IsWordBoundary(char ch);
65 
66 private:
67  // Prohibit copy constructor and assignment operator
70 
71 };
72 
73 /////////////////// CWord_substitution inline methods
74 
75 // constructor
76 inline
78 {
79 }
80 
81 
82 /////////////////// end of CWord_substitution inline methods
83 
84 
85 END_objects_SCOPE // namespace ncbi::objects::
86 
88 
89 
90 #endif // OBJECTS_MACRO_WORD_SUBSTITUTION_HPP
91 /* Original file checksum: lines: 86, chars: 2538, CRC32: ccc9d630 */
Data storage class.
CWord_substitution_Base –.
static bool IsWordBoundary(char ch)
vector< size_t > GetMatchLens(const string &text, const string &pattern, char prev_char) const
CWord_substitution_Base Tparent
CWord_substitution(const CWord_substitution &value)
CWord_substitution & operator=(const CWord_substitution &value)
#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 void text(MDB_val *v)
Definition: mdb_dump.c:62
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Apr 26 16:27:06 2024 by modify_doxy.py rev. 669887