NCBI C++ ToolKit
|
Search Toolkit Book for CColumnarVCFLoaderManager
CColumnarVCFLoaderManager. More...
#include "columnar_vcf_load_manager.hpp"
(Private to src/gui/packages/pkg_sequence
.)
Public Member Functions | |
CColumnarVCFLoaderManager () | |
CColumnarVCFLoaderManager. More... | |
IFileLoadPanelClient interface implementation | |
virtual string | GetLabel () const |
virtual wxString | GetFormatWildcard () const |
return file wildcard for the format (example - "*.txt;*.tab" ) More... | |
virtual string | GetFileLoaderId () const |
IUILoadManager interface implementation | |
virtual void | SetServiceLocator (IServiceLocator *srv_locator) |
Sets / unsets Service Locator. More... | |
virtual void | SetParentWindow (wxWindow *parent) |
virtual const IUIObject & | GetDescriptor () const |
Returns the object describing this tool (UI meta data). More... | |
virtual void | InitUI () |
Initializes the Manager before using it in UI. More... | |
virtual void | CleanUI () |
CleanUI() is called after the host finished using the manager. More... | |
virtual wxPanel * | GetCurrentPanel () |
Return the panel corresponding to the current state of Tool Manager. More... | |
virtual bool | CanDo (EAction action) |
Indicates whether given transition is possible in the current state. More... | |
virtual bool | IsFinalState () |
True if Tool Manager has reached its final state, i.e. More... | |
virtual bool | IsCompletedState () |
Manager goes into "Complete" state when "Finish" button is pressed and all input data is gatherred and validated. More... | |
virtual bool | DoTransition (EAction action) |
Performs transition if possible and returns true, otherwise the function shall warn the user about the problem preventing the transition (such as insufficient or invalid input) and return false. More... | |
virtual IAppTask * | GetTask () |
Once parameters are gathered and validated this function is called to produce the final Task object that will be executed to do the actual computational work. More... | |
virtual IExecuteUnit * | GetExecuteUnit () |
virtual IWizardPage * | GetFirstPage () |
Returns first options page (if any) of the tool to be shown in wizard dialog. More... | |
virtual IWizardPage * | GetOptionsPage () |
Returns page for tool options (long wizard path via "Options" button) More... | |
virtual void | SetPrevPage (IWizardPage *prevPage) |
Sets a wizard page which should show before the first page of the tool. More... | |
virtual wxString | GetFormatWildcard () |
virtual bool | ValidateFilenames (const vector< wxString > &filenames) |
checks given filenames and returns true if the manager can handle them, otherwise - shows an error message More... | |
virtual void | SetFilenames (const vector< wxString > &filenames) |
initilize the manager with the given filenames More... | |
virtual void | GetFilenames (vector< wxString > &filenames) const |
get actual filenames that will be opened More... | |
virtual bool | IsInitialState () |
return true if the current state of the loader UI is the first valid state (first step in a wizard-like sequence) More... | |
virtual bool | RecognizeFormat (const wxString &filename) |
return true if the given file format is supported by this manager More... | |
virtual bool | RecognizeFormat (CFormatGuess::EFormat fmt) |
return true if the given file format is supported by this manager More... | |
IExtension interface implementation | |
virtual string | GetExtensionIdentifier () const |
returns the unique human-readable identifier for the extension the id should use lowercase letters separated by underscores - "like_this" More... | |
virtual string | GetExtensionLabel () const |
returns a displayable label for this extension ( please capitalize the key words - "My Extension" ) More... | |
IRegSettings interface implementation | |
virtual void | SetRegistryPath (const string &path) |
virtual void | LoadSettings () |
virtual void | SaveSettings () const |
Public Member Functions inherited from CObject | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (const CObject &src) THROWS_NONE |
Assignment operator. More... | |
bool | CanBeDeleted (void) const THROWS_NONE |
Check if object can be deleted. More... | |
bool | IsAllocatedInPool (void) const THROWS_NONE |
Check if object is allocated in memory pool (not system heap) More... | |
bool | Referenced (void) const THROWS_NONE |
Check if object is referenced. More... | |
bool | ReferencedOnlyOnce (void) const THROWS_NONE |
Check if object is referenced only once. More... | |
void | AddReference (void) const |
Add reference to object. More... | |
void | RemoveReference (void) const |
Remove reference to object. More... | |
void | ReleaseReference (void) const |
Remove reference without deleting object. More... | |
virtual void | DoNotDeleteThisObject (void) |
Mark this object as not allocated in heap – do not delete this object. More... | |
virtual void | DoDeleteThisObject (void) |
Mark this object as allocated in heap – object can be deleted. More... | |
void * | operator new (size_t size) |
Define new operator for memory allocation. More... | |
void * | operator new[] (size_t size) |
Define new[] operator for 'array' memory allocation. More... | |
void | operator delete (void *ptr) |
Define delete operator for memory deallocation. More... | |
void | operator delete[] (void *ptr) |
Define delete[] operator for memory deallocation. More... | |
void * | operator new (size_t size, void *place) |
Define new operator. More... | |
void | operator delete (void *ptr, void *place) |
Define delete operator. More... | |
void * | operator new (size_t size, CObjectMemoryPool *place) |
Define new operator using memory pool. More... | |
void | operator delete (void *ptr, CObjectMemoryPool *place) |
Define delete operator. More... | |
virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
Define method for dumping debug information. More... | |
Public Member Functions inherited from CDebugDumpable | |
CDebugDumpable (void) | |
virtual | ~CDebugDumpable (void) |
void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
void | DumpToConsole (void) const |
Public Member Functions inherited from IFileFormatLoaderManager | |
virtual bool | SingleFileLoader () const |
returns true if loader can handle only one file More... | |
virtual bool | CanGuessFormat () const |
returns true if loader's format can be guessed More... | |
Public Member Functions inherited from IUIToolManager | |
virtual wxPanel * | GetMaxPanel () |
Return the panel that occupies max size on display, to calculate dialog window size. More... | |
virtual IUIToolManager * | GetAlternateToolManager () |
If a transition fails, it may make sense to switch to a different tool manger When a tool manager identifies a more appropriate manager for a task, it returns it here, otherwise NULL. More... | |
virtual void | SetNextPage (IWizardPage *) |
Sets a wizard page which should show after the last page of the tool. More... | |
virtual void | RestoreDefaults () |
Restores the default options for the current panel. More... | |
virtual void | ResetState () |
virtual bool | UsesSingleOMScope () |
virtual | ~IUIToolManager () |
Public Member Functions inherited from IFileLoadPanelClient | |
virtual | ~IFileLoadPanelClient () |
virtual bool | SingleFileLoader () const |
returns true if loader can handle only one file More... | |
Public Member Functions inherited from IToolWizard | |
virtual | ~IToolWizard () |
virtual void | SetNextPage (IWizardPage *) |
Sets a wizard page which should show after the last page of the tool. More... | |
Public Member Functions inherited from IExtension | |
virtual | ~IExtension () |
Public Member Functions inherited from IRegSettings | |
virtual | ~IRegSettings () |
Static Public Member Functions | |
static string | Id () |
static string | Label () |
Static Public Member Functions inherited from CObject | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
Static Public Member Functions inherited from CDebugDumpable | |
static void | EnableDebugDump (bool on) |
Protected Types | |
enum | EState { eInvalid = -1 , eAssembly , eInfoSelection , eSampleSelection , eRefSequences , eCompleted } |
Protected Member Functions | |
void | x_GetRefSeqs () |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Protected Attributes | |
CUIObject | m_Descr |
IServiceLocator * | m_SrvLocator { nullptr } |
wxWindow * | m_ParentWindow { nullptr } |
EState | m_State |
string | m_RegPath |
vector< wxString > | m_FileNames |
string | m_AssmAcc |
CRef< objects::CGC_Assembly > | m_GenCollAssm |
vector< CConstRef< objects::CSeq_id > > | m_RefSeqIds |
map< string, set< string > > | m_MappedSeqIds |
size_t | m_TopLevelSeqCount = 0 |
CVcfRefSequencesPanel * | m_RefSequencesPanel |
CVcfColumnSelectionPanel * | m_ColumnsPanel |
CVcfSampleSelectionPanel * | m_SamplesPanel |
CVcfAssemblySelectionPanel * | m_AssemblyPanel |
CColumnarVCFReader | m_VCFreader |
Additional Inherited Members | |
Public Types inherited from CObject | |
enum | EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } |
Control filling of newly allocated memory. More... | |
typedef CObjectCounterLocker | TLockerType |
Default locker type for CRef. More... | |
typedef atomic< Uint8 > | TCounter |
Counter type is CAtomiCounter. More... | |
typedef Uint8 | TCount |
Alias for value type of counter. More... | |
Public Types inherited from IUIToolManager | |
enum | EAction { eBack = 0 , eNext , eSkip } |
Static Public Attributes inherited from CObject | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
Definition at line 65 of file columnar_vcf_load_manager.hpp.