NCBI C++ ToolKit
Macros | Functions | Variables
gb_load_option_panel.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/loaders/gb_load_option_panel.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/widgets/wx/async_call.hpp>
#include <gui/widgets/wx/message_box.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/object_manager.hpp>
#include <objmgr/util/sequence.hpp>
#include <util/xregexp/regexp.hpp>
#include <gui/objutils/utils.hpp>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/statbox.h>
#include <wx/icon.h>
#include <wx/bitmap.h>
#include <wx/msgdlg.h>
#include <wx/settings.h>
#include <wx/txtstrm.h>
#include <wx/sstream.h>
+ Include dependency graph for gb_load_option_panel.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define GB_LOADER_ERR   "GenBank - Error in input"
 
#define INVALID_ELEMS_MSG   " elements are not valid sequence identifiers and so cannot be loaded.\\nWould you like to proceed?"
 
#define INVALID_INPUT   "Input does not contain valid sequence identifiers."
 
#define EMPTY_INPUT   "Please specify one or more sequence identifiers to load!"
 

Functions

 USING_SCOPE (objects)
 
static string sFormatTimePeriod (CTime &t_now, CTime &t_before)
 
static string sDelim (" \t,;\n\r")
 
static bool sParseRange (CSeq_interval &ival, const string &range)
 

Variables

const char * sRangeRegexp = "[0-9,]+[kKmM]?([-:]|\\.\\.)[0-9,]+[kKmM]?"
 
static const char * kPanelTag = "GenBankLoadOptionPanel"
 
static const char * kIdsInputTag = "IdsInput"
 
static const char * kMRUTag = "AccMRU"
 

Macro Definition Documentation

◆ EMPTY_INPUT

#define EMPTY_INPUT   "Please specify one or more sequence identifiers to load!"

Definition at line 213 of file gb_load_option_panel.cpp.

◆ GB_LOADER_ERR

#define GB_LOADER_ERR   "GenBank - Error in input"

Definition at line 206 of file gb_load_option_panel.cpp.

◆ INVALID_ELEMS_MSG

#define INVALID_ELEMS_MSG   " elements are not valid sequence identifiers and so cannot be loaded.\\nWould you like to proceed?"

Definition at line 208 of file gb_load_option_panel.cpp.

◆ INVALID_INPUT

#define INVALID_INPUT   "Input does not contain valid sequence identifiers."

Definition at line 211 of file gb_load_option_panel.cpp.

Function Documentation

◆ sDelim()

static string sDelim ( " \  t,
;\n\r  
)
static

◆ sFormatTimePeriod()

static string sFormatTimePeriod ( CTime t_now,
CTime t_before 
)
static

◆ sParseRange()

static bool sParseRange ( CSeq_interval ival,
const string range 
)
static

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ kIdsInputTag

const char* kIdsInputTag = "IdsInput"
static

◆ kMRUTag

const char* kMRUTag = "AccMRU"
static

◆ kPanelTag

const char* kPanelTag = "GenBankLoadOptionPanel"
static

◆ sRangeRegexp

const char* sRangeRegexp = "[0-9,]+[kKmM]?([-:]|\\.\\.)[0-9,]+[kKmM]?"

Definition at line 241 of file gb_load_option_panel.cpp.

Referenced by CGenBankLoadOptionPanel::x_ProccessText().

Modified on Sun Apr 14 05:28:39 2024 by modify_doxy.py rev. 669887