?? seq_graph_handle.hpp
字號:
/* * =========================================================================== * PRODUCTION $Log: seq_graph_handle.hpp,v $ * PRODUCTION Revision 1000.0 2004/06/01 19:25:47 gouriano * PRODUCTION PRODUCTION: IMPORTED [GCC34_MSVC7] Dev-tree R1.1 * PRODUCTION * =========================================================================== */#ifndef SEQ_GRAPH_HANDLE__HPP#define SEQ_GRAPH_HANDLE__HPP/* $Id: seq_graph_handle.hpp,v 1000.0 2004/06/01 19:25:47 gouriano Exp $* ===========================================================================** PUBLIC DOMAIN NOTICE* National Center for Biotechnology Information** This software/database is a "United States Government Work" under the* terms of the United States Copyright Act. It was written as part of* the author's official duties as a United States Government employee and* thus cannot be copyrighted. This software/database is freely available* to the public for use. The National Library of Medicine and the U.S.* Government have not placed any restriction on its use or reproduction.** Although all reasonable efforts have been taken to ensure the accuracy* and reliability of the software and data, the NLM and the U.S.* Government do not and cannot warrant the performance or results that* may be obtained by using this software or data. The NLM and the U.S.* Government disclaim all warranties, express or implied, including* warranties of performance, merchantability or fitness for any particular* purpose.** Please cite the author in any work or product based on this material.** ===========================================================================** Author: Aleksey Grichenko, Eugene Vasilchenko** File Description:* Seq-graph handle**/#include <corelib/ncbiobj.hpp>#include <objmgr/impl/heap_scope.hpp>#include <objects/seqres/Seq_graph.hpp>#include <objmgr/impl/seq_annot_info.hpp>BEGIN_NCBI_SCOPEBEGIN_SCOPE(objects)class CScope;class CSeq_annot_Handle;class CSeq_graph_Handle{public: CSeq_graph_Handle(void); CSeq_graph_Handle(CScope& scope, const CSeq_annot_Info& annot_info, size_t index); ~CSeq_graph_Handle(void); CSeq_annot_Handle GetAnnot(void) const; CConstRef<CSeq_graph> GetSeq_graph(void) const; // Mappings for CSeq_graph methods bool IsSetTitle(void) const; const string& GetTitle(void) const; bool IsSetComment(void) const; const string& GetComment(void) const; const CSeq_loc& GetLoc(void) const; bool IsSetTitle_x(void) const; const string& GetTitle_x(void) const; bool IsSetTitle_y(void) const; const string& GetTitle_y(void) const; bool IsSetComp(void) const; TSeqPos GetComp(void) const; bool IsSetA(void) const; double GetA(void) const; bool IsSetB(void) const; double GetB(void) const; TSeqPos GetNumval(void) const; const CSeq_graph::TGraph& GetGraph(void) const;private: const CSeq_graph& x_GetSeq_graph(void) const; CHeapScope m_Scope; CConstRef<CSeq_annot_Info> m_Annot; size_t m_Index;};inlinebool CSeq_graph_Handle::IsSetTitle(void) const{ return x_GetSeq_graph().IsSetTitle();}inlineconst string& CSeq_graph_Handle::GetTitle(void) const{ return x_GetSeq_graph().GetTitle();}inlinebool CSeq_graph_Handle::IsSetComment(void) const{ return x_GetSeq_graph().IsSetComment();}inlineconst string& CSeq_graph_Handle::GetComment(void) const{ return x_GetSeq_graph().GetComment();}inlineconst CSeq_loc& CSeq_graph_Handle::GetLoc(void) const{ return x_GetSeq_graph().GetLoc();}inlinebool CSeq_graph_Handle::IsSetTitle_x(void) const{ return x_GetSeq_graph().IsSetTitle_x();}inlineconst string& CSeq_graph_Handle::GetTitle_x(void) const{ return x_GetSeq_graph().GetTitle_x();}inlinebool CSeq_graph_Handle::IsSetTitle_y(void) const{ return x_GetSeq_graph().IsSetTitle_y();}inlineconst string& CSeq_graph_Handle::GetTitle_y(void) const{ return x_GetSeq_graph().GetTitle_y();}inlinebool CSeq_graph_Handle::IsSetComp(void) const{ return x_GetSeq_graph().IsSetComp();}inlineTSeqPos CSeq_graph_Handle::GetComp(void) const{ return x_GetSeq_graph().GetComp();}inlinebool CSeq_graph_Handle::IsSetA(void) const{ return x_GetSeq_graph().IsSetA();}inlinedouble CSeq_graph_Handle::GetA(void) const{ return x_GetSeq_graph().GetA();}inlinebool CSeq_graph_Handle::IsSetB(void) const{ return x_GetSeq_graph().IsSetB();}inlinedouble CSeq_graph_Handle::GetB(void) const{ return x_GetSeq_graph().GetB();}inlineTSeqPos CSeq_graph_Handle::GetNumval(void) const{ return x_GetSeq_graph().GetNumval();}inlineconst CSeq_graph::TGraph& CSeq_graph_Handle::GetGraph(void) const{ return x_GetSeq_graph().GetGraph();}END_SCOPE(objects)END_NCBI_SCOPE/** ---------------------------------------------------------------------------* $Log: seq_graph_handle.hpp,v $* Revision 1000.0 2004/06/01 19:25:47 gouriano* PRODUCTION: IMPORTED [GCC34_MSVC7] Dev-tree R1.1** Revision 1.1 2004/05/04 18:06:06 grichenk* Initial revision*** ===========================================================================*/#endif // SEQ_GRAPH_HANDLE__HPP
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -