亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? seq_entry_handle.hpp

?? ncbi源碼
?? HPP
字號:
/* * =========================================================================== * PRODUCTION $Log: seq_entry_handle.hpp,v $ * PRODUCTION Revision 1000.2  2004/06/01 19:21:38  gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.11 * PRODUCTION * =========================================================================== */#ifndef SEQ_ENTRY_HANDLE__HPP#define SEQ_ENTRY_HANDLE__HPP/*  $Id: seq_entry_handle.hpp,v 1000.2 2004/06/01 19:21:38 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:*    Handle to Seq-entry object**/#include <corelib/ncbiobj.hpp>#include <objects/seqset/Seq_entry.hpp>#include <objects/seqset/Bioseq_set.hpp>#include <objmgr/impl/heap_scope.hpp>BEGIN_NCBI_SCOPEBEGIN_SCOPE(objects)/////////////////////////////////////////////////////////////////////////////// CSeq_entry_Handle/////////////////////////////////////////////////////////////////////////////class CScope;class CSeq_entry_Handle;class CBioseq_set_Handle;class CBioseq_Handle;class CSeq_annot_Handle;class CSeq_entry_EditHandle;class CBioseq_set_EditHandle;class CBioseq_EditHandle;class CSeq_annot_EditHandle;class CSeq_entry_Info;class CTSE_Info;class CSeqdesc;class NCBI_XOBJMGR_EXPORT CSeq_entry_Handle{public:    // default constructor    CSeq_entry_Handle(void);    // Get scope this handle belongs to    CScope& GetScope(void) const;    // Navigate object tree    bool HasParentEntry(void) const;    CBioseq_set_Handle GetParentBioseq_set(void) const;    CSeq_entry_Handle GetParentEntry(void) const;    CSeq_entry_Handle GetSingleSubEntry(void) const;    CSeq_entry_Handle GetTopLevelEntry(void) const;    // Get 'edit' version of handle    CSeq_entry_EditHandle GetEditHandle(void) const;    // Get controlled object    CConstRef<CSeq_entry> GetCompleteSeq_entry(void) const;    CConstRef<CSeq_entry> GetSeq_entryCore(void) const;    // Seq-entry accessors    typedef CSeq_entry::E_Choice E_Choice;    E_Choice Which(void) const;    // Bioseq access    bool IsSeq(void) const;    typedef CBioseq_Handle TSeq;    TSeq GetSeq(void) const;    // Bioseq_set access    bool IsSet(void) const;    typedef CBioseq_set_Handle TSet;    TSet GetSet(void) const;    // descr field is in both Bioseq and Bioseq-set    bool IsSetDescr(void) const;    typedef CSeq_descr TDescr;    const TDescr& GetDescr(void) const;    typedef CBioseq_set::TClass TClass;    CConstRef<CObject> GetBlobId(void) const;    // Utility methods/operators    operator bool(void) const;    bool operator!(void) const;    void Reset(void);    bool operator ==(const CSeq_entry_Handle& handle) const;    bool operator !=(const CSeq_entry_Handle& handle) const;    bool operator <(const CSeq_entry_Handle& handle) const;protected:    friend class CScope_Impl;    friend class CBioseq_Handle;    friend class CBioseq_set_Handle;    friend class CSeq_annot_Handle;    friend class CSeqMap_CI;    friend class CSeq_entry_CI;    CSeq_entry_Handle(CScope& scope, const CSeq_entry_Info& info);    CHeapScope          m_Scope;    CConstRef<CObject>  m_Info;public: // non-public section    CConstRef<CTSE_Info> GetTSE_Info(void) const;    const CSeq_entry_Info& x_GetInfo(void) const;};class NCBI_XOBJMGR_EXPORT CSeq_entry_EditHandle : public CSeq_entry_Handle{public:    // Default constructor    CSeq_entry_EditHandle(void);    // Navigate object tree    CBioseq_set_EditHandle GetParentBioseq_set(void) const;    CSeq_entry_EditHandle GetParentEntry(void) const;    CSeq_entry_EditHandle GetSingleSubEntry(void) const;    // Change descriptions    void SetDescr(TDescr& v) const;    void ResetDescr(void) const;    bool AddSeqdesc(CSeqdesc& v) const;    bool RemoveSeqdesc(const CSeqdesc& v) const;    void AddDescr(const CSeq_entry_EditHandle& src_entry) const;    typedef CBioseq_EditHandle TSeq;    typedef CBioseq_set_EditHandle TSet;    TSet SetSet(void) const;    TSeq SetSeq(void) const;    // Make this Seq-entry to be empty.    // Old contents of the entry will be deleted.    void SelectNone(void) const;    // Convert the empty Seq-entry to Bioseq-set.    // Returns new Bioseq-set handle.    TSet SelectSet(TClass set_class = CBioseq_set::eClass_not_set) const;    // Make the empty Seq-entry be in set state with given Bioseq-set object.    // Returns new Bioseq-set handle.    TSet SelectSet(CBioseq_set& seqset) const;    // Make the empty Seq-entry be in set state with given Bioseq-set object.    // Returns new Bioseq-set handle.    TSet CopySet(const CBioseq_set_Handle& seqset) const;    // Make the empty Seq-entry be in set state with moving Bioseq-set object    // from the argument seqset.    // Returns new Bioseq-set handle which could be different from the argument    // is the argument is from another scope.    TSet TakeSet(const TSet& seqset) const;    // Make the empty Seq-entry be in seq state with specified Bioseq object.    // Returns new Bioseq handle.    TSeq SelectSeq(CBioseq& seq) const;    // Make the empty Seq-entry be in seq state with specified Bioseq object.    // Returns new Bioseq handle.    TSeq CopySeq(const CBioseq_Handle& seq) const;    // Make the empty Seq-entry be in seq state with moving bioseq object    // from the argument seq.    // Returns new Bioseq handle which could be different from the argument    // is the argument is from another scope.    TSeq TakeSeq(const TSeq& seq) const;    // Convert the entry from Bioseq to Bioseq-set.    // Old Bioseq will become the only entry of new Bioseq-set.    // New Bioseq-set will have the specified class.    // If the set_class argument is omitted,    // or equals to CBioseq_set::eClass_not_set,    // the class field of new Bioseq-set object will not be initialized.    // Returns new Bioseq-set handle.    TSet ConvertSeqToSet(TClass set_class = CBioseq_set::eClass_not_set) const;    // Collapse one level of Bioseq-set.    // The Bioseq-set should originally contain only one sub-entry.    // Current Seq-entry will become the same type as sub-entry.    // All Seq-annot and Seq-descr objects from old Bioseq-set    // will be moved to new contents (sub-entry).    void CollapseSet(void) const;    // Do the same as CollapseSet() when sub-entry is of type bioseq.    // Throws an exception in other cases.    // Returns resulting Bioseq handle.    TSeq ConvertSetToSeq(void) const;    // Attach new Seq-annot to Bioseq or Bioseq-set    CSeq_annot_EditHandle AttachAnnot(const CSeq_annot& annot) const;    CSeq_annot_EditHandle CopyAnnot(const CSeq_annot_Handle&annot) const;    CSeq_annot_EditHandle TakeAnnot(const CSeq_annot_EditHandle& annot) const;    void TakeAllAnnots(const CSeq_entry_EditHandle& src_entry) const;    // Attach new sub objects to Bioseq-set    // index < 0 or index >= current number of entries means to add at the end.    CBioseq_EditHandle AttachBioseq(CBioseq& seq,                                    int index = -1) const;    CBioseq_EditHandle CopyBioseq(const CBioseq_Handle& seq,                                  int index = -1) const;    CBioseq_EditHandle TakeBioseq(const CBioseq_EditHandle& seq,                                  int index = -1) const;    CSeq_entry_EditHandle AttachEntry(CSeq_entry& entry,                                      int index = -1) const;    CSeq_entry_EditHandle CopyEntry(const CSeq_entry_Handle& entry,                                    int index = -1) const;    CSeq_entry_EditHandle TakeEntry(const CSeq_entry_EditHandle& entry,                                    int index = -1) const;    // Remove this Seq-entry from parent,    // or scope if it's top level Seq-entry.    void Remove(void) const;protected:    friend class CScope_Impl;    friend class CBioseq_EditHandle;    friend class CBioseq_set_EditHandle;    friend class CSeq_annot_EditHandle;    friend class CSeq_entry_I;    CSeq_entry_EditHandle(const CSeq_entry_Handle& h);    CSeq_entry_EditHandle(CScope& scope, CSeq_entry_Info& info);public: // non-public section    CSeq_entry_Info& x_GetInfo(void) const;};/////////////////////////////////////////////////////////////////////////////// CSeq_entry_Handle inline methods/////////////////////////////////////////////////////////////////////////////inlineCSeq_entry_Handle::CSeq_entry_Handle(void){}inlineCScope& CSeq_entry_Handle::GetScope(void) const{    return m_Scope;}inlineCSeq_entry_Handle::operator bool(void) const{    return m_Info;}inlinebool CSeq_entry_Handle::operator!(void) const{    return !m_Info;}inlineconst CSeq_entry_Info& CSeq_entry_Handle::x_GetInfo(void) const{    return reinterpret_cast<const CSeq_entry_Info&>(*m_Info);}inlinebool CSeq_entry_Handle::operator ==(const CSeq_entry_Handle& handle) const{    return m_Scope == handle.m_Scope  &&  m_Info == handle.m_Info;}inlinebool CSeq_entry_Handle::operator !=(const CSeq_entry_Handle& handle) const{    return m_Scope != handle.m_Scope  ||  m_Info != handle.m_Info;}inlinebool CSeq_entry_Handle::operator <(const CSeq_entry_Handle& handle) const{    if ( m_Scope != handle.m_Scope ) {        return m_Scope < handle.m_Scope;    }    return m_Info < handle.m_Info;}inlinebool CSeq_entry_Handle::IsSeq(void) const{    return Which() == CSeq_entry::e_Seq;}inlinebool CSeq_entry_Handle::IsSet(void) const{    return Which() == CSeq_entry::e_Set;}/////////////////////////////////////////////////////////////////////////////// CSeq_entry_EditHandle/////////////////////////////////////////////////////////////////////////////inlineCSeq_entry_EditHandle::CSeq_entry_EditHandle(void){}inlineCSeq_entry_EditHandle::CSeq_entry_EditHandle(const CSeq_entry_Handle& h)    : CSeq_entry_Handle(h){}inlineCSeq_entry_EditHandle::CSeq_entry_EditHandle(CScope& scope,                                             CSeq_entry_Info& info)    : CSeq_entry_Handle(scope, info){}END_SCOPE(objects)END_NCBI_SCOPE/** ---------------------------------------------------------------------------* $Log: seq_entry_handle.hpp,v $* Revision 1000.2  2004/06/01 19:21:38  gouriano* PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.11** Revision 1.11  2004/04/29 15:44:30  grichenk* Added GetTopLevelEntry()** Revision 1.10  2004/03/31 19:54:08  vasilche* Fixed removal of bioseqs and bioseq-sets.** Revision 1.9  2004/03/31 17:08:06  vasilche* Implemented ConvertSeqToSet and ConvertSetToSeq.** Revision 1.8  2004/03/29 20:13:05  vasilche* Implemented whole set of methods to modify Seq-entry object tree.* Added CBioseq_Handle::GetExactComplexityLevel().** Revision 1.7  2004/03/25 20:06:41  vasilche* Fixed typo TSet -> TSeq.** Revision 1.6  2004/03/24 18:30:28  vasilche* Fixed edit API.* Every *_Info object has its own shallow copy of original object.** Revision 1.5  2004/03/16 21:01:32  vasilche* Added methods to move Bioseq withing Seq-entry** Revision 1.4  2004/03/16 15:47:26  vasilche* Added CBioseq_set_Handle and set of EditHandles** Revision 1.3  2004/02/09 19:18:50  grichenk* Renamed CDesc_CI to CSeq_descr_CI. Redesigned CSeq_descr_CI* and CSeqdesc_CI to avoid using data directly.** Revision 1.2  2003/12/03 16:40:03  grichenk* Added GetParentEntry()** Revision 1.1  2003/11/28 15:12:30  grichenk* Initial revision*** ===========================================================================*/#endif //SEQ_ENTRY_HANDLE__HPP

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品理伦片| 亚洲午夜日本在线观看| 成人高清av在线| 蜜臀av一级做a爰片久久| 精品噜噜噜噜久久久久久久久试看 | 亚洲国产视频直播| 精品国精品自拍自在线| 欧美日韩国产色站一区二区三区| 成人97人人超碰人人99| 国产美女一区二区| 久久精品国产久精国产| 日日噜噜夜夜狠狠视频欧美人| 中文字幕一区三区| 精品乱码亚洲一区二区不卡| 欧美一级欧美三级在线观看| 欧美日韩免费高清一区色橹橹| 91视频www| 91丨porny丨中文| 国产麻豆成人精品| 激情文学综合网| 毛片av中文字幕一区二区| 三级不卡在线观看| 婷婷久久综合九色国产成人 | 日韩欧美一区中文| 欧美福利视频一区| 884aa四虎影成人精品一区| 欧美日韩日本视频| 精品黑人一区二区三区久久| 欧美韩日一区二区三区四区| 亚洲精品成人在线| 青青草国产成人99久久| 国产69精品久久久久777| 99vv1com这只有精品| 欧美日韩国产大片| 久久久精品黄色| 樱桃国产成人精品视频| 青青国产91久久久久久| 国产精品正在播放| 91亚洲国产成人精品一区二区三 | 91精品国产欧美一区二区18| www精品美女久久久tv| 中文字幕一区二区三区四区| 午夜私人影院久久久久| 精品综合久久久久久8888| 97久久精品人人做人人爽| 欧美精品自拍偷拍| 国产日产欧美一区二区视频| 亚洲国产精品尤物yw在线观看| 久久国产精品色| 色婷婷一区二区三区四区| 精品裸体舞一区二区三区| 一区二区三区日韩欧美精品| 免费精品99久久国产综合精品| 波多野洁衣一区| 日韩一级精品视频在线观看| 中文字幕亚洲精品在线观看| 狂野欧美性猛交blacked| 91污在线观看| 久久久99精品免费观看| 亚洲在线视频免费观看| 国产精品99久久久久久久女警 | 亚洲精品网站在线观看| 国产在线不卡一区| 欧洲国内综合视频| 中文字幕成人在线观看| 久草热8精品视频在线观看| 色综合久久66| 国产视频一区在线播放| 蜜桃视频在线一区| 欧美色窝79yyyycom| 国产精品成人午夜| 国产一区三区三区| 欧美一区二区三区视频在线观看 | 成人夜色视频网站在线观看| 日韩天堂在线观看| 亚洲第一久久影院| 色999日韩国产欧美一区二区| 久久色中文字幕| 免费久久精品视频| 在线电影一区二区三区| 一区二区三区四区av| fc2成人免费人成在线观看播放| 亚洲精品一区在线观看| 日本女优在线视频一区二区| 91成人看片片| 亚洲乱码国产乱码精品精的特点| 欧美bbbbb| 国产精品午夜电影| 国产成人av福利| 国产日产欧产精品推荐色| 亚洲图片有声小说| 色婷婷久久久综合中文字幕| 日本一区二区三区高清不卡| 久草中文综合在线| 精品国产一区二区三区久久影院| 三级成人在线视频| 69av一区二区三区| 青青青伊人色综合久久| 91精品蜜臀在线一区尤物| 视频一区视频二区中文| 在线播放国产精品二区一二区四区| 亚洲愉拍自拍另类高清精品| 91蜜桃传媒精品久久久一区二区| 国产精品乱码一区二区三区软件 | 亚洲综合免费观看高清在线观看| 91亚洲精华国产精华精华液| 亚洲日本丝袜连裤袜办公室| 91小视频免费观看| 亚洲综合久久av| 欧美私人免费视频| 五月天激情综合网| 欧美一区二区视频在线观看| 美女尤物国产一区| 国产亚洲成aⅴ人片在线观看| 国产成人一区在线| 亚洲日本乱码在线观看| 欧美系列在线观看| 无码av免费一区二区三区试看 | 精品久久久久久无| 国产一区二区不卡老阿姨| 久久九九影视网| www.欧美精品一二区| 亚洲人成7777| 欧美日韩国产首页| 看电视剧不卡顿的网站| 久久精品亚洲精品国产欧美 | 国产精品污www在线观看| 成人h版在线观看| 一区二区欧美精品| 8x8x8国产精品| 国产精品18久久久久久vr | 粉嫩av一区二区三区| 亚洲欧洲在线观看av| 欧美性大战久久久久久久| 青草av.久久免费一区| 国产日产欧美一区二区视频| 在线精品视频免费播放| 奇米一区二区三区av| 国产精品家庭影院| 欧美日本精品一区二区三区| 国内成人免费视频| 亚洲免费在线观看| 日韩一级视频免费观看在线| 亚洲国产日韩a在线播放性色| 日韩国产高清影视| 91久久精品一区二区二区| 首页亚洲欧美制服丝腿| 久久久久青草大香线综合精品| 99久久国产综合精品色伊| 日韩电影在线一区| 中文字幕欧美国产| 在线电影院国产精品| 国产成人av电影| 午夜精品123| 国产精品免费看片| 欧美一区二区精品久久911| 国产精品一区在线| 香蕉久久夜色精品国产使用方法 | 国产精品网站导航| 欧美日韩国产色站一区二区三区| 国产传媒久久文化传媒| 五月天一区二区| 国产精品久久久久婷婷二区次| 欧美浪妇xxxx高跟鞋交| 成人av中文字幕| 麻豆成人91精品二区三区| 亚洲精品中文在线观看| 国产夜色精品一区二区av| 91麻豆精品国产91久久久久| 99久久er热在这里只有精品15| 九九九精品视频| 午夜a成v人精品| 亚洲蜜臀av乱码久久精品蜜桃| 久久久99久久| 欧美变态tickle挠乳网站| 精品视频一区二区三区免费| 国产精品影视在线| 蜜桃av一区二区| 亚洲成av人综合在线观看| 中文字幕在线播放不卡一区| 久久亚洲综合色| 日韩一区二区三区精品视频| 精品视频资源站| 91麻豆成人久久精品二区三区| 国产99久久久国产精品| 精油按摩中文字幕久久| 美女在线观看视频一区二区| 午夜视黄欧洲亚洲| 亚洲国产综合色| 亚洲一区二区3| 亚洲免费在线观看视频| 亚洲欧美一区二区视频| 国产精品网站导航| 国产欧美日本一区二区三区| 欧美成人一区二区三区在线观看 | 亚洲精品精品亚洲| 中文字幕av在线一区二区三区| 久久久99精品免费观看不卡| 亚洲精品一区二区三区在线观看| 4438成人网|