NCBI C++ ToolKit
|
Search Toolkit Book for CDemoApp
Derive our application class from CwxNCBIApp and use it together with standard CNCBIwxApplication. More...
Public Member Functions | |
virtual void | Init (void) |
Initialize the application. More... | |
virtual int | Run (void) |
Run the application. More... | |
virtual void | Exit (void) |
Cleanup on application exit. More... | |
void | GetIds (CScope &scope, const CSeq_id_Handle &idh) |
virtual void | Init (void) |
Initialize the application. More... | |
virtual int | Run (void) |
Run the application. More... | |
CDemoApp () | |
virtual | ~CDemoApp () |
CDemoApp () | |
virtual | ~CDemoApp () |
CDemoApp () | |
virtual | ~CDemoApp () |
Public Member Functions inherited from CNcbiApplication | |
virtual | ~CNcbiApplication (void) |
Destructor. More... | |
CNcbiApplication (const SBuildInfo &build_info=NCBI_SBUILDINFO_DEFAULT()) | |
Constructor. More... | |
Public Member Functions inherited from CNcbiApplicationAPI | |
CNcbiApplicationAPI (const SBuildInfo &build_info) | |
Constructor. More... | |
virtual | ~CNcbiApplicationAPI (void) |
Destructor. More... | |
int | AppMain (int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString) |
Main function (entry point) for the NCBI application. More... | |
virtual int | DryRun (void) |
Test run the application. More... | |
const CNcbiArguments & | GetArguments (void) const |
Get the application's cached unprocessed command-line arguments. More... | |
virtual const CArgs & | GetArgs (void) const |
Get parsed command line arguments. More... | |
const CNcbiEnvironment & | GetEnvironment (void) const |
Get the application's cached environment. More... | |
CNcbiEnvironment & | SetEnvironment (void) |
Get a non-const copy of the application's cached environment. More... | |
void | SetEnvironment (const string &name, const string &value) |
Set a specified environment variable by name. More... | |
bool | HasLoadedConfig (void) const |
Check if the config file has been loaded. More... | |
bool | FinishedLoadingConfig (void) const |
Check if the application has finished loading config file (successfully or not). More... | |
const CNcbiRegistry & | GetConfig (void) const |
Get the application's cached configuration parameters (read-only). More... | |
CNcbiRegistry & | GetConfig (void) |
const string & | GetConfigPath (void) const |
Get the full path to the configuration file (if any) we ended up using. More... | |
bool | ReloadConfig (CMetaRegistry::TFlags flags=CMetaRegistry::fReloadIfChanged, IRegistry::TFlags reg_flags=IRegistry::fWithNcbirc) |
Reload the configuration file. More... | |
SIZE_TYPE | FlushDiag (CNcbiOstream *os, bool close_diag=false) |
Flush the in-memory diagnostic stream (for "eDS_ToMemory" case only). More... | |
const string & | GetProgramDisplayName (void) const |
Get the application's "display" name. More... | |
const string & | GetProgramExecutablePath (EFollowLinks follow_links=eIgnoreLinks) const |
Get the application's executable path. More... | |
CVersionInfo | GetVersion (void) const |
Get the program version information. More... | |
const CVersionAPI & | GetFullVersion (void) const |
Get the program version information. More... | |
bool | IsDryRun (void) const |
Check if it is a test run. More... | |
virtual bool | SetupDiag_AppSpecific (void) |
Setup application specific diagnostic stream. More... | |
template<class TFunc > | |
void | AddOnExitAction (TFunc func) |
Add callback to be executed from CNcbiApplicationAPI destructor. More... | |
Public Member Functions inherited from CwxNCBIApp | |
CwxNCBIApp (bool use_job_disp=true) | |
CwxNCBIApp. More... | |
virtual | ~CwxNCBIApp () |
virtual bool | OnInit () |
Initialises the application. More... | |
virtual int | OnExit () |
Called on exit. More... | |
void | OnIdle (wxIdleEvent &event) |
Protected Member Functions | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual void | x_InitAppJobDispatcher () |
override this function to configure / register engines More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual void | x_InitAppJobDispatcher () |
override this function to configure / register engines More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual bool | x_CreateGUI () |
create main application window and initialize associated objects return true if successful More... | |
virtual wxString | x_GetGuiRegistryPath () |
Protected Member Functions inherited from CNcbiApplicationAPI | |
virtual EPreparseArgs | PreparseArgs (int argc, const char *const *argv) |
Check the command line arguments before parsing them. More... | |
void | DisableArgDescriptions (TDisableArgDesc disable=fDisableStdArgs) |
void | HideStdArgs (THideStdArgs hide_mask) |
Set the hide mask for the Hide Std Flags. More... | |
void | SetStdioFlags (TStdioSetupFlags stdio_flags) |
Adjust the behavior of standard I/O streams. More... | |
void | SetVersion (const CVersionInfo &version) |
Set the version number for the program. More... | |
void | SetVersion (const CVersionInfo &version, const SBuildInfo &build_info) |
void | SetVersionByBuild (int major) |
void | SetFullVersion (CRef< CVersionAPI > version) |
Set version data for the program. More... | |
virtual void | SetupArgDescriptions (CArgDescriptions *arg_desc) |
Setup the command line argument descriptions. More... | |
const CArgDescriptions * | GetArgDescriptions (void) const |
Get argument descriptions (set by SetupArgDescriptions) More... | |
bool | SetupDiag (EAppDiagStream diag) |
Setup the application diagnostic stream. More... | |
virtual bool | LoadConfig (CNcbiRegistry ®, const string *conf, CNcbiRegistry::TFlags reg_flags) |
Load settings from the configuration file to the registry. More... | |
virtual bool | LoadConfig (CNcbiRegistry ®, const string *conf) |
Load settings from the configuration file to the registry. More... | |
CNcbiRegistry & | GetRWConfig (void) |
Get the application's cached configuration parameters, accessible for read-write for an application's internal use only. More... | |
void | SetProgramDisplayName (const string &app_name) |
Set program's display name. More... | |
virtual void | AppStart (void) |
Method to be called before application start. More... | |
virtual void | AppStop (int exit_code) |
Method to be called before application exit. More... | |
void | SetExitCode (int exit_code, EExitMode when=eExceptionalExits) |
Force the program to return a specific exit code later, either when it exits due to an exception or unconditionally. More... | |
void | SetAppFlags (TAppFlags flags) |
void | ExecuteOnExitActions () |
Should only be called from the destructors of classes derived from CNcbiApplicationAPI - if it is necessary to access their data members and virtual methods; or to dynamic_cast<> from the base app class. More... | |
void | SetPhoneHomePolicy (IPhoneHomePolicy *policy, ENcbiOwnership ownership=eNoOwnership) |
Set Phone Home Policy. More... | |
IPhoneHomePolicy * | GetPhoneHomePolicy () const |
Return pointer to current Phone Home Policy or NULL. More... | |
Protected Member Functions inherited from CwxNCBIApp | |
virtual bool | x_TestNcbiConnection () |
override this to test/configure NCBI connection before access to NCBI network services More... | |
virtual void | x_DestroyGUI () |
destroy application GUI objects More... | |
virtual void | x_LoadGuiRegistry () |
virtual void | x_SaveGuiRegistry () |
virtual void | x_RegisterImageHandlers () |
register wxWidgets image handlers More... | |
virtual bool | x_OnIdle () |
called from OnIdle() and can be overridden in derived classes returns true if something was done More... | |
Protected Attributes | |
CFlatFileDemoDlg * | m_Dlg |
CSeqTreeDemoDlg * | m_Dlg |
Protected Attributes inherited from CwxNCBIApp | |
bool | m_UseJobDisp |
int | m_MaxThreads |
int | m_MaxJobs |
bool | m_RegistryLoaded |
Private Attributes | |
int | m_MaxDepth |
Additional Inherited Members | |
Public Types inherited from CNcbiApplicationAPI | |
enum | EAppNameType { eBaseName , eFullName , eRealName } |
Static Public Member Functions inherited from CNcbiApplication | |
static CNcbiApplication * | Instance (void) |
Singleton method. More... | |
Static Public Member Functions inherited from CNcbiApplicationAPI | |
static CNcbiApplicationAPI * | Instance (void) |
Singleton method. More... | |
static CNcbiApplicationGuard | InstanceGuard (void) |
Singleton method. More... | |
static SSystemMutex & | GetInstanceMutex (void) |
Mutex for application singleton object. More... | |
static string | GetAppName (EAppNameType name_type=eBaseName, int argc=0, const char *const *argv=NULL) |
Protected Types inherited from CNcbiApplicationAPI | |
enum | EPreparseArgs { ePreparse_Continue , ePreparse_Exit } |
Result of PreparseArgs() More... | |
enum | EDisableArgDesc { fDisableStdArgs = 0x01 } |
Disable argument descriptions. More... | |
enum | EHideStdArgs { fHideLogfile = CArgDescriptions::fHideLogfile , fHideConffile = CArgDescriptions::fHideConffile , fHideVersion = CArgDescriptions::fHideVersion , fHideFullVersion = CArgDescriptions::fHideFullVersion , fHideDryRun = CArgDescriptions::fHideDryRun , fHideHelp = CArgDescriptions::fHideHelp , fHideFullHelp = CArgDescriptions::fHideFullHelp , fHideXmlHelp = CArgDescriptions::fHideXmlHelp , fHideAll = CArgDescriptions::fHideAll } |
Which standard flag's descriptions should not be displayed in the usage message. More... | |
enum | EStdioSetup { fNoSyncWithStdio = 0x01 , fDefault_CinBufferSize = 0x02 , fBinaryCin = 0x04 , fBinaryCout = 0x08 , fDefault_SyncWithStdio = 0x00 } |
Flags to adjust standard I/O streams' behaviour. More... | |
enum | EExitMode { eNoExits , eExceptionalExits , eAllExits } |
When to return a user-set exit code. More... | |
enum | EAppFlags { fSkipSafeStaticDestroy = 1 << 0 } |
typedef int | TDisableArgDesc |
Binary OR of "EDisableArgDesc". More... | |
typedef int | THideStdArgs |
Binary OR of "EHideStdArgs". More... | |
typedef int | TStdioSetupFlags |
Binary OR of "EStdioSetup". More... | |
typedef int | TAppFlags |
Static Protected Member Functions inherited from CNcbiApplicationAPI | |
static CRWLock & | GetInstanceLock (void) |
static string | FindProgramExecutablePath (int argc, const char *const *argv, string *real_path=0) |
Find the application's executable file. More... | |
Derive our application class from CwxNCBIApp and use it together with standard CNCBIwxApplication.
Definition at line 119 of file objmgr_demo.cpp.
|
inline |
Definition at line 46 of file demo_combo_app.cpp.
Referenced by main().
|
inlinevirtual |
Definition at line 47 of file demo_combo_app.cpp.
|
inline |
Definition at line 46 of file demo_wx_empty_app.cpp.
|
inlinevirtual |
Definition at line 47 of file demo_wx_empty_app.cpp.
|
inline |
Definition at line 48 of file demo_wx_tree.cpp.
|
inlinevirtual |
Definition at line 49 of file demo_wx_tree.cpp.
|
private |
Definition at line 74 of file asnwalk_type.cpp.
References depth, eTypeFamilyChoice, eTypeFamilyClass, eTypeFamilyContainer, eTypeFamilyPointer, eTypeFamilyPrimitive, info, m_MaxDepth, offset, WalkChoice(), WalkClass(), WalkContainer(), WalkPointer(), and WalkPrimitive().
|
private |
Definition at line 75 of file asnwalk_read.cpp.
References eTypeFamilyChoice, eTypeFamilyClass, eTypeFamilyContainer, eTypeFamilyPointer, eTypeFamilyPrimitive, info, offset, WalkChoice(), WalkClass(), WalkContainer(), WalkPointer(), and WalkPrimitive().
Referenced by WalkChoice(), WalkClass(), WalkContainer(), and WalkPointer().
|
virtual |
Cleanup on application exit.
Perform cleanup before exiting. The default behavior of this is "do nothing". If you have special cleanup logic that needs to be performed, then you must override this method with your own logic.
Reimplemented from CNcbiApplicationAPI.
Definition at line 3263 of file objmgr_demo.cpp.
void CDemoApp::GetIds | ( | CScope & | scope, |
const CSeq_id_Handle & | idh | ||
) |
Definition at line 787 of file objmgr_demo.cpp.
References AsGi, CSeq_id::eContent, eGetId_Best, eGetId_ForceGi, ERR_POST, eWithoutAccessionVersion, CSeq_id::fLabel_Version, GetAccessionForGi(), CNcbiApplicationAPI::GetArgs(), GetId(), CScope::GetIds(), CScope::GetLabel(), CScope::GetSequenceState(), CScope::GetTaxId(), GI_FROM, ITERATE, l(), NcbiCout, and NcbiEndl.
Referenced by Run().
|
virtual |
Initialize the application.
The default behavior of this is "do nothing". If you have special initialization logic that needs to be peformed, then you must override this method with your own logic.
Reimplemented from CNcbiApplicationAPI.
Definition at line 137 of file objmgr_demo.cpp.
References CONNECT_Init(), CArgDescriptions::eDouble, eGi, CArgDescriptions::eInputFile, CArgDescriptions::eInt8, CArgDescriptions::eInteger, CArgDescriptions::eString, CArgDescriptions::fBinary, CNcbiApplicationAPI::GetArguments(), CNcbiApplicationAPI::GetConfig(), and CNcbiApplicationAPI::SetupArgDescriptions().
|
virtual |
Initialize the application.
The default behavior of this is "do nothing". If you have special initialization logic that needs to be peformed, then you must override this method with your own logic.
Reimplemented from CNcbiApplicationAPI.
|
virtual |
Run the application.
It is defined as a pure virtual method – so you must(!) supply the Run() method to implement the application-specific logic.
Implements CNcbiApplicationAPI.
Definition at line 872 of file objmgr_demo.cpp.
References _ASSERT, _VERIFY, CPrefetchManager::AddAction(), CScope::AddBioseq(), CChecksum::AddChars(), CLDS2_Manager::AddDataDir(), CScope::AddDataLoader(), CScope::AddDefaults(), SAnnotSelector::AddNamedAnnots(), CScope::AddSeq_annot(), CScope::AddSeq_submit(), CScope::AddTopLevelSeqEntry(), SAnnotSelector::AddUnnamedAnnots(), all, AsGi, CSerialObject::Assign(), CSeq_id_Handle::AsString(), CSeqMap::begin(), buffer, CSeqVector::CanGetRange(), check_cds(), cnt, Compare(), CDirEntry::ConcatPath(), ConstRef(), count, DBAPI_RegisterDriver_FTDS(), depth, CSeq_id_Mapper::Dump(), CSeqFeatData_Base::e_Cdregion, CSeqFeatData_Base::e_Gene, CSeq_annot_Base::C_Data::e_Locs, CSeqFeatData_Base::e_MaxChoice, CSeq_annot_Base::C_Data::e_not_set, CSeqFeatData_Base::e_not_set, CSeq_annot_Base::C_Data::e_Seq_table, CBioseq_Handle::eCoding_Iupac, CSeq_id_Mapper::eCountTotalBytes, CChecksum::eCRC32C, CLDS2_Manager::eDir_Recurse, CSeq_id_Mapper::eDumpAllIds, CSeq_id_Mapper::eDumpStatistics, SAnnotSelector::eFailUnresolved, SAnnotSelector::eIgnoreUnresolved, CGBDataLoader::eIncludeHUP, CStopWatch::Elapsed(), SAnnotSelector::eMaxSearchSegmentsLog, SAnnotSelector::eMaxSearchSegmentsSilent, SAnnotSelector::eMaxSearchSegmentsThrow, map_checker< Container >::empty(), eNa_strand_minus, eNa_strand_plus, eNa_strand_unknown, CSeqMap::end(), CBlastDbDataLoader::eNucleotide, eOverlap_Contained, SAnnotSelector::eOverlap_Intervals, SAnnotSelector::eOverlap_TotalRange, CBlastDbDataLoader::eProtein, SAnnotSelector::eResolve_All, SAnnotSelector::eResolve_None, SAnnotSelector::eResolve_TSE, ERR_FATAL, ERR_POST, Error(), CSeq_annot_CI::eSearch_entry, SAnnotSelector::eSearchUnresolved, CSeqMap::eSeqData, CSeqMap::eSeqEnd, CSeqMap::eSeqGap, CSeq_loc_Mapper::eSeqMap_Up, CSeqMap::eSeqRef, CSeq_id::eSNPScaleLimit_Default, SAnnotSelector::eSortOrder_None, SAnnotSelector::eSortOrder_Normal, SAnnotSelector::eSortOrder_Reverse, CStopWatch::eStart, CSeqFeatData::eSubtype_any, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_max, CSeqFeatData::eSubtype_mRNA, CSeqFeatData::eSubtype_ncRNA, CTSE_Handle::eTopLevel_Bioseq, CTSE_Handle::eTopLevel_Seq_annot, CTSE_Handle::eTopLevel_Seq_entry, CTSE_Handle::eTopLevel_Seq_submit, CBlastDbDataLoader::eUnknown, SAnnotSelector::ExcludeFeatSubtype(), SAnnotSelector::ExcludeFeatType(), SAnnotSelector::ExcludeNamedAnnots(), exit(), SAnnotSelector::fAdaptive_ByPolicy, fCompareOverlapping, CSeqMap::fDefaultFlags, fFGL_Both, CSeqMap::fFindExactLevel, CSeqMap::fFindGap, CSeqMap::fFindLeafRef, flags, NStr::fSplit_ByPattern, g(), GenBankReaders_Register_Pubseq(), GenBankReaders_Register_Pubseq2(), IRegistry::Get(), SAnnotSelector::GetAdaptiveDepthFlags(), CAnnotTypes_CI::GetAnnot(), CAnnotTypes_CI::GetAnnotNames(), CAnnotTypes_CI::GetAnnotTypes(), CNcbiApplicationAPI::GetArgs(), GetBestCdsForMrna(), GetBestGeneForFeat(), GetBestGeneForMrna(), GetBestOverlappingFeat(), CBioseq_Handle::GetBioseqCore(), CScope::GetBioseqHandle(), CScope::GetBioseqHandleFromTSE(), CBioseq_Handle::GetBioseqLength(), CDataLoader::GetBlobId(), CTSE_Handle::GetBlobId(), CGBDataLoader::GetBlobIdFromSatSatKey(), CSeq_graph_Base::C_Graph::GetByte(), CChecksum::GetChecksum(), CSeq_feat_Handle::GetComment(), CBioseq_Handle::GetCompleteObject(), CSeq_annot_Handle::GetCompleteObject(), CTSE_Handle::GetCompleteObject(), CSeq_entry_Handle::GetCompleteSeq_entry(), CNcbiApplicationAPI::GetConfig(), CAnnotTypes_CI::GetCostOfLoadingInBytes(), CAnnotTypes_CI::GetCostOfLoadingInSeconds(), CSeq_feat_Handle::GetData(), CTSE_Handle::GetDataLoader(), CSeq_feat_Handle::GetDbxref(), CBioseq_Handle::GetEditHandle(), CSeq_annot_Handle::GetEditHandle(), CSeq_entry_Handle::GetEditHandle(), CSeqMap_CI::GetEndPosition(), CSeq_feat_Handle::GetExcept(), CSeq_feat_Handle::GetExcept_text(), CSeq_feat_Handle::GetExp_ev(), CSeq_align_Base::GetExt(), CSeq_feat_Handle::GetExt(), CStdPrefetch::GetFeat_CI(), CSeq_feat_Handle::GetFeatSubtype(), CSeq_feat_Handle::GetFeatType(), CTSE_Handle::GetFeaturesWithId(), CTSE_Handle::GetFeaturesWithXref(), CTSE_Handle::GetFeatureWithId(), CUser_object::GetFieldRef(), CSeqVector::GetGapSeq_literal(), CSeqVector::GetGapSizeForward(), CSeq_graph_Base::GetGraph(), CSeq_id_Handle::GetHandle(), CBioseq_Base::GetId(), CSeq_loc::GetId(), CSeq_feat_Handle::GetId(), GetIdHandle(), GetIds(), CSeq_id_Mapper::GetInstance(), CObjectManager::GetInstance(), CSeq_graph_Base::C_Graph::GetInt(), GetLabel(), CScope::GetLabel(), CSeqMap_CI::GetLength(), SRegisterLoaderInfo< TLoader >::GetLoader(), CSeq_graph_Base::GetLoc(), CMappedGraph::GetLoc(), CSeq_feat_Base::GetLocation(), CMappedFeat::GetLocation(), CMappedFeat::GetLocationId(), CMappedFeat::GetMappedFeature(), CMappedGraph::GetMappedGraph(), CSeqMap::GetMol(), CSeqVector::GetMutex(), CDataLoader::GetName(), CSeq_annot_Handle::GetName(), CGBDataLoader::GetNamedAnnotAccessions(), CSeq_graph_Base::GetNumval(), CMappedFeat::GetOriginalFeature(), CMappedGraph::GetOriginalGraph(), CAlign_CI::GetOriginalSeq_align(), CSeq_feat_Handle::GetOriginalSeq_feat(), CBioseq_Handle::GetParentEntry(), CSeq_entry_Handle::GetParentEntry(), CSeq_feat_Base::GetPartial(), CMappedFeat::GetPartial(), CSeqMap_CI::GetPosition(), CMappedFeat::GetProduct(), CSeq_feat_Handle::GetPseudo(), CSeq_feat_Handle::GetQual(), CMappedFeat::GetRange(), CSeqMap_CI::GetRefData(), CSeqMap_CI::GetRefEndPosition(), CSeqMap_CI::GetRefGapLiteral(), CSeqMap_CI::GetRefMinusStrand(), CSeqMap_CI::GetRefPosition(), CSeqMap_CI::GetRefSeqid(), CPrefetchFeat_CI::GetResult(), CPrefetchSeqData::GetResult(), CNcbiApplicationAPI::GetRWConfig(), CBioseq_Handle::GetScope(), CScope::GetSeq_entryHandle(), CSeq_feat_Handle::GetSeq_feat(), CMappedFeat::GetSeq_feat_Handle(), CScope::GetSeq_featHandle(), CSynonymsSet::GetSeq_id_Handle(), CSeq_annot_Handle::GetSeq_tableNumRows(), CSeqVector::GetSeqData(), CBioseq_Handle::GetSeqMap(), CAnnotTypes_CI::GetSize(), CSeq_id::GetSNPScaleLimit_Value(), CBioseq_Handle::GetState(), CObject_id_Base::GetStr(), CSeq_loc::GetStrand(), CSeq_submit_Base::GetSub(), CScope::GetSynonyms(), CSeq_graph_Base::GetTitle(), CSeq_feat_Handle::GetTitle(), CBioseq_Handle::GetTopLevelEntry(), CTSE_Handle::GetTopLevelObjectType(), CTSE_Handle::GetTopLevelSeq_submit(), CSeq_entry_Handle::GetTopLevelSeq_submit(), CSeq_entry_Handle::GetTopLevelSubmit_block(), CSeq_loc::GetTotalRange(), CBioseq_Handle::GetTSE_Handle(), CSeq_annot_Handle::GetTSE_Handle(), CSeq_entry_Handle::GetTSE_Handle(), CUser_object_Base::GetType(), CSeqMap_CI::GetType(), CSeqFeatData::GetTypeFromSubtype(), CSeq_feat_Handle::GetXref(), GI_FROM, hex(), i, in(), SAnnotSelector::IncludeFeatSubtype(), SAnnotSelector::IncludeFeatType(), SAnnotSelector::IncludeNamedAnnotAccession(), map_checker< Container >::insert(), set< Key, Compare >::insert(), CNcbiApplication::Instance(), CSeq_graph_Base::C_Graph::IsByte(), SAnnotSelector::IsIncludedAnyNamedAnnotAccession(), CSeqVector::IsInGap(), CSeq_feat_Handle::IsPlainFeat(), CSeq_feat_Handle::IsSetComment(), CSeq_feat_Handle::IsSetDbxref(), CSeq_feat_Handle::IsSetExcept(), CSeq_feat_Handle::IsSetExcept_text(), CSeq_feat_Handle::IsSetExp_ev(), CSeq_feat_Handle::IsSetExt(), CSeq_feat_Handle::IsSetId(), CSeq_feat_Base::IsSetPartial(), CMappedFeat::IsSetPartial(), CSeq_feat_Handle::IsSetProduct(), CSeq_feat_Handle::IsSetPseudo(), CSeq_feat_Handle::IsSetQual(), CSeq_graph_Base::IsSetTitle(), CSeq_feat_Handle::IsSetTitle(), CSeq_feat_Handle::IsSetXref(), CObject_id_Base::IsStr(), CSeq_feat_Handle::IsTableFeat(), CSeq_entry_Handle::IsTopLevelSeq_submit(), ITERATE, ncbi::grid::netcache::search::fields::key, kInvalidSeqPos, label, LOG_POST, CSeq_loc_Mapper_Base::Map(), CAnnotTypes_CI::MaxSearchSegmentsLimitIsReached(), min(), MSerial_AsnBinary, MSerial_AsnText, names, NcbiCout, NcbiEndl, NcbiFlush, NPOS, NULL, out(), NStr::PrintableString(), compile_time_bits::range(), CObjectManager::RegisterDataLoader(), CLDS2_DataLoader::RegisterInObjectManager(), CBlastDbDataLoader::RegisterInObjectManager(), CGBDataLoader::RegisterInObjectManager(), CBioseq_EditHandle::Remove(), CScope::RemoveFromHistory(), CRef< C, Locker >::Reset(), CBioseq_Handle::Reset(), SAnnotSelector::ResetAnnotsNames(), CScope::ResetHistory(), SAnnotSelector::ResetNamedAnnotAccessions(), CSeqMap::ResolvedRangeIterator(), CStopWatch::Restart(), row, s_GetFeatureKey(), s_GetLength(), s_PrintTree(), s_VerifyTree(), CSeqFeatData_Base::SelectionName(), CSeq_entry_EditHandle::SelectNone(), CSeq_entry_EditHandle::SelectSeq(), SerialClone(), IRWRegistry::Set(), SAnnotSelector::SetAdaptiveDepth(), SAnnotSelector::SetAdaptiveDepthFlags(), SAnnotSelector::SetAllNamedAnnots(), SAnnotSelector::SetAnnotType(), SAnnotSelector::SetBitFilter(), SAnnotSelector::SetByProduct(), SAnnotSelector::SetCollectCostOfLoading(), SAnnotSelector::SetCollectNames(), SAnnotSelector::SetCollectTypes(), CSeq_annot_Base::SetData(), SAnnotSelector::SetExactDepth(), SAnnotSelector::SetExcludeExternal(), SAnnotSelector::SetExcludeIfGeneIsSuppressed(), SAnnotSelector::SetFeatComparator(), SAnnotSelector::SetFeatType(), SSeqMapSelector::SetFlags(), CObject_id_Base::SetId(), SAnnotSelector::SetIgnoreStrand(), CSeq_loc::SetInt(), SAnnotSelector::SetLimitSeqAnnot(), SAnnotSelector::SetLimitSeqEntry(), SAnnotSelector::SetLimitTSE(), SAnnotSelector::SetMaxSearchSegments(), SAnnotSelector::SetMaxSearchSegmentsAction(), SAnnotSelector::SetMaxSearchTime(), SAnnotSelector::SetMaxSize(), SAnnotSelector::SetNoMapping(), SAnnotSelector::SetOverlapType(), SSeqMapSelector::SetRange(), SSeqMapSelector::SetResolveCount(), SAnnotSelector::SetResolveDepth(), SAnnotSelector::SetResolveMethod(), SAnnotSelector::SetSearchExternal(), SAnnotSelector::SetSNPScaleLimit(), SAnnotSelector::SetSortOrder(), SAnnotSelector::SetUnresolvedFlag(), CSeq_loc::SetWhole(), ncbi::grid::netcache::search::fields::size, CSeqVector::size(), SleepSec(), NStr::Split(), st(), NStr::StartsWith(), str(), NStr::StringToInt(), sw, t, text(), CBlobIdKey::ToString(), CLDS2_Manager::UpdateData(), v2, rapidjson::value, CStdPrefetch::Wait(), CException::what(), and x_Pause().
|
virtual |
Run the application.
It is defined as a pure virtual method – so you must(!) supply the Run() method to implement the application-specific logic.
Implements CNcbiApplicationAPI.
|
privatevirtual |
Run the application.
It is defined as a pure virtual method – so you must(!) supply the Run() method to implement the application-specific logic.
Implements CNcbiApplicationAPI.
|
privatevirtual |
Run the application.
It is defined as a pure virtual method – so you must(!) supply the Run() method to implement the application-specific logic.
Implements CNcbiApplicationAPI.
|
privatevirtual |
Run the application.
It is defined as a pure virtual method – so you must(!) supply the Run() method to implement the application-specific logic.
Implements CNcbiApplicationAPI.
|
private |
Definition at line 178 of file asnwalk_write.cpp.
References depth, info, m_MaxDepth, offset, and SetDispatch().
Referenced by SetDispatch().
|
private |
Definition at line 158 of file asnwalk_write.cpp.
References depth, CItemInfo::GetId(), CObjectTypeInfoMI::GetMemberIndex(), CObjectTypeInfoMI::GetMemberInfo(), CMemberId::GetName(), info, m_MaxDepth, offset, CMemberInfo::Optional(), SetDispatch(), and CObjectTypeInfoII::Valid().
Referenced by SetDispatch().
|
private |
Definition at line 197 of file asnwalk_write.cpp.
References depth, eTypeFamilyPointer, i, info, offset, and SetDispatch().
Referenced by SetDispatch().
|
private |
Definition at line 78 of file asnwalk_write.cpp.
References depth, eTypeFamilyChoice, eTypeFamilyClass, eTypeFamilyContainer, eTypeFamilyPointer, eTypeFamilyPrimitive, info, offset, SetChoice(), SetClass(), SetContainer(), SetPointer(), and SetPrimitive().
Referenced by SetChoice(), SetClass(), SetContainer(), and SetPointer().
|
private |
Definition at line 214 of file asnwalk_write.cpp.
References depth, info, offset, and SetDispatch().
Referenced by SetDispatch().
|
private |
Definition at line 106 of file asnwalk_write.cpp.
References all, depth, ePrimitiveValueAny, ePrimitiveValueBitString, ePrimitiveValueBool, ePrimitiveValueChar, ePrimitiveValueEnum, ePrimitiveValueInteger, ePrimitiveValueOctetString, ePrimitiveValueOther, ePrimitiveValueReal, ePrimitiveValueSpecial, ePrimitiveValueString, CEnumeratedTypeValues::GetValues(), and info.
Referenced by SetDispatch().
|
private |
Definition at line 198 of file asnwalk_type.cpp.
References depth, Dispatch(), CItemInfo::GetId(), CMemberId::GetName(), CObjectTypeInfoVI::GetVariantIndex(), CObjectTypeInfoVI::GetVariantInfo(), CObjectTypeInfoVI::GetVariantType(), info, offset, and CObjectTypeInfoII::Valid().
|
private |
Definition at line 173 of file asnwalk_read.cpp.
References Dispatch(), CItemInfo::GetId(), CMemberId::GetName(), CConstObjectInfoCV::GetVariant(), CObjectTypeInfoCV::GetVariantInfo(), info, and offset.
Referenced by Dispatch().
|
private |
Definition at line 161 of file asnwalk_type.cpp.
References depth, Dispatch(), CMemberInfo::GetDefault(), CItemInfo::GetId(), CObjectTypeInfoMI::GetMemberIndex(), CObjectTypeInfoMI::GetMemberInfo(), CObjectTypeInfoMI::GetMemberType(), CMemberId::GetName(), CItemInfo::GetTypeInfo(), CClassTypeInfo::Implicit(), info, offset, CMemberInfo::Optional(), CClassTypeInfo::RandomOrder(), and CObjectTypeInfoII::Valid().
|
private |
Definition at line 153 of file asnwalk_read.cpp.
References Dispatch(), CItemInfo::GetId(), CObjectTypeInfoII::GetItemInfo(), CConstObjectInfoMI::GetMember(), CObjectTypeInfoMI::GetMemberIndex(), CMemberId::GetName(), info, CConstObjectInfoMI::IsSet(), offset, and CObjectTypeInfoII::Valid().
Referenced by Dispatch().
|
private |
Definition at line 214 of file asnwalk_type.cpp.
References depth, Dispatch(), info, and offset.
|
private |
Definition at line 186 of file asnwalk_read.cpp.
References Dispatch(), CConstObjectInfoEI::GetElement(), CConstObjectInfoEI::GetIndex(), info, offset, and CConstObjectInfoEI::Valid().
Referenced by Dispatch().
|
private |
Definition at line 223 of file asnwalk_type.cpp.
References depth, Dispatch(), info, and offset.
|
private |
Definition at line 200 of file asnwalk_read.cpp.
References Dispatch(), info, and offset.
Referenced by Dispatch().
|
private |
Definition at line 106 of file asnwalk_type.cpp.
References ePrimitiveValueAny, ePrimitiveValueBitString, ePrimitiveValueBool, ePrimitiveValueChar, ePrimitiveValueEnum, ePrimitiveValueInteger, ePrimitiveValueOctetString, ePrimitiveValueOther, ePrimitiveValueReal, ePrimitiveValueSpecial, ePrimitiveValueString, CEnumeratedTypeValues::GetValues(), info, CEnumeratedTypeValues::IsInteger(), and offset.
|
private |
Definition at line 101 of file asnwalk_read.cpp.
References ePrimitiveValueAny, ePrimitiveValueBitString, ePrimitiveValueBool, ePrimitiveValueChar, ePrimitiveValueEnum, ePrimitiveValueInteger, ePrimitiveValueOctetString, ePrimitiveValueOther, ePrimitiveValueReal, ePrimitiveValueSpecial, ePrimitiveValueString, CEnumeratedTypeValues::FindName(), info, CEnumeratedTypeValues::IsInteger(), and offset.
Referenced by Dispatch().
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
Definition at line 62 of file demo_edit_object_app.cpp.
References init_w_edit(), and NULL.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
create main application window and initialize associated objects return true if successful
Reimplemented from CwxNCBIApp.
|
protectedvirtual |
Reimplemented from CwxNCBIApp.
Definition at line 73 of file wx_ncbi_app_demo.cpp.
References CSysPath::ResolvePath(), and wxT.
|
protectedvirtual |
override this function to configure / register engines
Reimplemented from CwxNCBIApp.
Definition at line 73 of file flatfile_demo_app.cpp.
References CAppJobDispatcher::GetInstance(), CAppJobDispatcher::RegisterEngine(), and CwxNCBIApp::x_InitAppJobDispatcher().
|
protectedvirtual |
override this function to configure / register engines
Reimplemented from CwxNCBIApp.
|
protected |
Definition at line 55 of file flatfile_demo_app.cpp.
|
protected |
Definition at line 55 of file seq_tree_demo_app.cpp.
|
private |
Definition at line 57 of file asnwalk_type.cpp.
Referenced by Dispatch(), SetChoice(), and SetClass().