NCBI C++ ToolKit
Functions
url_tooltip_handler.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/widgets/seq_graphic/url_tooltip_handler.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <gui/utils/view_event.hpp>
#include <util/sequtil/sequtil_manip.hpp>
#include <wx/msgdlg.h>
#include <wx/app.h>
#include "unaligned_region_dlg.hpp"
+ Include dependency graph for url_tooltip_handler.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 USING_SCOPE (objects)
 
const TSignedSeqPos basesThreshold (30000)
 
const TSignedSeqPos offset (200)
 
string GetParamValue (const string &href, const string &name)
 ! this needs to be fixed, as of now this is grossly incorrect ! e.g., a call to GetParamValue("https://www.ncbi.nlm.nih.gov?id=NC_000007.13&v=94292473:94292473&mk=94292473|rs1272819133|008000", "v") returns ! "?id=NC_000007.13" instead of the expected "94292473:94292473" ! luckily, no such calls below so far, but the potential bomb exists More...
 

Function Documentation

◆ basesThreshold()

const TSignedSeqPos basesThreshold ( 30000  )

◆ GetParamValue()

string GetParamValue ( const string href,
const string name 
)

! this needs to be fixed, as of now this is grossly incorrect ! e.g., a call to GetParamValue("https://www.ncbi.nlm.nih.gov?id=NC_000007.13&v=94292473:94292473&mk=94292473|rs1272819133|008000", "v") returns ! "?id=NC_000007.13" instead of the expected "94292473:94292473" ! luckily, no such calls below so far, but the potential bomb exists

Definition at line 55 of file url_tooltip_handler.cpp.

References string.

Referenced by CURLTooltipHandler::x_ParseGenomicLinkHref(), and CURLTooltipHandler::x_ParseUnalignedRegionHref().

◆ offset()

const TSignedSeqPos offset ( 200  )

◆ USING_SCOPE()

USING_SCOPE ( objects  )
Modified on Wed Apr 17 13:08:57 2024 by modify_doxy.py rev. 669887