NCBI C++ ToolKit
|
Search Toolkit Book for SAnnotObjectsIndex
#include <objmgr/impl/annot_object_index.hpp>
Public Types | |
typedef deque< CAnnotObject_Info > | TObjectInfos |
typedef vector< SAnnotObject_Key > | TObjectKeys |
Public Member Functions | |
SAnnotObjectsIndex (void) | |
SAnnotObjectsIndex (const CAnnotName &name) | |
SAnnotObjectsIndex (const SAnnotObjectsIndex &) | |
~SAnnotObjectsIndex (void) | |
void | SetName (const CAnnotName &name) |
const CAnnotName & | GetName (void) const |
bool | IsIndexed (void) const |
void | SetIndexed (void) |
bool | IsEmpty (void) const |
void | Clear (void) |
void | ReserveInfoSize (size_t size) |
void | AddInfo (const CAnnotObject_Info &info) |
TObjectInfos & | GetInfos (void) |
const TObjectInfos & | GetInfos (void) const |
void | ReserveMapSize (size_t size) |
void | AddMap (const SAnnotObject_Key &key, const SAnnotObject_Index &index) |
void | RemoveLastMap (void) |
void | PackKeys (void) |
const TObjectKeys & | GetKeys (void) const |
const SAnnotObject_Key & | GetKey (size_t i) const |
Private Member Functions | |
SAnnotObjectsIndex & | operator= (const SAnnotObjectsIndex &) |
Private Attributes | |
CAnnotName | m_Name |
TObjectInfos | m_Infos |
bool | m_Indexed |
TObjectKeys | m_Keys |
Definition at line 150 of file annot_object_index.hpp.
typedef deque<CAnnotObject_Info> SAnnotObjectsIndex::TObjectInfos |
Definition at line 157 of file annot_object_index.hpp.
typedef vector<SAnnotObject_Key> SAnnotObjectsIndex::TObjectKeys |
Definition at line 158 of file annot_object_index.hpp.
SAnnotObjectsIndex::SAnnotObjectsIndex | ( | void | ) |
Definition at line 41 of file annot_object_index.cpp.
SAnnotObjectsIndex::SAnnotObjectsIndex | ( | const CAnnotName & | name | ) |
Definition at line 47 of file annot_object_index.cpp.
SAnnotObjectsIndex::SAnnotObjectsIndex | ( | const SAnnotObjectsIndex & | info | ) |
Definition at line 53 of file annot_object_index.cpp.
SAnnotObjectsIndex::~SAnnotObjectsIndex | ( | void | ) |
Definition at line 59 of file annot_object_index.cpp.
void SAnnotObjectsIndex::AddInfo | ( | const CAnnotObject_Info & | info | ) |
Definition at line 85 of file annot_object_index.cpp.
Referenced by CSeq_annot_Info::Add(), CSeq_annot_Info::x_InitAlignList(), CSeq_annot_Info::x_InitFeatList(), CSeq_annot_Info::x_InitFeatTable(), CSeq_annot_Info::x_InitGraphList(), CSeq_annot_Info::x_InitLocsList(), and CTSE_Chunk_Info::x_InitObjectIndexList().
void SAnnotObjectsIndex::AddMap | ( | const SAnnotObject_Key & | key, |
const SAnnotObject_Index & | index | ||
) |
Definition at line 91 of file annot_object_index.cpp.
References ncbi::grid::netcache::search::fields::key, and m_Keys.
Referenced by CTSE_Chunk_Info::x_InitObjectIndexList(), and CSeq_annot_Info::x_Map().
void SAnnotObjectsIndex::Clear | ( | void | ) |
Definition at line 71 of file annot_object_index.cpp.
References m_Indexed, and m_Keys.
Referenced by CSeq_annot_Info::UpdateAll(), CSeq_annot_Info::x_DropAnnotObjects(), CSeq_annot_Info::x_TSEDetachContents(), and CSeq_annot_Info::x_UnmapAnnotObjects().
|
inline |
Definition at line 237 of file annot_object_index.hpp.
References m_Infos.
Referenced by CSeq_annot_Info::Add(), CSeq_annot_Info::AddFeatId(), CSeq_annot_Info::ClearFeatIds(), CSeq_annot_Info::GetAnnotObjectInfos(), CSeq_annot_Info::Remove(), CSeq_annot_Info::RemoveFeatId(), CSeq_annot_Info::Replace(), CSeq_annot_Info::Update(), CSeq_annot_Info::x_InitAlignKeys(), CSeq_annot_Info::x_InitAlignList(), CSeq_annot_Info::x_InitFeatKeys(), CSeq_annot_Info::x_InitFeatList(), CSeq_annot_Info::x_InitFeatTable(), CSeq_annot_Info::x_InitFeatTableKeys(), CSeq_annot_Info::x_InitGraphKeys(), CSeq_annot_Info::x_InitGraphList(), CSeq_annot_Info::x_InitLocsKeys(), CSeq_annot_Info::x_InitLocsList(), CTSE_Chunk_Info::x_InitObjectIndexList(), CTSE_Info::x_UnmapAnnotObjects(), and CSeq_annot_Info::x_UnmapAnnotObjects().
|
inline |
Definition at line 229 of file annot_object_index.hpp.
References m_Infos.
|
inline |
Definition at line 253 of file annot_object_index.hpp.
References _ASSERT, i, and m_Keys.
Referenced by CSeq_annot_Info::GetAnnotObjectKey(), CTSE_Chunk_Info::x_InitObjectIndexList(), CSeq_annot_Info::x_UnmapAnnotObject(), CTSE_Info::x_UnmapAnnotObjects(), and CSeq_annot_Info::x_UpdateObjectKeys().
|
inline |
Definition at line 245 of file annot_object_index.hpp.
References m_Keys.
Referenced by CSeq_annot_Info::GetAnnotObjectKeys(), CSeq_annot_Info::x_InitAlignKeys(), CSeq_annot_Info::x_InitFeatKeys(), CSeq_annot_Info::x_InitFeatTableKeys(), CSeq_annot_Info::x_InitGraphKeys(), CSeq_annot_Info::x_InitLocsKeys(), CTSE_Chunk_Info::x_InitObjectIndexList(), CSeq_annot_Info::x_MapAnnotObject(), and CSeq_annot_Info::x_UpdateObjectKeys().
|
inline |
Definition at line 199 of file annot_object_index.hpp.
References m_Name.
Referenced by CTSE_Chunk_Info::x_InitObjectIndexList(), and CTSE_Info::x_UnmapAnnotObjects().
|
inline |
Definition at line 221 of file annot_object_index.hpp.
References m_Infos.
Referenced by CSeq_annot_Info::x_InitAnnotList().
|
inline |
Definition at line 206 of file annot_object_index.hpp.
References m_Indexed.
Referenced by SetIndexed(), SetName(), CSeq_annot_Info::x_InitAnnotKeys(), and CTSE_Info::x_UnmapAnnotObjects().
|
private |
void SAnnotObjectsIndex::PackKeys | ( | void | ) |
Definition at line 104 of file annot_object_index.cpp.
References m_Keys.
Referenced by CSeq_annot_Info::x_InitAnnotKeys(), and CTSE_Chunk_Info::x_InitObjectIndexList().
void SAnnotObjectsIndex::RemoveLastMap | ( | void | ) |
Definition at line 98 of file annot_object_index.cpp.
References m_Keys.
Referenced by CTSE_Chunk_Info::x_InitObjectIndexList(), and CSeq_annot_Info::x_UpdateObjectKeys().
void SAnnotObjectsIndex::ReserveInfoSize | ( | size_t | size | ) |
void SAnnotObjectsIndex::ReserveMapSize | ( | size_t | size | ) |
Definition at line 78 of file annot_object_index.cpp.
References _ASSERT, m_Keys, and ncbi::grid::netcache::search::fields::size.
Referenced by CSeq_annot_Info::x_InitAlignKeys(), CSeq_annot_Info::x_InitFeatKeys(), CSeq_annot_Info::x_InitFeatTableKeys(), and CSeq_annot_Info::x_InitGraphKeys().
|
inline |
Definition at line 213 of file annot_object_index.hpp.
References _ASSERT, IsIndexed(), and m_Indexed.
Referenced by CSeq_annot_Info::x_InitAnnotKeys(), and CTSE_Chunk_Info::x_InitObjectIndexList().
void SAnnotObjectsIndex::SetName | ( | const CAnnotName & | name | ) |
Definition at line 64 of file annot_object_index.cpp.
References _ASSERT, IsIndexed(), and m_Name.
Referenced by CSeq_annot_Info::x_InitAnnotKeys().
|
private |
Definition at line 191 of file annot_object_index.hpp.
Referenced by Clear(), IsIndexed(), and SetIndexed().
|
private |
Definition at line 190 of file annot_object_index.hpp.
Referenced by AddInfo(), GetInfos(), and IsEmpty().
|
private |
Definition at line 192 of file annot_object_index.hpp.
Referenced by AddMap(), Clear(), GetKey(), GetKeys(), PackKeys(), RemoveLastMap(), and ReserveMapSize().
|
private |
Definition at line 189 of file annot_object_index.hpp.