);
85 "CPrefetchBioseq: seq-id is null");
111 "CPrefetchFeat_CI: loc is null");
186 classCWaitingListener
190CWaitingListener(
void)
197 if( token->IsDone() ) {
216 if( !token->IsDone() ) {
217CWaitingListener* listener =
218 dynamic_cast<CWaitingListener*
>(token->GetListener());
220listener =
newCWaitingListener();
221token->SetListener(listener);
223 if( !token->IsDone() ) {
229 "CStdPrefetch::Wait: action had failed");
233 "CStdPrefetch::Wait: action was canceled");
255 "CStdPrefetch::GetBioseqHandle: wrong token");
281range, strand, sel));
293range, strand, sel));
303 "CStdPrefetch::GetFeat_CI: wrong token");
static CRef< CScope > m_Scope
Base class for all object manager exceptions.
This exception is used to interrupt actions canceled by user.
This exception is used to report failed actions.
CObjectManager & GetObjectManager(void)
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
SAnnotSelector m_Selector
CConstRef< CSeq_loc > m_Loc
const CConstRef< TObject > & GetResult(void) const
static void Wait(CRef< CPrefetchRequest > token)
virtual bool Execute(CRef< CPrefetchRequest > token)
vector< CSeq_id_Handle > TIds
virtual CIRef< IPrefetchAction > GetNextAction(void)
SAnnotSelector m_Selector
CIRef< ISeq_idSource > m_Ids
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
virtual bool Execute(CRef< CPrefetchRequest > token)
CRange< TSeqPos > m_Range
virtual CIRef< IPrefetchAction > GetNextAction(void)
const CSeq_id_Handle & GetSeq_id(void) const
const CFeat_CI & GetResult(void) const
const CBioseq_Handle & GetResult(void) const
const THandle GetHandle(void) const
CPrefetchBioseq(const CScopeSource &scope, const CSeq_id_Handle &id)
static CRef< CPrefetchRequest > GetBioseqHandle(CPrefetchManager &manager, const CScopeSource &scope, const CSeq_id_Handle &id)
CIRef< ISeq_idSource > m_Ids
static CRef< CPrefetchRequest > GetFeat_CI(CPrefetchManager &manager, const CBioseq_Handle &bioseq, const CRange< TSeqPos > &range, ENa_strand strand, const SAnnotSelector &sel)
virtual ~ISeq_idSource(void)
CPrefetchComplete(const THandle &handle)
CPrefetchFeat_CIActionSource(const CScopeSource &scope, ISeq_idSource *ids, const SAnnotSelector &sel)
const CBioseq_Handle & GetBioseqHandle(void) const
vector< CSeq_id_Handle > TIds
CPrefetchFeat_CI(const CScopeSource &scope, CConstRef< CSeq_loc > loc, const SAnnotSelector &selector)
CPrefetchBioseqActionSource(const CScopeSource &scope, ISeq_idSource *ids)
CRef< CPrefetchRequest > AddAction(TPriority priority, IPrefetchAction *action, IPrefetchListener *listener=0)
virtual bool Execute(CRef< CPrefetchRequest > token)
void Reset(void)
Reset reference object.
bool NotNull(void) const THROWS_NONE
Check if pointer is not null â same effect as NotEmpty().
#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.
ENa_strand
strand of nucleic acid
@ eCanceled
Request canceled.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4