NCBI C++ ToolKit
ld_filter_params.cpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: ld_filter_params.cpp 19845 2009-08-13 12:59:38Z quintosm $
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  * Authors: Melvin Quintos
27  */
28 
29 
30 #include <ncbi_pch.hpp>
31 
32 ////@begin includes
34 
35 ////@end includes
36 
38 
39 /*!
40  * CLDFilterParams type definition
41  */
42 
43 IMPLEMENT_DYNAMIC_CLASS( CLDFilterParams, wxObject )
44 
45 /*!
46  * Default constructor for CLDFilterParams
47  */
48 
50 {
51  Init();
52 }
53 
54 /*!
55  * Copy constructor for CLDFilterParams
56  */
57 
59 {
60  Init();
61  Copy(data);
62 }
63 
64 /*!
65  * Destructor for CLDFilterParams
66  */
67 
69 {
70 }
71 
72 /*!
73  * Assignment operator for CLDFilterParams
74  */
75 
77 {
78  Copy(data);
79 }
80 
81 /*!
82  * Equality operator for CLDFilterParams
83  */
84 
86 {
87 ////@begin CLDFilterParams equality operator
88  if (!(m_nScore == data.m_nScore)) return false;
89  if (!(m_nLengthExp == data.m_nLengthExp)) return false;
90 ////@end CLDFilterParams equality operator
91  return true;
92 }
93 
94 /*!
95  * Copy function for CLDFilterParams
96  */
97 
99 {
100 ////@begin CLDFilterParams copy function
101  m_nScore = data.m_nScore;
102  m_nLengthExp = data.m_nLengthExp;
103 ////@end CLDFilterParams copy function
104 }
105 
106 /*!
107  * Member initialisation for CLDFilterParams
108  */
109 
111 {
112 ////@begin CLDFilterParams member initialisation
113  m_nScore = 0;
114  m_nLengthExp = 0;
115 ////@end CLDFilterParams member initialisation
116 }
117 
119 
void operator=(const CLDFilterParams &data)
Assignment operator for CLDFilterParams.
bool operator==(const CLDFilterParams &data) const
Equality operator for CLDFilterParams.
CLDFilterParams()
Default constructor for CLDFilterParams.
void Copy(const CLDFilterParams &data)
Copy function for CLDFilterParams.
void Init()
Initialises member variables.
~CLDFilterParams()
Destructor for CLDFilterParams.
static void Init(void)
Definition: cursor6.c:76
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
Modified on Sun Mar 03 03:09:38 2024 by modify_doxy.py rev. 669887