NCBI C++ ToolKit
Files | Classes | Macros | Typedefs | Enumerations | Functions
GUI Utility Classes and Modules

Utility and support routines for the GUI framework. More...

+ Collaboration diagram for GUI Utility Classes and Modules:

Files

file  command.hpp
 GUI command routing and handling framework.
 
file  menu_item.hpp
 

Classes

class  CGBProjectHelper
 
struct  CGBProjectHelper::SRIDStatInfo
 
struct  binary_functor< Type >
 TEMPLATE binary functor base struct. More...
 
struct  plus_func< Type >
 TEMPLATE STRUCT max. More...
 
struct  max_func< Type >
 TEMPLATE STRUCT max. More...
 
struct  min_func< Type >
 TEMPLATE STRUCT min. More...
 
class  CDenMapRunIterator< CntType >
 Run iterator. iterate through runs of equal values in the bins. More...
 
class  CDensityMap< CntType >
 class CDensityMap generates a low-resolution view of a set of features. More...
 
class  CFilter
 CFilter –. More...
 
class  CFilterSet
 
class  IGuiObjectInfo
 
class  CGuiObjectInfoSeq_align
 
class  CGuiObjectInfoSeq_feat
 
struct  CGuiObjectInfoSeq_feat::SFeatSeg
 Data structure for holding a feature segment. More...
 
class  IGuiSeqInfo
 
class  CLabel
 
class  ILabelHandler
 ILabelHandler interface. More...
 
class  CLabelDescriptionCache
 Class to control runtime cache for description labels label generation can be slow if we need to retrieve molecules, this class controls session only runtime cache for the labels. More...
 
struct  SConstScopedObject
 
class  NSnpGui
 a collection of functions helping to display the SNP bins More...
 
class  NSNPWebServices
 helpers for accessing SNP web services More...
 
class  ITooltipFormatter
 primitive interface to arrange tabular data in the tooltips More...
 
class  CCSSTableTooltipFormatter
 tooltips using html tables with css classes from projects/sviewer/css/style.css and generated NCBI URLs are paths (recommended for SViewer) More...
 
class  CHtmlTooltipFormatter
 tooltips using html tables with html attibute formatting and generate NCBI URLs are absolute (recommended for GBench) More...
 
class  CTextTooltipFormatter
 tooltips using plain text formatting More...
 
class  CGUIUserType
 CGUIUserType. More...
 
class  CAccelTable
 CAccelTable - Accelerator Table. More...
 
class  IAppJobProgress
 IAppJobProgress. More...
 
class  IAppJobError
 IAppJobError. More...
 
class  IAppJob
 IAppJob. More...
 
class  IAppJobEngineListener
 IAppJobEngineListener - receives notifications about changes in job state. More...
 
class  CAppJobException
 IAppJobListener Interface for components that need to be notified about changes in Jobs. More...
 
class  CAppJobDispatcher
 CAppJobDispatcher. More...
 
struct  CAppJobDispatcher::SJobStateEvent
 
struct  CAppJobDispatcher::SQueueItem
 SQueueItem - element of the Polling Queue. More...
 
struct  CAppJobDispatcher::SJobRecord
 SJobRecord describes a Job registered in Dispatcher. More...
 
class  CAppJobNotification
 CAppJobNotification Notification send by CAppJobEventTranslator. More...
 
class  CAppJobEventTranslator
 CAppJobEventTranslator Standard Listener that generates notification events. More...
 
class  IAppJobEngine
 IAppJobEngine. More...
 
class  IAppJobEngineParams
 IAppJobEngineParams A base class for Engine Parmeters classes. More...
 
class  CAppJobProgress
 CAppJobProgress Default implementation for IAppJobProgress - the class encapsulates a text message and a numeric value indicating the progress of the task normalized in [0.0, 1.0] range (0.0 - just started, 1.0 - 100% done). More...
 
class  CAppJobError
 CAppJobError Default implementation for IAppJobError - encapsulates a text error message. More...
 
class  CAppJobTextResult
 CAppJobTextResult Default implementation for result object - encapsulates a text error message. More...
 
class  CJobCancelable
 Base class to build jobs with cancel functionality. More...
 
class  CJobCancelable::CCanceled
 
class  CAppJob
 CAppJob - default implementation of IAppJob that could be used as a base class. More...
 
class  CAppJobExecuteUnit
 
class  CAppInfo
 class CAppInfo defines an interface for application registration information More...
 
class  CAppRegistry
 class CAppRegistry defines the registry of application information for automated application link-outs More...
 
class  CAppPopup
 class CAppPopup allows applications to be launched based on standard registered types More...
 
struct  SAttrRangeCollectionElement< Attr, Position >
 TAttrRangeCollection represents a sequence of continious attributed intervals. More...
 
class  CAttrRangeCollection< Attr, Position >
 
class  CAttrRangeCollection< Attr, Position >::const_pos_iterator
 
class  CAttrRangeCollection< Attr, Position >::const_iterator
 
class  CAttrRangeCollection< Attr, Position >::element_proxy
 
class  CBBox< N >
 
class  CBrowserUtils
 
class  CCanceledImpl
 
class  ITransferable
 
class  CTransferable< T >
 
class  CClipboard
 
class  ICurve
 class ICurve defines a basic interface for all curves. More...
 
class  IEventAttachment
 object, that will be attached to event More...
 
class  CEventAttachmentFor< T >
 templatized IEventAttachment wrapper More...
 
class  CEvent
 CEvent - generic event implementation TODO TODO - Attachments. More...
 
struct  std::hash< ncbi::CEventHandler * >
 
struct  SEvtMapEntry
 Command map entry. More...
 
struct  SEvtMap
 Command Map. More...
 
class  CEventHandler
 CEventHandler. More...
 
class  CEventHandler::CPostQueue
 CPostQueue - singleton queue for asynchronous events all methods are synchronized. More...
 
struct  CEventHandler::SPostRequest
 
class  CExecute
 
class  IExtension
 IExtension IExtension interface represents an abstract pluggable component. More...
 
class  IExtensionPoint
 IExtensionPoint. More...
 
class  IExtensionRegistry
 IExtensionRegistry IExtensionRegistry is an interface representing a Registry where Extension Points and Extensions are registered. More...
 
class  CExtensionPoint
 CExtensionPoint - standard implementation of IExtensionPoint. More...
 
class  CExtensionRegistry
 CExtensionRegistry - standard implementation of IExtensionRegistry. More...
 
class  CExtensionPointDeclaration
 CExtensionPointDeclaration - static declaration helper. More...
 
class  CExtensionDeclaration
 CExtensionDeclaration - static declaration helper. More...
 
class  CFetchURL
 
class  CFtpUtils
 
class  CFuncPtr
 
class  CFuncPtrTmpl< T >
 
class  CFuncPtr1< RetType, Arg1 >
 
class  CFuncPtrTmpl1< T, RetType, Arg1 >
 
class  CVoidFuncPtr1< Arg1 >
 
class  CVoidFuncPtrTmpl1< T, Arg1 >
 
class  CIdGenerator
 CIdGenerator - generates consecutive integer identifiers. More...
 
class  CUniqueLabelGenerator
 CUniqueLabelGenerator Modifies the given label so that it becomes unique in the given set of labels by appending a numeric postfix ( "name" -> "name (1)" ) More...
 
class  CJobAdapter
 
class  CJobAdapter::IJobCallback
 
class  CJobAdapterResult< T >
 
class  CJobAdapterJob< TInput, TOutput >
 
class  CMenuItem
 CMenuItem - represents a menu items in IMenu-style menus. More...
 
struct  SMenuItemRec
 SMenuItemRec. More...
 
class  IReporter
 
class  CRgbaColor
 class CRgbaColor provides a simple abstraction for managing colors. More...
 
class  CStringUtil
 
class  CTableNames
 
class  CThreadPoolEngine
 CThreadPoolEngine. More...
 
class  CThreadPoolEngine::CThreadTask
 IAppJob to CThreadPool_Task Adaptor. More...
 
struct  STrackErrorStatus
 
class  CTrackUtils
 
class  IUIObject
 IUIObject - object that provides basic properties often required in a UI object. More...
 
class  CUIObject
 CUIObject - default mix-in implementation of IUIObject. More...
 
class  CMacOSX
 
class  CLayoutObject
 class CLayoutObject defines an interface that wraps a rectilinear abstract object. More...
 
struct  SLayoutByPos
 basic sort by position function More...
 
struct  SLayoutBySize
 basic sort by size function More...
 
class  CLayout
 class CLayout is a container of objects laid out in a series of rows or tracks. More...
 
class  CLayoutEngine
 class CLayoutEngine defines the abstract interface for a given alyout algorithm. More...
 
class  C2DLayoutEngine
 class C2DLayoutEngine defines the interface for a standard 2D layout engine. More...
 
struct  SFileDlgData
 File dialog utilities. More...
 
struct  SWFileDlgData
 
class  CGuiObjectInfoBioseq
 
class  CGuiObjectInfoBioseq_set
 
class  CTableDataFTable
 
class  CTableDataSeq_table
 
struct  CTableDataSeq_table::SLocLabel
 

Macros

#define DECLARE_EVENT_MAP()
 
#define BEGIN_EVENT_MAP(thisClass, baseClass)
 Begins definition of Command Map for CEventHandler-derived class. More...
 
#define END_EVENT_MAP()
 Ends definition of Command Map. More...
 
#define ON_EVENT(type, id, handler)   ON_MESSAGE(type, id, handler)
 Adds a Message as Command Map entry. More...
 
#define ON_MESSAGE(type, id, handler)   { ncbi::CEvent::eEvent_Message, typeid(type).name(), id, id, (FEventHandler) handler },
 
#define ON_EVENT_EX(cls, type, id, handler)   { cls, typeid(type).name(), id, id, (FEventHandler) handler },
 Adds a Command Map entry mapping given command id to given command handler. More...
 
#define ON_CMD(type, id, handler)   { ncbi::CEvent::eEvent_Command, typeid(type).name(), id, id, (FEventHandler) ((FCommandHandler) handler) },
 Adds a Command as Command Map entry. More...
 
#define ON_CMD_RANGE(type, id, id_last, handler)   { ncbi::CEvent::eEvent_Command, typeid(type).name(), id, id_last, (FEventHandler) ((FCommandRangeHandler) handler) },
 Adds a Command Range as Command Map entry. More...
 
#define ON_CMD_UPDATE(type, id, handler)   { CEvent::eEvent_CommandUpdate, typeid(type).name(), id, id, (FEventHandler) ((FCommandUpdateHandler)handler) },
 Adds a Update Command as Command Map entry. More...
 
#define ON_CMD_UPDATE_RANGE(type, id, id_last, handler)   { CEvent::eEvent_CommandUpdate, typeid(type).name(), id, id_last, (FEventHandler) ((FCommandUpdateHandler)handler) },
 Adds a Update Command Range as Command Map entry. More...
 
#define ON_EVENT_RANGE(type, id, id_last, handler)   ON_MESSAGE_RANGE(type, id, id_last, handler)
 Adds a Command Map entry mapping given command range to given command handler. More...
 
#define ON_MESSAGE_RANGE(type, id, id_last, handler)   { CEvent::eEvent_Message, typeid(type).name(), id, id_last, (FEventHandler) handler },
 Adds a Command Map entry mapping given message range to given command handler. More...
 
#define DEFINE_MENU(name)
 
#define MENU_ITEM(cmd, label)   { CMenuItem::eItem, label, cmd, "", "", CMenuItem::eDefault},
 
#define MENU_ITEM_T(cmd, label, tooltip)   { CMenuItem::eItem, label, cmd, "", tooltip, CMenuItem::eDefault},
 
#define MENU_ITEM_IM(cmd, label, image)   { CMenuItem::eItem, label, cmd, image, "", CMenuItem::eDefault},
 
#define MENU_ITEM_IM_T(cmd, label, image, tooltip)   { CMenuItem::eItem, label, cmd, image, tooltip, CMenuItem::eDefault},
 
#define MENU_ITEM_RADIO(cmd, label)   { CMenuItem::eItem, label, cmd, "", "", CMenuItem::eRadioItem},
 
#define MENU_ITEM_CHECK(cmd, label)   { CMenuItem::eItem, label, cmd, "", "", CMenuItem::eCheckItem},
 
#define MENU_SEPARATOR()   { CMenuItem::eSeparator, "", eCmdNone, "", "", CMenuItem::eDefault},
 
#define MENU_SEPARATOR_L(label)   { CMenuItem::eSeparator, label, eCmdNone, "", "", CMenuItem::eDefault},
 
#define SUBMENU(label)   { CMenuItem::eSubmenu, label, eCmdNone, "", "", CMenuItem::eDefault},
 
#define SUBMENU_IM(label, image)   { CMenuItem::eSubmenu, label, eCmdNone, image, "", CMenuItem::eDefault},
 
#define END_SUBMENU()   { CMenuItem::eSubmenu, "", eCmdInvalid, "", "", CMenuItem::eDefault},
 
#define END_MENU()
 

Typedefs

typedef vector< CRef< CObject > > TObjects
 
typedef vector< CConstRef< CObject > > TConstObjects
 
typedef vector< SConstScopedObjectTConstScopedObjects
 
typedef map< string, TConstScopedObjectsTRelatedObjectsMap
 
typedef enum EFileType TFileType
 
typedef int TCmdID
 
typedef void(CEventHandler::* FEventHandler) (CEvent *)
 event handler More...
 
typedef void(CEventHandler::* FCommandHandler) (void)
 command handler More...
 
typedef void(CEventHandler::* FCommandRangeHandler) (CEvent::TEventID)
 command range handler More...
 
typedef void(CEventHandler::* FCommandUpdateHandler) (IEventAttachment *)
 update command handler More...
 
typedef struct STrackErrorStatus TTrackErrorStatus
 

Enumerations

enum  CFilter::EMode {
  CFilter::ePass, CFilter::eContains, CFilter::eDoesntContain, CFilter::eEquals,
  CFilter::eDoesntEqual, CFilter::eLess, CFilter::eLessEquals, CFilter::eGreater,
  CFilter::eGreaterEquals
}
 
enum  CFilter::ECompare { CFilter::eString, CFilter::eNumeric }
 
enum  CGuiObjectInfoSeq_feat::SFeatSeg::EType { CGuiObjectInfoSeq_feat::SFeatSeg::eType_Exon, CGuiObjectInfoSeq_feat::SFeatSeg::eType_Intron, CGuiObjectInfoSeq_feat::SFeatSeg::eType_OutOfBound }
 
enum  CLabel::ELabelType {
  CLabel::eInvalid = -1, CLabel::eContent, CLabel::eUserType, CLabel::eUserSubtype,
  CLabel::eType, CLabel::eUserTypeAndContent, CLabel::eDescriptionBrief, CLabel::eDescription,
  CLabel::eSymbolAlias, CLabel::eGi, CLabel::eContentAndProduct, CLabel::eDefault = eContent
}
 
enum  ITooltipFormatter::ETooltipFormatters { ITooltipFormatter::eTooltipFormatter_CSSTable, ITooltipFormatter::eTooltipFormatter_Html, ITooltipFormatter::eTooltipFormatter_Text }
 supported types of formatters More...
 
enum  IAppJob::EJobState {
  IAppJob::eInvalid, IAppJob::eRunning, IAppJob::eCompleted, IAppJob::eFailed,
  IAppJob::eCanceled, IAppJob::eSuspended
}
 Job states (describe FSM) More...
 
enum  CAppJobException::EErrCode {
  CAppJobException::eInvalidOperation, CAppJobException::eUnknownJob, CAppJobException::eEngine_IncompatibleJob, CAppJobException::eEngine_InvalidParams,
  CAppJobException::eEngine_InvalidOperation, CAppJobException::eEngine_UnknownJob, CAppJobException::eEngineFailed, CAppJobException::eEngineBusy,
  CAppJobException::eFatalError
}
 
enum  CAppJobDispatcher::EConsts { CAppJobDispatcher::eInvalidJobID = -1 }
 
enum  CAppJobNotification::EType { CAppJobNotification::eStateChanged, CAppJobNotification::eProgress }
 
enum  EFileType { eUnknown = 0, ePdf }
 enumerated file type information More...
 
enum  { CBBox< N >::X, CBBox< N >::Y, CBBox< N >::Z }
 
enum  EBaseCommands {
  eCmdMenuEnd = -2, eCmdInvalid = -1, eCmdNone = 0, eCmdZoomIn,
  eCmdZoomOut, eCmdZoomAll, eCmdZoomInMouse, eCmdZoomOutMouse,
  eCmdZoomSel, eCmdZoomSeq, eCmdZoomObjects, eCmdZoomSelObjects,
  eCmdZoomInX, eCmdZoomOutX, eCmdZoomAllX, eCmdZoomInY,
  eCmdZoomOutY, eCmdZoomAllY, eCmdSetEqualScale, eCmdSettings,
  eCmdConfigureTracks, eCmdHelpStart, eCmdWebHelpApp = eCmdHelpStart, eCmdWebHelpGSVNavigation,
  eCmdWebHelpGSVInteractionGuide, eCmdWebHelpGSVLegends, eCmdHelpEnd = eCmdWebHelpGSVLegends, eCmdResetSelection,
  eCmdBack, eCmdForward, eCmdSeqGoto, eCmdSaveImages,
  eCmdSavePdf, eBaseCmdLast
}
 Definitions for generic commands. More...
 
enum  EStickyToolTipCommands {
  eCmdFirstStickyToolTipCmd = 8000, eCmdParentMove, eCmdSuspend, eCmdReCreate,
  eCmdDockMainWindow, eCmdParentActivate, eCmdParentShow, eCmdParentHide,
  eCmdPinTip, eCmdSearchTip, eCmdZoomTip, eCmdInfoTip,
  eCmdClickTip, eCmdReleaseTip, eCmdMoveTip, eCmdTipActive,
  eCmdTipInactive, eCmdCopyTipText, eCmdSelectTipText, eCmdCopySelectedTipText,
  eCmdTipAdded, eCmdTipRemoved, eCmdLastStickyToolTipCmd
}
 Commands needed to mange sticky tool tip windows. More...
 
enum  CEvent::EEventClass { CEvent::eEvent_Message, CEvent::eEvent_Command, CEvent::eEvent_CommandUpdate }
 default event classes More...
 
enum  CEvent::EEventID { CEvent::eEvent_LastID = -1, CEvent::eEvent_InvalidID = -2, CEvent::eEvent_MinClientID = 0 }
 Predefining event IDs. More...
 
enum  CEvent::EOwnershipPolicy { CEvent::eDelete, CEvent::eRelease }
 
enum  CEventHandler::EDispatch { CEventHandler::eDispatch_SelfOnly, CEventHandler::eDispatch_AllHandlers, CEventHandler::eDispatch_FirstHandler, CEventHandler::eDispatch_Default = eDispatch_AllHandlers }
 enum controlling dispatching strategies More...
 
enum  CEventHandler::EPoolName {
  CEventHandler::ePool_Default = 0, CEventHandler::ePool_Parent, CEventHandler::ePool_Child, CEventHandler::ePool_Sibling,
  CEventHandler::ePool_NextAvailable
}
 Identifiers for standard pools. More...
 
enum  CMenuItem::EType { CMenuItem::eItem, CMenuItem::eSubmenu, CMenuItem::eSeparator }
 Type of menu item. More...
 
enum  CMenuItem::EState {
  CMenuItem::eDefault = 0, CMenuItem::eDisabled = 0x1, CMenuItem::eCheckItem = 0x2, CMenuItem::eRadioItem = 0x4,
  CMenuItem::eSet = 0x8
}
 State and subtype of menu item. More...
 
enum  STrackErrorStatus::EErrorSeverity { STrackErrorStatus::eErrorSeverity_NoError = 0, STrackErrorStatus::eErrorSeverity_Warning = 1, STrackErrorStatus::eErrorSeverity_Fatal = 2 }
 
enum  STrackErrorStatus::EErrorCode {
  STrackErrorStatus::eErrorCode_NoError = 0, STrackErrorStatus::eErrorCode_Other = 1, STrackErrorStatus::eErrorCode_UnknownAnnot = 2, STrackErrorStatus::eErrorCode_NoAccess = 3,
  STrackErrorStatus::eErrorCode_NoPanfs = 4, STrackErrorStatus::eErrorCode_NoAssmMapper = 5, STrackErrorStatus::eErrorCode_IncorrectBatch = 6
}
 
enum  CLayoutObject::EType {
  CLayoutObject::eAlign, CLayoutObject::eAlignPairwise, CLayoutObject::eAlignSmear, CLayoutObject::eComment,
  CLayoutObject::eFeat, CLayoutObject::eFeatLabel, CLayoutObject::eFeatPack, CLayoutObject::eFeatProtProduct,
  CLayoutObject::eFeatVariation, CLayoutObject::eGraph, CLayoutObject::eHistogram, CLayoutObject::eAssnStudy,
  CLayoutObject::eLabel, CLayoutObject::eMatepair, CLayoutObject::eSeqMap, CLayoutObject::eSequence,
  CLayoutObject::eSwitchPoints, CLayoutObject::eVisRange
}
 type of layout objects currently supported More...
 
enum  CLayoutObject::EChildrenLayout { CLayoutObject::eInline, CLayoutObject::eIndividual }
 

Functions

CNcbiOstreamoperator<< (CNcbiOstream &strm, TFileType &ftype)
 
CNcbiOstreamoperator<< (CNcbiOstream &strm, const CBBox< 3 > &bb)
 
template<class I >
void GetExtensionAsInterface (const string &ext_point_id, vector< CIRef< I > > &interfaces)
 GetExtensionAsInterface() is a helper function that extracts all extensions implementing the specified interface from the given extension point. More...
 
template<class I >
void GetExtensionAsInterface (const string &ext_point_id, vector< I * > &interfaces)
 GetExtensionAsInterface() is a helper function that extracts all extensions implementing the specified interface from the given extension point. More...
 
template<typename TInput , typename TOutput >
CJobAdapterLaunchAdapterJob (CJobAdapter::IJobCallback *callback, TInput &input, bool(*func)(TInput &, TOutput &, string &, ICanceled &), const string &name, const string &descr)
 
CMenuItemCreateMenuItems (const SMenuItemRec *items)
 creates CMenuItem hierarchy from an array of SMenuItemRecRec More...
 
bool operator== (const CRgbaColor &c1, const CRgbaColor &c2)
 global comparison operator More...
 
bool operator< (const CRgbaColor &c1, const CRgbaColor &c2)
 define a some-what arbitrary sort order based on brightness It does have the property of being equivalent to operator==, that is: ( ! a<b && ! b<a ) iff a == b More...
 
CRgbaColor operator+ (const CRgbaColor &c1, const CRgbaColor &c2)
 add two colors More...
 
CRgbaColor operator* (const CRgbaColor &c1, float f)
 multiply a color by a scalar More...
 
bool operator< (const CLayoutObject &o1, const CLayoutObject &o2)
 
EDialogReturnValue NcbiMessageBox (const string &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const string &title="Error", EDialogTextMode text_mode=eRaw)
 
EDialogReturnValue NcbiMessageBoxW (const wxString &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const wxString &title=wxT("Error"), EDialogTextMode text_mode=eRaw)
 
EDialogReturnValue NcbiInfoBox (const string &message, const string &title="Info")
 specialized Message Box function for reporting general information messages More...
 
void NcbiWarningBox (const string &message, const string &title="Warning")
 specialized Message Box function for reporting non-critical errors More...
 
void NcbiErrorBox (const string &message, const string &title="Error")
 specialized Message Box function for reporting critical errors More...
 
int NcbiFileBrowser (SFileDlgData &data, wxWindow *parent=NULL)
 show wxFileDialog and returns More...
 
int NcbiFileBrowser (SWFileDlgData &data, wxWindow *parent=NULL)
 
TSeqPos CDenMapRunIterator< CntType >::GetSeqPosition () const
 
TSeqPos CDenMapRunIterator< CntType >::GetSeqRunEndPosition () const
 
TSeqPos CDenMapRunIterator< CntType >::GetSeqRunLength () const
 
position_type CDenMapRunIterator< CntType >::x_CalcRunLength () const
 
CntType CDenMapRunIterator< CntType >::Advance ()
 
 CDensityMap< CntType >::CDensityMap (TSeqPos start=0, TSeqPos stop=0, double window=1, accum_functor *func=NULL, CntType def=(CntType) 0)
 
 CDensityMap< CntType >::CDensityMap (const objects::CBioseq_Handle &handle, double window=1, accum_functor *func=NULL, CntType def=(CntType) 0)
 
 CDensityMap< CntType >::CDensityMap (const CDensityMap< CntType > &map)
 
CDensityMap< CntType > & CDensityMap< CntType >::operator= (const CDensityMap< CntType > &map)
 
void CDensityMap< CntType >::ExtendTo (TSeqPos stop)
 extend our density map to cover the sequence position stop. More...
 
virtual void CDensityMap< CntType >::AddRange (TSeqRange range, CntType score=1, bool expand=false)
 
virtual void CDensityMap< CntType >::AddRanges (CRangeCollection< TSeqPos > ranges, CntType score=1, bool expand=false)
 
CntType CDensityMap< CntType >::AddLocation (const objects::CSeq_loc &loc)
 
CntType CDensityMap< CntType >::AddFeature (const objects::CSeq_feat &feature)
 
CntType CDensityMap< CntType >::AddFeatures (const objects::CBioseq_Handle &handle, objects::SAnnotSelector sel)
 All features on this bioseq selected by sel in the range of this. More...
 
CntType CDensityMap< CntType >::AddAlignments (const objects::CBioseq_Handle &handle, objects::SAnnotSelector sel)
 All alignments on this bioseq selected by sel in the range of this. More...
 
CntType CDensityMap< CntType >::AddAlignments (const objects::CBioseq_Handle &handle, const objects::CSeq_annot &seq_annot)
 All alignments in a given annotation on this bioseq within the range of this. More...
 
static TSeqPos CDensityMap< CntType >::GetDensityMap (const objects::CBioseq_Handle &handle, TSeqPos start, TSeqPos stop, TSeqPos window, objects::SAnnotSelector sel, vector< TSeqPos > &density)
 OLD static method. More...
 
void CGuiObjectInfoSeq_feat::SetLocation (const objects::CSeq_loc &loc)
 
void CGuiObjectInfoSeq_feat::SetTaxId (int tax_id)
 
string CGuiObjectInfoSeq_feat::x_CreateLink (const string &label, const string &link) const
 
template<typename T >
bool CClipboard::Contains (const T &val)
 
template<typename T >
int CClipboard::Add (const T &val)
 
template<typename InIt >
void CClipboard::Add (InIt first, InIt last)
 
template<typename T >
void CClipboard::Set (const T &val)
 
template<typename InIt >
void CClipboard::Set (InIt first, InIt last)
 
template<typename T >
size_t CClipboard::x_AddValueEx (const T &val)
 
template<typename T >
size_t CClipboard::x_AddValue (const T &val)
 
template<>
size_t CClipboard::x_AddValue (const string &val)
 
template<typename T >
const TCClipboard::GetAt (int idx) const
 
template<typename T >
const TCClipboard::GetPtrAt (int idx) const
 
template<typename T >
const TCClipboard::Get () const
 
template<typename T >
const TCClipboard::GetPtr () const
 
template<typename T >
const TCClipboard::x_GetValueAt (int idx) const
 
template<typename T >
void CClipboard::x_AddFlavor (int idx, const T &val)
 
template<typename T >
void CClipboard::AddFlavor (const T &val)
 
template<typename T >
void CClipboard::AddFlavorAt (int idx, const T &val)
 
const TEventID CEvent::GetID (void) const
 Inline Implementation. More...
 
const TEventClass CEvent::GetEventClass (void) const
 
const TEventSender * CEvent::GetSender (void) const
 
TEventTypeInfo CEvent::GetTypeInfo (void)
 
void CRgbaColor::SetRed (unsigned char r)
 Set specific channels from floating unsigned char values. More...
 
void CRgbaColor::SetGreen (unsigned char r)
 
void CRgbaColor::SetBlue (unsigned char r)
 
void CRgbaColor::SetAlpha (unsigned char r)
 
float CRgbaColor::GetRed (void) const
 Get specific channels in floating point values. More...
 
float CRgbaColor::GetGreen (void) const
 
float CRgbaColor::GetBlue (void) const
 
float CRgbaColor::GetAlpha (void) const
 
unsigned char CRgbaColor::GetRedUC (void) const
 Get specific channels in unsigned char values. More...
 
unsigned char CRgbaColor::GetGreenUC (void) const
 
unsigned char CRgbaColor::GetBlueUC (void) const
 
unsigned char CRgbaColor::GetAlphaUC (void) const
 
CVect4< unsigned char > CRgbaColor::GetRgbaUC ()
 
CVect3< unsigned char > CRgbaColor::GetRgbUC ()
 
const float * CRgbaColor::GetColorArray (void) const
 Access the color array directly. More...
 
TSeqPos C2DLayoutEngine::GetMinDist (void) const
 access the minimum distance, in bases, that we permit between objects on a given row More...
 
void C2DLayoutEngine::SetMinDist (TSeqPos dist)
 
void C2DLayoutEngine::SetSideSpace (TSeqPos space)
 

Detailed Description

Utility and support routines for the GUI framework.

Macro Definition Documentation

#define BEGIN_EVENT_MAP (   thisClass,
  baseClass 
)
Value:
const SEvtMap* thisClass::GetEventMap() const \
{ return &thisClass::sm_EvtMap; } \
const SEvtMap thisClass::sm_EvtMap = \
{ &baseClass::sm_EvtMap, &thisClass::sm_EvtMapEntries[0] }; \
const SEvtMapEntry thisClass::sm_EvtMapEntries[] = \
{ \
Command Map.
Command map entry.
#define const
Definition: zconf.h:217

Begins definition of Command Map for CEventHandler-derived class.

Definition at line 111 of file event_handler.hpp.

#define DECLARE_EVENT_MAP ( )
Value:
private: \
static const SEvtMapEntry sm_EvtMapEntries[]; \
protected: \
static const SEvtMap sm_EvtMap; \
virtual const SEvtMap* GetEventMap() const
Command Map.
Command map entry.
#define const
Definition: zconf.h:217

Definition at line 103 of file event_handler.hpp.

#define DEFINE_MENU (   name)
Value:
const SMenuItemRec name[] = \
{ SUBMENU("Root")
SMenuItemRec.
Definition: menu_item.hpp:228
#define SUBMENU(label)
Definition: menu_item.hpp:282

Definition at line 254 of file menu_item.hpp.

#define END_EVENT_MAP ( )
Value:

Ends definition of Command Map.

Definition at line 120 of file event_handler.hpp.

#define END_MENU ( )
#define END_SUBMENU ( )    { CMenuItem::eSubmenu, "", eCmdInvalid, "", "", CMenuItem::eDefault},

Definition at line 288 of file menu_item.hpp.

#define MENU_ITEM (   cmd,
  label 
)    { CMenuItem::eItem, label, cmd, "", "", CMenuItem::eDefault},

Definition at line 258 of file menu_item.hpp.

#define MENU_ITEM_CHECK (   cmd,
  label 
)    { CMenuItem::eItem, label, cmd, "", "", CMenuItem::eCheckItem},

Definition at line 273 of file menu_item.hpp.

#define MENU_ITEM_IM (   cmd,
  label,
  image 
)    { CMenuItem::eItem, label, cmd, image, "", CMenuItem::eDefault},

Definition at line 264 of file menu_item.hpp.

#define MENU_ITEM_IM_T (   cmd,
  label,
  image,
  tooltip 
)    { CMenuItem::eItem, label, cmd, image, tooltip, CMenuItem::eDefault},

Definition at line 267 of file menu_item.hpp.

#define MENU_ITEM_RADIO (   cmd,
  label 
)    { CMenuItem::eItem, label, cmd, "", "", CMenuItem::eRadioItem},

Definition at line 270 of file menu_item.hpp.

#define MENU_ITEM_T (   cmd,
  label,
  tooltip 
)    { CMenuItem::eItem, label, cmd, "", tooltip, CMenuItem::eDefault},

Definition at line 261 of file menu_item.hpp.

#define MENU_SEPARATOR ( )    { CMenuItem::eSeparator, "", eCmdNone, "", "", CMenuItem::eDefault},

Definition at line 276 of file menu_item.hpp.

#define MENU_SEPARATOR_L (   label)    { CMenuItem::eSeparator, label, eCmdNone, "", "", CMenuItem::eDefault},

Definition at line 279 of file menu_item.hpp.

#define ON_CMD (   type,
  id,
  handler 
)    { ncbi::CEvent::eEvent_Command, typeid(type).name(), id, id, (FEventHandler) ((FCommandHandler) handler) },

Adds a Command as Command Map entry.

Definition at line 137 of file event_handler.hpp.

#define ON_CMD_RANGE (   type,
  id,
  id_last,
  handler 
)    { ncbi::CEvent::eEvent_Command, typeid(type).name(), id, id_last, (FEventHandler) ((FCommandRangeHandler) handler) },

Adds a Command Range as Command Map entry.

Definition at line 141 of file event_handler.hpp.

#define ON_CMD_UPDATE (   type,
  id,
  handler 
)    { CEvent::eEvent_CommandUpdate, typeid(type).name(), id, id, (FEventHandler) ((FCommandUpdateHandler)handler) },

Adds a Update Command as Command Map entry.

Definition at line 145 of file event_handler.hpp.

#define ON_CMD_UPDATE_RANGE (   type,
  id,
  id_last,
  handler 
)    { CEvent::eEvent_CommandUpdate, typeid(type).name(), id, id_last, (FEventHandler) ((FCommandUpdateHandler)handler) },

Adds a Update Command Range as Command Map entry.

Definition at line 149 of file event_handler.hpp.

#define ON_EVENT (   type,
  id,
  handler 
)    ON_MESSAGE(type, id, handler)

Adds a Message as Command Map entry.

Definition at line 126 of file event_handler.hpp.

#define ON_EVENT_EX (   cls,
  type,
  id,
  handler 
)    { cls, typeid(type).name(), id, id, (FEventHandler) handler },

Adds a Command Map entry mapping given command id to given command handler.

Definition at line 133 of file event_handler.hpp.

#define ON_EVENT_RANGE (   type,
  id,
  id_last,
  handler 
)    ON_MESSAGE_RANGE(type, id, id_last, handler)

Adds a Command Map entry mapping given command range to given command handler.

Definition at line 153 of file event_handler.hpp.

#define ON_MESSAGE (   type,
  id,
  handler 
)    { ncbi::CEvent::eEvent_Message, typeid(type).name(), id, id, (FEventHandler) handler },

Definition at line 129 of file event_handler.hpp.

#define ON_MESSAGE_RANGE (   type,
  id,
  id_last,
  handler 
)    { CEvent::eEvent_Message, typeid(type).name(), id, id_last, (FEventHandler) handler },

Adds a Command Map entry mapping given message range to given command handler.

Definition at line 157 of file event_handler.hpp.

#define SUBMENU (   label)    { CMenuItem::eSubmenu, label, eCmdNone, "", "", CMenuItem::eDefault},

Definition at line 282 of file menu_item.hpp.

#define SUBMENU_IM (   label,
  image 
)    { CMenuItem::eSubmenu, label, eCmdNone, image, "", CMenuItem::eDefault},

Definition at line 285 of file menu_item.hpp.

Typedef Documentation

typedef void(CEventHandler::* FCommandHandler) (void)

command handler

Definition at line 72 of file event_handler.hpp.

typedef void(CEventHandler::* FCommandRangeHandler) (CEvent::TEventID)

command range handler

Definition at line 75 of file event_handler.hpp.

typedef void(CEventHandler::* FCommandUpdateHandler) (IEventAttachment *)

update command handler

Definition at line 78 of file event_handler.hpp.

typedef void(CEventHandler::* FEventHandler) (CEvent *)

event handler

Definition at line 69 of file event_handler.hpp.

typedef int TCmdID

Definition at line 64 of file event_handler.hpp.

typedef vector< CConstRef<CObject> > TConstObjects

Definition at line 64 of file objects.hpp.

Definition at line 65 of file objects.hpp.

typedef enum EFileType TFileType

Definition at line 75 of file app_popup.hpp.

typedef vector< CRef<CObject> > TObjects

Definition at line 63 of file objects.hpp.

Definition at line 66 of file objects.hpp.

Enumeration Type Documentation

template<int N>
anonymous enum
Enumerator

Definition at line 54 of file bbox.hpp.

Definitions for generic commands.

Subsytems of GUI should define they own command enumerations, preferable with non-overlapping ranges.

Enumerator
eCmdMenuEnd 
eCmdInvalid 

marks menu end in array initializers

eCmdNone 

not a valid command

eCmdZoomIn 

empty command

zoom events

eCmdZoomOut 
eCmdZoomAll 
eCmdZoomInMouse 
eCmdZoomOutMouse 
eCmdZoomSel 
eCmdZoomSeq 

Zoom to Selection.

eCmdZoomObjects 

Zoom to Sequence.

eCmdZoomSelObjects 
eCmdZoomInX 
eCmdZoomOutX 
eCmdZoomAllX 
eCmdZoomInY 
eCmdZoomOutY 
eCmdZoomAllY 
eCmdSetEqualScale 
eCmdSettings 
eCmdConfigureTracks 
eCmdHelpStart 
eCmdWebHelpApp 
eCmdWebHelpGSVNavigation 
eCmdWebHelpGSVInteractionGuide 
eCmdWebHelpGSVLegends 
eCmdHelpEnd 
eCmdResetSelection 
eCmdBack 

Navigation commands.

eCmdForward 
eCmdSeqGoto 

goto sequence position

eCmdSaveImages 
eCmdSavePdf 
eBaseCmdLast 

Definition at line 86 of file command.hpp.

Enumerator
eInline 
eIndividual 

Definition at line 89 of file layout.hpp.

Enumerator
eString 
eNumeric 

Definition at line 79 of file filter.hpp.

Enumerator
eInvalidJobID 

Definition at line 115 of file app_job_dispatcher.hpp.

enum controlling dispatching strategies

Enumerator
eDispatch_SelfOnly 
eDispatch_AllHandlers 

handle and do not dispatch to listeners

eDispatch_FirstHandler 

dispatch to all handlers

eDispatch_Default 

dispatch until handled at least by one handler

Definition at line 190 of file event_handler.hpp.

Enumerator
eInvalidOperation 

Dispatcher - operation is invalid.

eUnknownJob 

Job record lost.

eEngine_IncompatibleJob 

the Job is incompatible with the Engine

eEngine_InvalidParams 

Invalid parameters provided to the Engine.

eEngine_InvalidOperation 

Engine - operation is invalid.

eEngine_UnknownJob 

the job is not registered in the Engine

eEngineFailed 

Engine failed to perforn an operation.

eEngineBusy 

Engine is busy, caller needs to re-try the operation.

eFatalError 

unknown tragic error

Definition at line 91 of file app_job_dispatcher.hpp.

Enumerator
eErrorCode_NoError 
eErrorCode_Other 
eErrorCode_UnknownAnnot 
eErrorCode_NoAccess 
eErrorCode_NoPanfs 
eErrorCode_NoAssmMapper 
eErrorCode_IncorrectBatch 

Definition at line 54 of file track_info.hpp.

Enumerator
eErrorSeverity_NoError 
eErrorSeverity_Warning 
eErrorSeverity_Fatal 

Definition at line 47 of file track_info.hpp.

default event classes

Enumerator
eEvent_Message 
eEvent_Command 

message from one class to another

eEvent_CommandUpdate 

command (i.e., menu, toolbar)

request to update the user interface

Definition at line 98 of file event.hpp.

Predefining event IDs.

Enumerator
eEvent_LastID 
eEvent_InvalidID 
eEvent_MinClientID 

Definition at line 106 of file event.hpp.

enum EFileType

enumerated file type information

Enumerator
eUnknown 
ePdf 

Definition at line 70 of file app_popup.hpp.

Job states (describe FSM)

Enumerator
eInvalid 
eRunning 
eCompleted 
eFailed 
eCanceled 
eSuspended 

Definition at line 86 of file app_job.hpp.

Enumerator
eInvalid 
eContent 
eUserType 
eUserSubtype 
eType 
eUserTypeAndContent 
eDescriptionBrief 
eDescription 
eSymbolAlias 
eGi 
eContentAndProduct 
eDefault 

Definition at line 60 of file label.hpp.

Enumerator
ePass 
eContains 
eDoesntContain 
eEquals 
eDoesntEqual 
eLess 
eLessEquals 
eGreater 
eGreaterEquals 

Definition at line 66 of file filter.hpp.

Enumerator
eDelete 
eRelease 

delete object when ownership end

release object (do not delete)

Definition at line 112 of file event.hpp.

Identifiers for standard pools.

Set of pools is extandable, programmers can define their own pools but need to make sure that pool identifiers are unique.

Enumerator
ePool_Default 
ePool_Parent 
ePool_Child 
ePool_Sibling 
ePool_NextAvailable 

this needs to be last!

Definition at line 200 of file event_handler.hpp.

State and subtype of menu item.

Enumerator
eDefault 
eDisabled 
eCheckItem 

item is disabled (visible but inactive)

eRadioItem 

"check-box" item

eSet 

"radio" item

Definition at line 62 of file menu_item.hpp.

Commands needed to mange sticky tool tip windows.

Enumerator
eCmdFirstStickyToolTipCmd 
eCmdParentMove 
eCmdSuspend 

tool tip window parent moves

eCmdReCreate 

tool tip parent window about to dock

eCmdDockMainWindow 

tool tip parent window finished docking

eCmdParentActivate 

tool tip cmd indicating a main-window docking update

eCmdParentShow 

tool tip parent window activated

eCmdParentHide 

tool tip parent window shown

eCmdPinTip 

tool tip parent window hidden

eCmdSearchTip 

tool tip pinned or unpinned

eCmdZoomTip 

search (scroll) window to tip element

eCmdInfoTip 

zoom into tip element

eCmdClickTip 

tip info button

eCmdReleaseTip 

User clicked somewhere on a tip.

eCmdMoveTip 

Left mouse (or equiv) up inside tip area.

eCmdTipActive 

User is interactively moving a tool tip.

eCmdTipInactive 

Mouse entered a tip (highlight matching glyph)

eCmdCopyTipText 

Mouse left a tip (remove glyph highlight)

eCmdSelectTipText 

User selected option to copy (all) tip text.

eCmdCopySelectedTipText 

User selected option to make text selectable.

eCmdTipAdded 

Copy currently selected tip text to clipboard.

eCmdTipRemoved 

Event fired when a new tip added.

eCmdLastStickyToolTipCmd 

Event fired when an existing tip is removed.

Definition at line 137 of file command.hpp.

supported types of formatters

Enumerator
eTooltipFormatter_CSSTable 

generated table is CSS based, generated NCBI URLs are paths (recommended for SViewer)

eTooltipFormatter_Html 

generated table is HTML attributes (no CSS) based, generate NCBI URLs are absolute (recommended for GBench)

eTooltipFormatter_Text 

plain text formatted

Definition at line 58 of file tooltip.hpp.

Type of menu item.

Enumerator
eItem 
eSubmenu 
eSeparator 

Definition at line 56 of file menu_item.hpp.

type of layout objects currently supported

Enumerator
eAlign 
eAlignPairwise 
eAlignSmear 
eComment 
eFeat 
eFeatLabel 
eFeatPack 
eFeatProtProduct 
eFeatVariation 
eGraph 
eHistogram 
eAssnStudy 
eLabel 
eMatepair 
eSeqMap 
eSequence 
eSwitchPoints 
eVisRange 

Definition at line 67 of file layout.hpp.

Enumerator
eType_Exon 
eType_Intron 
eType_OutOfBound 

Definition at line 89 of file gui_object_info_seq_feat.hpp.

Enumerator
eStateChanged 
eProgress 

Definition at line 330 of file app_job_dispatcher.hpp.

Function Documentation

template<typename T >
int CClipboard::Add ( const T val)
inline

Definition at line 167 of file clipboard.hpp.

References CClipboard::x_AddValue().

template<typename InIt >
void CClipboard::Add ( InIt  first,
InIt  last 
)
inline

Definition at line 175 of file clipboard.hpp.

References CClipboard::x_AddValue().

template<typename CntType >
CntType CDensityMap< CntType >::AddAlignments ( const objects::CBioseq_Handle &  handle,
objects::SAnnotSelector  sel 
)

All alignments on this bioseq selected by sel in the range of this.

Definition at line 550 of file density_map.hpp.

References _TRACE, GetStart(), and GetStop().

template<typename CntType >
CntType CDensityMap< CntType >::AddAlignments ( const objects::CBioseq_Handle &  handle,
const objects::CSeq_annot &  seq_annot 
)

All alignments in a given annotation on this bioseq within the range of this.

Definition at line 614 of file density_map.hpp.

References _TRACE, GetStart(), and GetStop().

template<typename CntType >
CntType CDensityMap< CntType >::AddFeature ( const objects::CSeq_feat &  feature)

Definition at line 515 of file density_map.hpp.

template<typename CntType >
CntType CDensityMap< CntType >::AddFeatures ( const objects::CBioseq_Handle &  handle,
objects::SAnnotSelector  sel 
)

All features on this bioseq selected by sel in the range of this.

Definition at line 522 of file density_map.hpp.

References GetStart(), and GetStop().

Referenced by CDensityMapDS::Update().

template<typename T >
void CClipboard::AddFlavor ( const T val)
inline

Definition at line 323 of file clipboard.hpp.

References CClipboard::x_AddFlavor().

template<typename T >
void CClipboard::AddFlavorAt ( int  idx,
const T val 
)
inline

Definition at line 330 of file clipboard.hpp.

References CClipboard::x_AddFlavor().

template<typename CntType >
CntType CDensityMap< CntType >::AddLocation ( const objects::CSeq_loc &  loc)

Definition at line 503 of file density_map.hpp.

template<typename CntType>
void CDensityMap< CntType >::AddRange ( TSeqRange  range,
CntType  score = 1,
bool  expand = false 
)
virtual
template<typename CntType>
void CDensityMap< CntType >::AddRanges ( CRangeCollection< TSeqPos ranges,
CntType  score = 1,
bool  expand = false 
)
virtual
template<typename CntType >
CntType CDenMapRunIterator< CntType >::Advance ( )
template<typename CntType>
CDensityMap< CntType >::CDensityMap ( TSeqPos  start = 0,
TSeqPos  stop = 0,
double  window = 1,
accum_functor func = NULL,
CntType  def = (CntType)0 
)

Definition at line 353 of file density_map.hpp.

template<typename CntType>
CDensityMap< CntType >::CDensityMap ( const objects::CBioseq_Handle &  handle,
double  window = 1,
accum_functor func = NULL,
CntType  def = (CntType)0 
)

Definition at line 370 of file density_map.hpp.

template<typename CntType>
CDensityMap< CntType >::CDensityMap ( const CDensityMap< CntType > &  map)

Definition at line 386 of file density_map.hpp.

template<typename T >
bool CClipboard::Contains ( const T val)

Definition at line 154 of file clipboard.hpp.

References i, CClipboard::m_Contents, and T.

CMenuItem* CreateMenuItems ( const SMenuItemRec items)
template<typename CntType >
void CDensityMap< CntType >::ExtendTo ( TSeqPos  stop)

extend our density map to cover the sequence position stop.

can only be used to extend to the right, that is only Stop is affected, not Start.

Definition at line 417 of file density_map.hpp.

References GetStop().

template<typename T >
const T & CClipboard::Get ( void  ) const
inline

Definition at line 275 of file clipboard.hpp.

float CRgbaColor::GetAlpha ( void  ) const
inline
unsigned char CRgbaColor::GetAlphaUC ( void  ) const
inline
template<typename T >
const T & CClipboard::GetAt ( int  idx) const
inline

Definition at line 246 of file clipboard.hpp.

References eUnknown, CClipboard::m_Contents, NCBI_THROW, and T.

float CRgbaColor::GetBlue ( void  ) const
inline
unsigned char CRgbaColor::GetBlueUC ( void  ) const
inline
const float * CRgbaColor::GetColorArray ( void  ) const
inline
template<typename CntType >
TSeqPos CDensityMap< CntType >::GetDensityMap ( const objects::CBioseq_Handle &  handle,
TSeqPos  start,
TSeqPos  stop,
TSeqPos  window,
objects::SAnnotSelector  sel,
vector< TSeqPos > &  density 
)
static

OLD static method.

Use AddFeatures method instead. retrieve a density map. The return value is the maximum value in the density graph.

Definition at line 735 of file density_map.hpp.

References COpenRange< Position >::GetFrom(), COpenRange< Position >::GetTo(), max(), and NON_CONST_ITERATE.

const CEvent::TEventClass CEvent::GetEventClass ( void  ) const
inline

Definition at line 174 of file event.hpp.

References CEvent::m_Class.

Referenced by CEventHandler::OnEvent().

template<class I >
void GetExtensionAsInterface ( const string ext_point_id,
vector< CIRef< I > > &  interfaces 
)
template<class I >
void GetExtensionAsInterface ( const string ext_point_id,
vector< I * > &  interfaces 
)

GetExtensionAsInterface() is a helper function that extracts all extensions implementing the specified interface from the given extension point.

Definition at line 199 of file extension_impl.hpp.

References _ASSERT, _VERIFY, ERR_POST, CExtensionRegistry::GetInstance(), CRef< Interface, Locker >::GetPointer(), and i.

float CRgbaColor::GetGreen ( void  ) const
inline
unsigned char CRgbaColor::GetGreenUC ( void  ) const
inline
const CEvent::TEventID CEvent::GetID ( void  ) const
inline
TSeqPos C2DLayoutEngine::GetMinDist ( void  ) const
inline

access the minimum distance, in bases, that we permit between objects on a given row

Definition at line 310 of file layout.hpp.

References C2DLayoutEngine::m_MinDist.

template<typename T >
const T * CClipboard::GetPtr ( void  ) const
inline

Definition at line 282 of file clipboard.hpp.

template<typename T >
const T * CClipboard::GetPtrAt ( int  idx) const
inline

Definition at line 267 of file clipboard.hpp.

float CRgbaColor::GetRed ( void  ) const
inline
unsigned char CRgbaColor::GetRedUC ( void  ) const
inline
CVect4< unsigned char > CRgbaColor::GetRgbaUC ( )
inline
CVect3< unsigned char > CRgbaColor::GetRgbUC ( )
inline
const CEvent::TEventSender * CEvent::GetSender ( void  ) const
inline

Definition at line 181 of file event.hpp.

References CEvent::m_Sender.

template<typename CntType >
TSeqPos CDenMapRunIterator< CntType >::GetSeqPosition ( ) const
template<typename CntType >
TSeqPos CDenMapRunIterator< CntType >::GetSeqRunEndPosition ( ) const
template<typename CntType >
TSeqPos CDenMapRunIterator< CntType >::GetSeqRunLength ( ) const

Definition at line 181 of file density_map.hpp.

Referenced by CAlignSmearGlyph::x_Draw().

CEvent::TEventTypeInfo CEvent::GetTypeInfo ( void  )
inline

Definition at line 188 of file event.hpp.

Referenced by CEventHandler::OnEvent().

template<typename TInput , typename TOutput >
CJobAdapter* LaunchAdapterJob ( CJobAdapter::IJobCallback callback,
TInput &  input,
bool(*)(TInput &, TOutput &, string &, ICanceled &)  func,
const string name,
const string descr 
)
void NcbiErrorBox ( const string message,
const string title = "Error" 
)
int NcbiFileBrowser ( SFileDlgData data,
wxWindow *  parent = NULL 
)
int NcbiFileBrowser ( SWFileDlgData data,
wxWindow *  parent = NULL 
)
EDialogReturnValue NcbiInfoBox ( const string message,
const string title = "Info" 
)
EDialogReturnValue NcbiMessageBox ( const string message,
TDialogType  type = eDialog_Ok,
EDialogIcon  icon = eIcon_Exclamation,
const string title = "Error",
EDialogTextMode  text_mode = eRaw 
)

Definition at line 48 of file message_box.cpp.

References eCancel, eDialog_Ok, eDialog_OkCancel, eDialog_StyleMask, eDialog_YesNo, eDialog_YesNoCancel, eIcon_Exclamation, eIcon_Info, eIcon_Question, eIcon_Stop, eNo, eOK, eWrap, eYes, NStr::Join(), NULL, res, ToWxString(), and NStr::Wrap().

Referenced by CMiscSeqTable::ApplyTableToEntry(), COpenViewManager::DoTransition(), CRemoveSequencesDlg::GetCommand(), CSeqEditPackage::Init(), CLoadStructComments::LoadSingle(), NcbiErrorBox(), NcbiInfoBox(), NcbiWarningBox(), CSeqGraphicWidget::OnAddTrack(), CAlnMultiWidget::OnDSChanged(), CUpdateSeqAlignWidget::OnDSChanged(), CAuthorNamesPanel::OnImportAuthorsHyperlinkClicked(), CUpdateSeq_Dlg::OnJobFailed(), CMacroEditorPKG::OnLoadMacroClick(), CUpdateMultiSeq_Dlg::OnLoadMapClick(), CAlnMultiWidget::OnMakeSelectedRowMaster(), CUpdateMultiSeq_Dlg::OnMapSelectionClick(), CTaxTreeTestDlg::OnRelatedClick(), CSeqGraphicWidget::OnRemoveTrack(), CSeqGraphicWidget::OnRenameTrack(), CEditMacroDlg::OnRunClick(), CwxSavePdfBaseDlg::OnSaveClick(), CwxSavePdfDlg::OnSaveClick(), CSeqGraphicWidget::OnSeqGoto(), CLocalFileRestorer::RestoreFile(), CEditingBtnsPanel::RunMacro(), CEditingBtnsPanel::RunMacroWithReport(), CSeqUpdateWorker::UpdateMultipleSequences(), CSeqUpdateWorker::UpdateSingleSequence(), CLocalFileRestorer::x_AttachNewObject(), CSeqDesktopPanel::x_FindText(), CMacroEditingActionPanel::x_FindText(), CUpdateMultiSeq_Dlg::x_GenerateAlignments(), CmRNACDSLinker::x_LinkBasedOnGbQualifiers(), CUpdateSeq_Input::x_ReadAccession(), CUpdateAlign::x_ReadAlign(), CSeqGraphicWidget::x_RemoveAllMarkers(), CAlnMultiWidget::x_SetScoringMethod(), and CUpdateMultiSeq_Dlg::x_UpdateSelected().

EDialogReturnValue NcbiMessageBoxW ( const wxString &  message,
TDialogType  type = eDialog_Ok,
EDialogIcon  icon = eIcon_Exclamation,
const wxString &  title = wxT("Error"),
EDialogTextMode  text_mode = eRaw 
)
void NcbiWarningBox ( const string message,
const string title = "Warning" 
)
CRgbaColor operator* ( const CRgbaColor c1,
float  f 
)

multiply a color by a scalar

Definition at line 92 of file rgba_color.cpp.

References f(), CRgbaColor::GetAlpha(), CRgbaColor::GetBlue(), CRgbaColor::GetGreen(), and CRgbaColor::GetRed().

CRgbaColor operator+ ( const CRgbaColor c1,
const CRgbaColor c2 
)

add two colors

Definition at line 72 of file rgba_color.cpp.

References CRgbaColor::GetAlpha(), CRgbaColor::GetBlue(), CRgbaColor::GetGreen(), and CRgbaColor::GetRed().

bool operator< ( const CLayoutObject o1,
const CLayoutObject o2 
)
inline

Definition at line 176 of file layout.hpp.

References CLayoutObject::LessByPos().

bool operator< ( const CRgbaColor c1,
const CRgbaColor c2 
)

define a some-what arbitrary sort order based on brightness It does have the property of being equivalent to operator==, that is: ( ! a<b && ! b<a ) iff a == b

Definition at line 111 of file rgba_color.cpp.

References CRgbaColor::Brightness(), CRgbaColor::GetAlpha(), CRgbaColor::GetBlue(), CRgbaColor::GetGreen(), and CRgbaColor::GetRed().

CNcbiOstream& operator<< ( CNcbiOstream strm,
TFileType ftype 
)
CNcbiOstream& operator<< ( CNcbiOstream strm,
const CBBox< 3 > &  bb 
)
inline

Definition at line 184 of file bbox.hpp.

References bb.

template<typename CntType>
CDensityMap< CntType > & CDensityMap< CntType >::operator= ( const CDensityMap< CntType > &  map)
bool operator== ( const CRgbaColor c1,
const CRgbaColor c2 
)

global comparison operator

Definition at line 102 of file rgba_color.cpp.

References CRgbaColor::GetAlpha(), CRgbaColor::GetBlue(), CRgbaColor::GetGreen(), and CRgbaColor::GetRed().

template<typename T >
void CClipboard::Set ( const T val)
inline

Definition at line 185 of file clipboard.hpp.

References CClipboard::m_Contents, and CClipboard::x_AddValue().

template<typename InIt >
void CClipboard::Set ( InIt  first,
InIt  last 
)
inline

Definition at line 194 of file clipboard.hpp.

References CClipboard::m_Contents, and CClipboard::x_AddValue().

void CRgbaColor::SetAlpha ( unsigned char  r)
inline

Definition at line 309 of file rgba_color.hpp.

References CRgbaColor::m_Rgba.

void CRgbaColor::SetBlue ( unsigned char  r)
inline

Definition at line 302 of file rgba_color.hpp.

References CRgbaColor::m_Rgba.

void CRgbaColor::SetGreen ( unsigned char  r)
inline

Definition at line 295 of file rgba_color.hpp.

References CRgbaColor::m_Rgba.

void CGuiObjectInfoSeq_feat::SetLocation ( const objects::CSeq_loc &  loc)
inline
void C2DLayoutEngine::SetMinDist ( TSeqPos  dist)
inline

Definition at line 317 of file layout.hpp.

References C2DLayoutEngine::m_MinDist.

void CRgbaColor::SetRed ( unsigned char  r)
inline

Set specific channels from floating unsigned char values.

These are normalized internally to the range 0-1.

Definition at line 288 of file rgba_color.hpp.

References CRgbaColor::m_Rgba.

void C2DLayoutEngine::SetSideSpace ( TSeqPos  space)
inline

Definition at line 323 of file layout.hpp.

References C2DLayoutEngine::m_SideSpace.

void CGuiObjectInfoSeq_feat::SetTaxId ( int  tax_id)
inline

Definition at line 136 of file gui_object_info_seq_feat.hpp.

References CGuiObjectInfoSeq_feat::m_TaxId.

Referenced by CFeatGlyph::GetTooltip().

template<typename T >
void CClipboard::x_AddFlavor ( int  idx,
const T val 
)
inlineprotected
template<typename T >
size_t CClipboard::x_AddValue ( const T val)
inlineprotected

Definition at line 216 of file clipboard.hpp.

References CClipboard::x_AddValueEx().

Referenced by CClipboard::Add(), and CClipboard::Set().

template<>
size_t CClipboard::x_AddValue ( const string val)
inlineprotected

Definition at line 224 of file clipboard.hpp.

template<typename T >
size_t CClipboard::x_AddValueEx ( const T val)
inlineprotected

Definition at line 205 of file clipboard.hpp.

References CClipboard::m_Contents.

Referenced by CClipboard::x_AddFlavor(), and CClipboard::x_AddValue().

template<typename CntType >
CDenMapRunIterator< CntType >::position_type CDenMapRunIterator< CntType >::x_CalcRunLength ( ) const
private

Definition at line 189 of file density_map.hpp.

References i.

string CGuiObjectInfoSeq_feat::x_CreateLink ( const string label,
const string link 
) const
inlineprotected

Definition at line 143 of file gui_object_info_seq_feat.hpp.

template<typename T >
const T * CClipboard::x_GetValueAt ( int  idx) const
inlineprotected

Definition at line 292 of file clipboard.hpp.

References ITERATE, CClipboard::m_Contents, NULL, and T.

Modified on Wed Dec 13 16:25:57 2017 by modify_doxy.py rev. 546573