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

Go to the SVN repository for this file.

1 #ifndef OBJECTS_OBJMGR_IMPL___ANNOT_FINDER__HPP
2 #define OBJECTS_OBJMGR_IMPL___ANNOT_FINDER__HPP
3 
4 /* $Id: annot_finder.hpp 33815 2007-05-04 17:18:18Z kazimird $
5 * ===========================================================================
6 *
7 * PUBLIC DOMAIN NOTICE
8 * National Center for Biotechnology Information
9 *
10 * This software/database is a "United States Government Work" under the
11 * terms of the United States Copyright Act. It was written as part of
12 * the author's official duties as a United States Government employee and
13 * thus cannot be copyrighted. This software/database is freely available
14 * to the public for use. The National Library of Medicine and the U.S.
15 * Government have not placed any restriction on its use or reproduction.
16 *
17 * Although all reasonable efforts have been taken to ensure the accuracy
18 * and reliability of the software and data, the NLM and the U.S.
19 * Government do not and cannot warrant the performance or results that
20 * may be obtained by using this software or data. The NLM and the U.S.
21 * Government disclaim all warranties, express or implied, including
22 * warranties of performance, merchantability or fitness for any particular
23 * purpose.
24 *
25 * Please cite the author in any work or product based on this material.
26 *
27 * ===========================================================================
28 *
29 * Author: Maxim Didenko
30 *
31 * File Description:
32 *
33 */
34 
35 #include <corelib/ncbiobj.hpp>
36 
39 
40 class CTSE_Info;
41 class CAnnotName;
42 
43 class CSeq_feat;
44 class CSeq_align;
45 class CSeq_graph;
46 class CSeq_entry_Info;
47 class CAnnotObject_Info;
48 class CSeq_annot_Info;
49 class CAnnot_descr;
50 
51 
52 class IFindContext;
53 
55 {
56 public:
58 
59  const CAnnotObject_Info* Find(const CSeq_entry_Info& entry,
60  const CAnnotName& name,
61  const CSeq_feat& feat);
62  const CAnnotObject_Info* Find(const CSeq_entry_Info& entry,
63  const CAnnotName& name,
64  const CSeq_align& align);
65  const CAnnotObject_Info* Find(const CSeq_entry_Info& entry,
66  const CAnnotName& name,
67  const CSeq_graph& graph);
68 
69  const CSeq_annot_Info* Find(const CSeq_entry_Info& entry,
70  const CAnnotName& name,
71  const CAnnot_descr& descr);
72  const CSeq_annot_Info* Find(const CSeq_entry_Info& entry,
73  const CAnnotName& name);
74 
75 private:
76 
77  void x_Find(const CSeq_entry_Info& entry,
78  const CAnnotName& name,
80 
82 };
83 
84 
85 inline
87  : m_TSE(tse)
88 {
89 }
90 
93 
94 #endif //OBJECTS_OBJMGR_IMPL___ANNOT_FINDER__HPP
CAnnot_descr –.
Definition: Annot_descr.hpp:66
CSeq_annot_Finder(CTSE_Info &tse)
CTSE_Info & m_TSE
namespace ncbi::objects::
Definition: Seq_feat.hpp:58
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define END_SCOPE(ns)
End the previously defined scope.
Definition: ncbistl.hpp:75
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define BEGIN_SCOPE(ns)
Define a new scope.
Definition: ncbistl.hpp:72
#define NCBI_XOBJMGR_EXPORT
Definition: ncbi_export.h:1307
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
static CS_CONTEXT * context
Definition: will_convert.c:21
Modified on Wed Apr 24 14:15:13 2024 by modify_doxy.py rev. 669887