:
CAppJob(
"AGP Export"), m_Params(params)
66 if(object_id.empty()) {
80object_id =
"(unknown)";
94err_msg =
"AGP export. Failed to save file: "+
string(fname.ToUTF8()) +
"\n";
98 if(err_msg.empty()) {
USING_SCOPE(ncbi::objects)
void AgpWrite(CNcbiOstream &os, const objects::CSeqMap &seq_map, const string &object_id, objects::CScope &scope, const vector< char > &component_types=vector< char >(), CAgpWriteComponentIdMapper *comp_id_mapper=nullptr, int agp_version=2)
Write a SeqMap in AGP format, using provided scope.
CAgpExportJob(const CAgpExportParams ¶ms)
CAgpExportParams m_Params
virtual EJobState Run()
Function that does all the useful work, called by the Engine.
string GetGapType() const
wxString GetFileName() const
SConstScopedObject GetSeqLoc() const
wxString GetAltObjId() const
bool GetAssertEvidence() const
CAppJobError Default implementation for IAppJobError - encapsulates a text error message.
CAppJob - default implementation of IAppJob that could be used as a base class.
Template class for iteration on objects of class C (non-medifiable version)
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
const string & GetMsg(void) const
Get message string.
void Info(CExceptionArgs_Base &args)
CRef< CAppJobError > m_Error
static void GetLabel(const CObject &obj, string *label, ELabelType type=eDefault)
CRef< objects::CScope > scope
string m_Descr
mutex to sync our internals
EJobState
Job states (describe FSM)
CConstRef< CObject > object
TRange GetTotalRange(void) const
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
CBioseq_Handle GetBioseqHandle(const CSeq_id &id)
Get bioseq handle by seq-id.
TObjectType * GetPointer(void) const THROWS_NONE
Get pointer,.
void Reset(void)
Reset reference object.
TObjectType & GetObject(void)
Get object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ofstream CNcbiOfstream
Portable alias for ofstream.
TTo GetTo(void) const
Get the To member data.
TFrom GetFrom(void) const
Get the From member data.
string ToStdString(const wxString &s)
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