1 #ifndef OBJMGR_TSE_HANDLE__HPP
2 #define OBJMGR_TSE_HANDLE__HPP
105 size_t GetUsedMemory(
void)
const;
107 bool Blob_IsSuppressed(
void)
const;
108 bool Blob_IsSuppressedTemp(
void)
const;
109 bool Blob_IsSuppressedPerm(
void)
const;
110 bool Blob_IsDead(
void)
const;
136 ETopLevelObjectType GetTopLevelObjectType()
const;
137 bool IsTopLevelSeq_submit()
const;
164 bool CanBeEdited(
void)
const;
308 const CTSE_Info& x_GetTSE_Info(
void)
const;
435 return !ids || ids->empty();
612 info->RemoveInfoLock();
696 return reinterpret_cast<const TScopeInfo*
>(base);
bool operator!=(const _Ht_iterator< _Val, _Nonconst_traits< _Val >, _Key, _HF, _ExK, _EqK, _All > &__x, const _Ht_iterator< _Val, _Const_traits< _Val >, _Key, _HF, _ExK, _EqK, _All > &__y)
CScope_Impl * GetImpl(void) const
void Swap(CHeapScope &scope)
CScope & GetScope(void) const
void Lock(CScopeInfo_Base *info) const
void Relock(CScopeInfo_Base *info) const
void Unlock(CScopeInfo_Base *info) const
CRef< CObject > m_DetachedInfo
CConstRef< CObject > m_ObjectInfo
CTSE_ScopeInfo * m_TSE_ScopeInfo
void RemoveInfoLock(void)
void operator=(const CScopeInfo_Base &)
bool IsDetached(void) const
bool IsTemporary(void) const
void x_SetTSE_Lock(const CTSE_ScopeUserLock &tse, const CTSE_Info_Object &info)
void x_SetTSE_Handle(const CTSE_Handle &tse)
const CTSE_Handle & GetTSE_Handle(void) const
atomic< bool > m_TSE_HandleAssigned
virtual void x_DetachTSE(CTSE_ScopeInfo *tse)
bool IsAttached(void) const
virtual const TIndexIds * GetIndexIds(void) const
CScope_Impl & x_GetScopeImpl(void) const
CTSE_ScopeInfo & x_GetTSE_ScopeInfo(void) const
CScopeInfo_Base(const CScopeInfo_Base &)
bool HasObject(const CTSE_Info_Object &info) const
atomic< bool > m_ObjectInfoAssigned
vector< TIndexId > TIndexIds
virtual void x_AttachTSE(CTSE_ScopeInfo *tse)
void x_ResetTSE_Lock(void)
const CTSE_Info_Object & GetObjectInfo_Base(void) const
bool HasObject(void) const
atomic< Uint8 > m_LockCounter
bool IsRemoved(void) const
CScopeInfo_RefBase(CScopeInfo_Base *info)
TScopeInfo * operator->(void)
void Reset(TScopeInfo *info)
const TScopeInfo * operator->(void) const
TScopeInfo & operator*(void)
const TScopeInfo & operator*(void) const
static const TScopeInfo * toInfo(const CScopeInfo_Base *base)
static CScopeInfo_Base * toBase(TScopeInfo *info)
CScopeInfo_Ref(TScopeInfo &info)
TScopeInfo & GetNCObject(void) const
static TScopeInfo * toInfo(CScopeInfo_Base *base)
int TFeatureIdInt
Find features by an integer FeatId.
ETopLevelObjectType
Type of top level object added to scope.
CBlobIdKey TBlobId
TSE info getters.
CConstRef< CSeq_entry > GetCompleteTSE(void) const
Complete and get const reference to the seq-entry.
bool operator<(const CTSE_Handle &tse) const
CTSE_ScopeInfo TScopeInfo
vector< CAnnotObject_Info * > TAnnotObjectList
CConstRef< CSeq_entry > GetTSECore(void) const
Get const reference to the seq-entry.
bool operator==(const CTSE_Handle &tse) const
CSeq_entry TObject
Unified interface for templates.
CScope_Impl & x_GetScopeImpl(void) const
vector< CSeq_feat_Handle > TSeq_feat_Handles
string TFeatureIdStr
Find features by a string FeatId.
CObject_id TFeatureId
Find features by CObject_id (string or integer)
CConstRef< TObject > GetCompleteObject(void) const
void Swap(CTSE_Handle &tse)
bool operator!=(const CTSE_Handle &tse) const
CConstRef< TObject > GetObjectCore(void) const
TScopeInfo & x_GetScopeInfo(void) const
DECLARE_OPERATOR_BOOL(IsValid())
CTSE_Handle(void)
Default constructor/destructor and assignment.
CScope & GetScope(void) const
Returns scope.
bool operator<(const CEquivRange &A, const CEquivRange &B)
bool operator==(const CEquivRange &A, const CEquivRange &B)
void Info(CExceptionArgs_Base &args)
bool IsValid(const CSeq_point &pt, CScope *scope)
Checks that point >= 0 and point < length of Bioseq.
TObjectType * GetNonNullPointer(void)
Get pointer value and throw a null pointer exception if pointer is null.
bool NotNull(void) const THROWS_NONE
Check if pointer is not null – same effect as NotEmpty().
TObjectType * GetNonNullNCPointer(void) const
Get pointer value and throw a null pointer exception if pointer is null.
void Reset(void)
Reset reference object.
void Swap(TThisType &ref)
Swaps the pointer with another reference.
void Unlock(const CObject *object) const
void Lock(const CObject *object) const
TObjectType * GetPointerOrNull(void) THROWS_NONE
Get pointer value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_XOBJMGR_EXPORT
void Swap(T &a, T &b) RAPIDJSON_NOEXCEPT
Custom swap() to avoid dependency on C++ <algorithm> header.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.