⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tse_info.hpp

📁 ncbi源码
💻 HPP
📖 第 1 页 / 共 2 页
字号:
inlinebool CTSE_Info::HasDataSource(void) const{    return m_DataSource != 0;}inlineCDataSource& CTSE_Info::GetDataSource(void) const{    _ASSERT(m_DataSource);    return *m_DataSource;}inlineconst CTSE_Info& CTSE_Info::GetTSE_Info(void) const{    return *this;}inlineCTSE_Info& CTSE_Info::GetTSE_Info(void){    return *this;}inlinebool CTSE_Info::IsDead(void) const{    return m_Dead;}inlinevoid CTSE_Info::SetDead(bool dead){    m_Dead = dead;}inlinebool CTSE_Info::Locked(void) const{    return !ReferencedOnlyOnce();}inlineconst CAnnotName& CTSE_Info::GetName(void) const{    return m_Name;}inlineconst CConstRef<CObject>& CTSE_Info::GetBlobId(void) const{    return m_Blob_ID;}END_SCOPE(objects)END_NCBI_SCOPE/** ---------------------------------------------------------------------------* $Log: tse_info.hpp,v $* Revision 1000.2  2004/04/12 17:28:46  gouriano* PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.49** Revision 1.49  2004/04/05 15:56:13  grichenk* Redesigned CAnnotTypes_CI: moved all data and data collecting* functions to CAnnotDataCollector. CAnnotTypes_CI is no more* inherited from SAnnotSelector.** Revision 1.48  2004/03/24 18:30:29  vasilche* Fixed edit API.* Every *_Info object has its own shallow copy of original object.** Revision 1.47  2004/03/16 15:47:27  vasilche* Added CBioseq_set_Handle and set of EditHandles** Revision 1.46  2004/02/19 17:17:00  vasilche* Formatting.** Revision 1.45  2004/02/04 18:05:33  grichenk* Added annotation filtering by set of types/subtypes.* Renamed *Choice to *Type in SAnnotSelector.** Revision 1.44  2004/01/22 20:10:39  vasilche* 1. Splitted ID2 specs to two parts.* ID2 now specifies only protocol.* Specification of ID2 split data is moved to seqsplit ASN module.* For now they are still reside in one resulting library as before - libid2.* As the result split specific headers are now in objects/seqsplit.* 2. Moved ID2 and ID1 specific code out of object manager.* Protocol is processed by corresponding readers.* ID2 split parsing is processed by ncbi_xreader library - used by all readers.* 3. Updated OBJMGR_LIBS correspondingly.** Revision 1.43  2003/11/26 17:55:55  vasilche* Implemented ID2 split in ID1 cache.* Fixed loading of splitted annotations.** Revision 1.42  2003/10/27 16:47:12  vasilche* Fixed error:* src/objmgr/data_source.cpp", line 913: Fatal: Assertion failed: (it != tse_map.end() && it->first == id)** Revision 1.41  2003/10/09 20:20:59  vasilche* Added possibility to include and exclude Seq-annot names to annot iterator.* Fixed adaptive search. It looked only on selected set of annot names before.** Revision 1.40  2003/10/07 13:43:22  vasilche* Added proper handling of named Seq-annots.* Added feature search from named Seq-annots.* Added configurable adaptive annotation search (default: gene, cds, mrna).* Fixed selection of blobs for loading from GenBank.* Added debug checks to CSeq_id_Mapper for easier finding lost CSeq_id_Handles.* Fixed leaked split chunks annotation stubs.* Moved some classes definitions in separate *.cpp files.** Revision 1.39  2003/09/30 16:22:01  vasilche* Updated internal object manager classes to be able to load ID2 data.* SNP blobs are loaded as ID2 split blobs - readers convert them automatically.* Scope caches results of requests for data to data loaders.* Optimized CSeq_id_Handle for gis.* Optimized bioseq lookup in scope.* Reduced object allocations in annotation iterators.* CScope is allowed to be destroyed before other objects using this scope are* deleted (feature iterators, bioseq handles etc).* Optimized lookup for matching Seq-ids in CSeq_id_Mapper.* Added 'adaptive' option to objmgr_demo application.** Revision 1.38  2003/09/16 14:21:46  grichenk* Added feature indexing and searching by subtype.** Revision 1.37  2003/08/14 20:05:19  vasilche* Simple SNP features are stored as table internally.* They are recreated when needed using CFeat_CI.** Revision 1.36  2003/07/18 16:57:52  rsmith* Do not leave redundant class qualifiers** Revision 1.35  2003/07/17 20:07:55  vasilche* Reduced memory usage by feature indexes.* SNP data is loaded separately through PUBSEQ_OS.* String compression for SNP data.** Revision 1.34  2003/07/14 21:13:24  grichenk* Added possibility to resolve seq-map iterator withing a single TSE* and to skip intermediate references during this resolving.** Revision 1.33  2003/06/24 14:25:18  vasilche* Removed obsolete CTSE_Guard class.* Used separate mutexes for bioseq and annot maps.** Revision 1.32  2003/06/19 18:23:45  vasilche* Added several CXxx_ScopeInfo classes for CScope related information.* CBioseq_Handle now uses reference to CBioseq_ScopeInfo.* Some fine tuning of locking in CScope.** Revision 1.31  2003/06/02 16:01:37  dicuccio* Rearranged include/objects/ subtree.  This includes the following shifts:*     - include/objects/alnmgr --> include/objtools/alnmgr*     - include/objects/cddalignview --> include/objtools/cddalignview*     - include/objects/flat --> include/objtools/flat*     - include/objects/objmgr/ --> include/objmgr/*     - include/objects/util/ --> include/objmgr/util/*     - include/objects/validator --> include/objtools/validator** Revision 1.30  2003/05/20 15:44:37  vasilche* Fixed interaction of CDataSource and CDataLoader in multithreaded app.* Fixed some warnings on WorkShop.* Added workaround for memory leak on WorkShop.** Revision 1.29  2003/05/06 18:54:08  grichenk* Moved TSE filtering from CDataSource to CScope, changed* some filtering rules (e.g. priority is now more important* than scope history). Added more caches to CScope.** Revision 1.28  2003/04/25 14:23:46  vasilche* Added explicit constructors, destructor and assignment operator to make it compilable on MSVC DLL.** Revision 1.27  2003/04/24 16:12:37  vasilche* Object manager internal structures are splitted more straightforward.* Removed excessive header dependencies.** Revision 1.26  2003/03/21 19:22:50  grichenk* Redesigned TSE locking, replaced CTSE_Lock with CRef<CTSE_Info>.** Revision 1.25  2003/03/18 14:50:08  grichenk* Made CounterOverflow() and CounterUnderflow() private** Revision 1.24  2003/03/14 19:10:39  grichenk* + SAnnotSelector::EIdResolving; fixed operator=() for several classes** Revision 1.23  2003/03/12 20:09:31  grichenk* Redistributed members between CBioseq_Handle, CBioseq_Info and CTSE_Info** Revision 1.22  2003/03/05 20:56:43  vasilche* SAnnotSelector now holds all parameters of annotation iterators.** Revision 1.21  2003/02/25 20:10:38  grichenk* Reverted to single total-range index for annotations** Revision 1.20  2003/02/25 14:48:07  vasilche* Added Win32 export modifier to object manager classes.** Revision 1.19  2003/02/24 18:57:21  vasilche* Make feature gathering in one linear pass using CSeqMap iterator.* Do not use feture index by sub locations.* Sort features at the end of gathering in one vector.* Extracted some internal structures and classes in separate header.* Delay creation of mapped features.** Revision 1.18  2003/02/13 14:34:32  grichenk* Renamed CAnnotObject -> CAnnotObject_Info* + CSeq_annot_Info and CAnnotObject_Ref* Moved some members of CAnnotObject to CSeq_annot_Info* and CAnnotObject_Ref.* Added feat/align/graph to CAnnotObject_Info map* to CDataSource.** Revision 1.17  2003/02/05 17:57:41  dicuccio* Moved into include/objects/objmgr/impl to permit data loaders to be defined* outside of xobjmgr.** Revision 1.16  2003/02/04 21:46:31  grichenk* Added map of annotations by intervals (the old one was* by total ranges)** Revision 1.15  2003/01/29 22:02:22  grichenk* Fixed includes for SAnnotSelector** Revision 1.14  2003/01/29 17:45:05  vasilche* Annotaions index is split by annotation/feature type.** Revision 1.13  2002/12/26 21:03:33  dicuccio* Added Win32 export specifier.  Moved file from src/objects/objmgr to* include/objects/objmgr.** Revision 1.12  2002/12/26 16:39:24  vasilche* Object manager class CSeqMap rewritten.** Revision 1.11  2002/11/04 21:29:12  grichenk* Fixed usage of const CRef<> and CRef<> constructor** Revision 1.10  2002/10/18 19:12:41  grichenk* Removed mutex pools, converted most static mutexes to non-static.* Protected CSeqMap::x_Resolve() with mutex. Modified code to prevent* dead-locks.** Revision 1.9  2002/07/10 16:50:33  grichenk* Fixed bug with duplicate and uninitialized atomic counters** Revision 1.8  2002/07/08 20:51:02  grichenk* Moved log to the end of file* Replaced static mutex (in CScope, CDataSource) with the mutex* pool. Redesigned CDataSource data locking.** Revision 1.7  2002/05/31 17:53:00  grichenk* Optimized for better performance (CTSE_Info uses atomic counter,* delayed annotations indexing, no location convertions in* CAnnot_Types_CI if no references resolution is required etc.)** Revision 1.6  2002/05/29 21:21:13  gouriano* added debug dump** Revision 1.5  2002/05/03 21:28:11  ucko* Introduce T(Signed)SeqPos.** Revision 1.4  2002/05/02 20:42:38  grichenk* throw -> THROW1_TRACE** Revision 1.3  2002/03/14 18:39:14  gouriano* added mutex for MT protection** Revision 1.2  2002/02/21 19:27:07  grichenk* Rearranged includes. Added scope history. Added searching for the* best seq-id match in data sources and scopes. Updated tests.** Revision 1.1  2002/02/07 21:25:06  grichenk* Initial revision*** ===========================================================================*/#endif  /* OBJECTS_OBJMGR_IMPL___TSE_INFO__HPP */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -