A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/net__blast__job__descr_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_alignment/net_blast_job_descr.cpp Source File

65

*

str

+=

"Net BLAST Job"

;

73

*

str

+=

"Net BLAST Job Descriptor"

;

83  string

rid = descr->

GetRID

();

85

*

str

+=

", RID '"

+ rid +

"'"

;

108

: m_NetBlastDS(

NULL

),

109

m_State(eInvalidState),

123

m_State(eInvalidState),

142  static string

s_labels[] =

143

{

"Invalid"

,

"Initial"

,

"Submitted"

,

"Completed"

,

"Failed"

,

"Retrieved"

,

"Expired"

,

"BUG"

};

145  return

s_labels[

i

];

230  string msg

=

"Cannot submit Net BLAST job - BLAST databases not loaded."

;

237

CBLASTDatabases::TDbMap::const_iterator it =

db_map

.

find

(db_path);

239  string msg

=

"Cannot submit Net BLAST job - invalid database:\n "

;

415  m_RID

= user_obj.GetField(

kRIDTag

).GetData().GetStr();

420  string

s_time = user_obj.GetField(

kSubmitTimeTag

).GetData().GetStr();

424  if

(

m_RID

.empty() ){

static CBLASTDatabases & GetInstance()

const TDbMap & GetDbMap(bool nuc)

std::unordered_map< string, string > TDbMap

CBLASTParams - save user-specified parameters and preferences.

CNetBlastJobDescriptorLabelHandler.

void GetLabel(const CObject &obj, string *str, CLabel::ELabelType type, objects::CScope *scope) const

API for Remote Blast Requests.

CUser_object & AddField(const string &label, const string &value, EParseField parse=eParse_String)

add a data field to the user object that holds a given value

db_map template, mimics std::map<> using BerkeleyDB as the underlying Btree mechanism.

static const char * str(char *buf, int n)

const_iterator find(const K &key) const

const_iterator end() const

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

CRef< blast::CRemoteBlast > m_RemoteBlast

a proxy to Net BLAST that is used for updating Job state

CRef< blast::CBlastOptionsHandle > ToBlastOptions(bool local=false) const

string GetJobTitle() const

void Submit(objects::CBioseq_set &seq_set)

string GetDescription() const

void x_NotifyDataSource()

void FromUserObject(const objects::CUser_object &user_obj)

static string GetStateLabel(EState state)

time_t GetSubmitTime() const

CRef< blast::CRemoteBlast > GetRemoteBlast()

objects::CUser_object * ToUserObject() const

void Init(const CBLASTParams &params, CNetBLASTUIDataSource &ds)

void Release()

release CRemoteBlast object to free associated resources

CNetBLASTUIDataSource * m_NetBlastDS

CRef< objects::CSeq_align_set > Retrieve()

virtual ~CNetBlastJobDescriptor()

void x_CreateRemoteBlastIfNeeded()

string m_RID

Job attributes.

void x_OnJobDescrChanged(CNetBlastJobDescriptor &descr)

callback - invoked by CNetBlastJobDescriptor

string & GetCurrDatabase()

returns the current database for the current program

bool IsSubjNucInput() const

string & GetEntrezQuery()

CNetBlastJobDescriptor()

CNetBlastJobDescriptor.

void MarkDeleted(bool deleted)

static void RegisterLabelHandler(const string &type, ILabelHandler &handler)

static bool HasHandler(const CTypeInfo &type)

void Reset(void)

Reset reference object.

TObjectType * Release(void)

Release a reference to the object and return a pointer to the object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

string AsString(const CTimeFormat &format=kEmptyStr, TSeconds out_tz=eCurrentTimeZone) const

Transform time to string.

time_t GetTimeT(void) const

Get time in time_t format.

void SetType(TType &value)

Assign a value to Type data member.

static const char * kTitleTag

static const char * kBLASTJobTag

static const char * kRIDTag

static const char * kErrorsTag

static const char * kStateTag

static const char * kDescrTag

static const char * kSubmitTimeTag

bool eq(T x_, T y_, T round_)

static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)


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