1 /* $Id: Sparse_align.hpp 150645 2009-01-28 02:55:57Z todorov $
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  * Author:  Kamen Todorov
27  *
28  * File Description:
29  *   Sparse-align
30  *
31  */
32 
33 /// @file Sparse_align.hpp
34 /// User-defined methods of the data storage class.
35 ///
36 /// This file was originally generated by application DATATOOL
37 /// using the following specifications:
38 /// 'seqalign.asn'.
39 ///
40 /// New methods or data members can be added to it if needed.
41 /// See also: Sparse_align_.hpp
42 
43 
44 #ifndef OBJECTS_SEQALIGN_SPARSE_ALIGN_HPP
45 #define OBJECTS_SEQALIGN_SPARSE_ALIGN_HPP
46 
47 
48 // generated includes
49 #include <objects/seqalign/Sparse_align_.hpp>
50 
51 // generated classes
52 
53 BEGIN_NCBI_SCOPE
54 
55 BEGIN_objects_SCOPE // namespace ncbi::objects::
56 
57 /////////////////////////////////////////////////////////////////////////////
58 class NCBI_SEQALIGN_EXPORT CSparse_align : public CSparse_align_Base
59 {
60     typedef CSparse_align_Base Tparent;
61 public:
62     // constructor
63     CSparse_align(void);
64     // destructor
65     ~CSparse_align(void);
66 
67     /// types
68     typedef int TDim;
69 
70     /// Validators
71     void Validate    (bool full_test = false) const;
CheckNumRows(void) const72     TDim CheckNumRows(void)                   const {
73         return 2;
74     }
75     TNumseg CheckNumSegs(void)                const;
76 
77 private:
78     // Prohibit copy constructor and assignment operator
79     CSparse_align(const CSparse_align& value);
80     CSparse_align& operator=(const CSparse_align& value);
81 
82 };
83 
84 /////////////////// CSparse_align inline methods
85 
86 // constructor
87 inline
CSparse_align(void)88 CSparse_align::CSparse_align(void)
89 {
90 }
91 
92 
93 /////////////////// end of CSparse_align inline methods
94 
95 
96 END_objects_SCOPE // namespace ncbi::objects::
97 
98 END_NCBI_SCOPE
99 
100 
101 #endif // OBJECTS_SEQALIGN_SPARSE_ALIGN_HPP
102 /* Original file checksum: lines: 86, chars: 2479, CRC32: f75e75f3 */
103