NCBI C++ ToolKit
|
Search Toolkit Book for CTempTrackProxy
File Description: More...
#include <gui/widgets/seq_graphic/layout_track_proxy.hpp>
Public Types | |
enum | EAction { eNone , eMakeVisible , eHide } |
typedef list< CRef< CTempTrackProxy > > | TTrackProxies |
typedef vector< string > | TSubTracks |
typedef vector< string > | TAnnots |
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... | |
Static Public Member Functions | |
static void | LoadFromRegistry (TTrackProxies &proxies, const string &path, bool isMergeWithExisting=false) |
if isMergeWithExisting is true, then load should skip all registry tracks that have keys as in the already existing proxies More... | |
static void | SaveToRegistry (const TTrackProxies &proxies, const string &path) |
static void | ParseSubtracks (const string &subtracks_str, TSubTracks &subtracks) |
convert a string with a list of subtracks to a list of subtracks More... | |
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) |
Static Public Attributes | |
static const string | kAnonTrackName = "SV-Anon" |
CTempTrackProxy class implementation. More... | |
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... | |
Private Attributes | |
int | m_Order = -1 |
track order for vertical ordering in its parent scope. More... | |
string | m_Name |
track name, may serve as track title. More... | |
string | m_Id |
unique track identifier. More... | |
string | m_DispName |
track display name. More... | |
string | m_Profile |
track profile (setting style or list of settings). More... | |
string | m_Source |
data source. More... | |
string | m_Category |
track category. More... | |
string | m_Subcategory |
track sub-category. More... | |
string | m_SettingGroup |
setting group name. More... | |
bool | m_UseGroupDefault = false |
flag indicating if group default setting applies. More... | |
string | m_Filter |
track-specific filter More... | |
string | m_SortBy |
track-specific sortby More... | |
TTrackProxies | m_Children |
settings for children tracks. More... | |
CRef< CLayoutTrack > | m_Track |
the delegated layout track object. More... | |
bool | m_Shown = true |
track on/off state. More... | |
string | m_Help |
track help string More... | |
bool | m_Expanded = true |
track expanded/collapsed. More... | |
bool | m_Realized = true |
Has this been connected to any real track before. More... | |
bool | m_Empty = false |
The track proxy is empty. More... | |
TSeqRange | m_VisitedRange |
The sequence range visited so far. More... | |
string | m_Comments |
string | m_Highlights |
string | m_HighlightsColor |
Color to use for highlighting. More... | |
bool | m_ShowTitle = true |
TTrackErrorStatus | m_ErrorStatus |
bool | m_isPrivate = false |
string | m_StoredScale |
string | m_UId |
TSubTracks | m_SubTracks |
string | m_Key |
may be used for creating a track More... | |
string | m_Subkey |
may be used for creating DataSource More... | |
TAnnots | m_Annots |
can be 'Unnamed', 'Named', or annot names More... | |
EAction | m_Action = eNone |
time_t | m_TimeStamp = -1 |
CRef< CAnnotMetaData > | m_NAdata |
string | m_Batch |
AlignDb batch. More... | |
string | m_RemotePath |
Track remote path. More... | |
string | m_sExtraInfo |
extra information potentially needed to create the track More... | |
string | m_RemoteData |
string | m_RemoteId |
string | m_SeqDataKey |
string | m_BigDataIndex |
The location of a remote data file containing the index. More... | |
string | m_HubId |
set< string > | m_Options2Hide |
set< string > | m_Options2Show |
Additional Inherited Members | |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Protected Member Functions inherited from CWeakObject | |
void | CleanWeakRefs (void) const |
Method cleaning all CWeakRefs referencing at this moment to the object After calling to this method all existing CWeakRefs referencing to the object will return NULL, so it effectively will be equal to deleting the object. More... | |
File Description:
CTempTrackProxy data structure for storing information about tracks status and the layout of the tracks (both position and hierarchy). The stored status includes track order and a flag indicating weather a track is shown. For a given track type, there might be more than one data track get created after loading the data. So, the track status for those data source dependent temporary tracks will also be stored.
Definition at line 53 of file layout_track_proxy.hpp.
typedef vector<string> CTempTrackProxy::TAnnots |
Definition at line 228 of file layout_track_proxy.hpp.
typedef vector<string> CTempTrackProxy::TSubTracks |
Definition at line 58 of file layout_track_proxy.hpp.
typedef list< CRef<CTempTrackProxy> > CTempTrackProxy::TTrackProxies |
Definition at line 57 of file layout_track_proxy.hpp.
Enumerator | |
---|---|
eNone | |
eMakeVisible | |
eHide |
Definition at line 209 of file layout_track_proxy.hpp.
|
inline |
Definition at line 61 of file layout_track_proxy.hpp.
Referenced by AddTempTrack(), and Clone().
|
inline |
Definition at line 63 of file layout_track_proxy.hpp.
CTempTrackProxy::CTempTrackProxy | ( | const CTempTrackProxy & | param | ) |
copy constructor.
Definition at line 50 of file layout_track_proxy.cpp.
References GetChildren(), ITERATE, and m_Children.
CRef< CTempTrackProxy > CTempTrackProxy::AddTempTrack | ( | const string & | name, |
const string & | filter, | ||
const string & | title | ||
) |
add a new template track params with a filter set
Definition at line 171 of file layout_track_proxy.cpp.
References AddTempTrack(), and SetFilter().
add a new template track params.
The order will be initialized based on maximal track order used
Definition at line 152 of file layout_track_proxy.cpp.
References CTempTrackProxy(), GetCategory(), GetErrorStatus(), GetFilter(), GetSortBy(), GetSubcategory(), GetTrackProfile(), m_Children, SetCategory(), SetDisplayName(), SetErrorStatus(), SetFilter(), SetOrder(), SetRealized(), SetSortBy(), SetSubcategory(), and SetTrackProfile().
Referenced by AddTempTrack(), GetChildTempTrack(), and CTrackContainer::x_ReinitNATrack().
|
virtual |
Reimplemented in CTrackProxy.
Definition at line 145 of file layout_track_proxy.cpp.
References CTempTrackProxy().
Referenced by CTrackContainer::CloneTrack(), and CGraphOverlay::Drop().
|
inline |
Definition at line 217 of file layout_track_proxy.hpp.
References m_Action.
Definition at line 229 of file layout_track_proxy.hpp.
References m_Annots.
Referenced by CTrackContainer::AddTracks(), CTrackConfigManager::AdjustTrackOrder(), CTrackConfigManager::CreateDisplayName(), CGraphTrack::CreateOverlay(), CTrackConfigManager::CTrackIndex::CTrackIndex(), CTrackContainer::LoadNATracks(), CTrackConfigManager::OnShownList(), s_TrackMatch(), SaveToRegistry(), CGraphOverlay::UpdateSource(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
Definition at line 707 of file layout_track_proxy.hpp.
References m_Batch.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 769 of file layout_track_proxy.hpp.
References m_BigDataIndex.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 565 of file layout_track_proxy.hpp.
References m_Category.
Referenced by AddTempTrack(), CTrackContainer::AddTracks(), CTrackConfigManager::CreateTrackConfig(), operator=(), CTrackInitializationJob::Run(), SaveToRegistry(), and CTrackContainer::x_ConvertToContainer().
|
inline |
Definition at line 149 of file layout_track_proxy.hpp.
References m_Children.
|
inline |
Definition at line 148 of file layout_track_proxy.hpp.
References m_Children.
Referenced by CGraphTrack::CreateOverlay(), CTempTrackProxy(), CGraphOverlay::Drop(), CAllOtherFeaturesTrackFactory::GetSettings(), CGraphOverlay::MoveTrackOut(), operator=(), CTrackInitializationJob::Run(), s_LoadTempTrackRecursive(), SaveToRegistry(), CTrackContainer::ShowAll(), CGraphOverlay::UpdateSource(), CFeaturePanel::x_ConfigureSubtracks_Recursive(), CTrackContainer::x_OnJobCompleted(), CGraphTrack::x_OnSettingsIconClicked(), and CTrackContainer::x_ReinitNATrack().
CRef< CTempTrackProxy > CTempTrackProxy::GetChildTempTrack | ( | const string & | name | ) |
Definition at line 200 of file layout_track_proxy.cpp.
References AddTempTrack(), GetTrackProfile(), m_Children, m_Filter, m_SortBy, NON_CONST_ITERATE, NStr::ReplaceInPlace(), and SetSource().
CConstRef< CTempTrackProxy > CTempTrackProxy::GetChildTempTrack | ( | const string & | name | ) | const |
Get track params for child temporary track.
Definition at line 186 of file layout_track_proxy.cpp.
References ITERATE, m_Children, and NStr::ReplaceInPlace().
Referenced by CTrackContainer::AddTracks(), SaveToRegistry(), CTrackContainer::SyncSettings(), and CTrackContainer::x_ConvertToContainer().
Definition at line 621 of file layout_track_proxy.hpp.
References m_Comments.
Referenced by CTrackConfigManager::CreateTrackConfig(), and CTrackContainer::x_AddSubtrack().
Definition at line 478 of file layout_track_proxy.hpp.
References m_DispName.
Referenced by CTrackContainer::AddTracks(), CTrackConfigManager::CreateDisplayName(), operator=(), s_GetBestTrackTitle(), s_UpdateTitle(), SaveToRegistry(), and CTrackContainer::x_ConvertToContainer().
|
inline |
Definition at line 660 of file layout_track_proxy.hpp.
References m_ErrorStatus.
Referenced by AddTempTrack().
|
inline |
Definition at line 510 of file layout_track_proxy.hpp.
References CLayoutTrack::IsExpanded(), m_Expanded, and m_Track.
Referenced by operator=(), and SaveToRegistry().
Definition at line 715 of file layout_track_proxy.hpp.
References m_sExtraInfo.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 593 of file layout_track_proxy.hpp.
References m_Filter.
Referenced by AddTempTrack(), CTrackContainer::AddTracks(), CTrackConfigManager::CreateTrackConfig(), CTrackContainer::LoadNATracks(), s_TrackMatch(), SaveToRegistry(), CTrackContainer::SyncSettings(), CTrackContainer::x_ConvertToContainer(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
Definition at line 494 of file layout_track_proxy.hpp.
References m_Help.
Referenced by CTrackConfigManager::CreateTrackConfig(), and SaveToRegistry().
Definition at line 629 of file layout_track_proxy.hpp.
References m_Highlights.
Referenced by CTrackConfigManager::CreateTrackConfig(), and CTrackContainer::x_AddSubtrack().
Definition at line 639 of file layout_track_proxy.hpp.
References m_HighlightsColor.
Referenced by CTrackConfigManager::CreateTrackConfig(), and CTrackContainer::x_AddSubtrack().
Definition at line 781 of file layout_track_proxy.hpp.
References m_HubId.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 474 of file layout_track_proxy.hpp.
References m_Id.
Referenced by CTrackConfigManager::CreateDisplayName(), CGraphTrack::CreateOverlay(), CTrackConfigManager::CreateTrackConfig(), CTrackConfigManager::CTrackIndex::CTrackIndex(), operator=(), and s_TrackMatch().
|
inline |
Definition at line 670 of file layout_track_proxy.hpp.
References m_isPrivate.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 222 of file layout_track_proxy.hpp.
References m_Key.
Referenced by CTrackContainer::AddTracks(), CGraphTrack::CreateOverlay(), CTrackContainer::LoadNATracks(), CTrackContainer::RemoveEmptyTracks(), s_ResolveSubTracks(), s_TrackMatch(), SaveToRegistry(), CFeaturePanel::ShowTrack(), CFeaturePanel::x_ConfigureSubtracks(), CSeqGraphicWidget::x_CreatePopupMenu(), CAllOtherFeaturesTrack::x_ReinitFeatureTrack(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
|
inline |
Definition at line 237 of file layout_track_proxy.hpp.
References CRef< C, Locker >::GetPointerOrNull(), and m_NAdata.
Referenced by UpdateNA_ChildVisibility().
Definition at line 85 of file layout_track_proxy.hpp.
References m_Name.
Referenced by CTrackContainer::AddTracks(), CTrackContainer::CloneTrack(), CTrackConfigManager::CreateTrackConfig(), CAllOtherFeaturesTrackFactory::GetSettings(), CTrackContainer::LoadNATracks(), operator=(), CTrackInitializationJob::Run(), s_InitTrackFromSettings(), s_StabilizeBaseContainers(), s_TrackMatch(), SaveToRegistry(), CTrackContainer::SyncSettings(), CTrackContainer::x_ConvertToContainer(), CTrackContainer::x_OnJobCompleted(), CAllOtherFeaturesTrack::x_ReinitFeatureTrack(), and CTrackContainer::x_ReinitTrack().
Definition at line 793 of file layout_track_proxy.hpp.
References m_Options2Hide.
Referenced by s_ProcessOptionalSettings().
Definition at line 805 of file layout_track_proxy.hpp.
References m_Options2Show.
Referenced by s_ProcessOptionalSettings().
|
inline |
Definition at line 458 of file layout_track_proxy.hpp.
References Error(), CLayoutTrack::GetFullTitle(), CLayoutTrack::GetOrder(), LOG_POST, m_Order, and m_Track.
Referenced by CTrackContainer::AddTrackProxy(), CTrackConfigManager::AlignTrackConfig(), CGraphTrack::CreateOverlay(), CTrackConfigManager::CreateTrackConfig(), CGraphOverlay::Drop(), CTrackContainer::OnMenuToggleTrack(), CTrackContainer::OnMenuTrackSettings(), CTrackContainer::OnToggleTrack(), operator<(), operator=(), CTrackProxy::STPSorterByOrder::s_CompareCRefs(), s_InitTrackFromSettings(), s_StabilizeBaseContainers(), SaveToRegistry(), CTrackContainer::SyncSettings(), CTrackContainer::x_AddSubtrack(), and CSeqGraphicWidget::x_CreatePopupMenu().
Definition at line 678 of file layout_track_proxy.hpp.
References m_RemoteData.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 688 of file layout_track_proxy.hpp.
References m_RemoteId.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 725 of file layout_track_proxy.hpp.
References m_RemotePath.
Referenced by CTrackContainer::LoadNATracks(), and CTrackContainer::x_ReinitTrack().
Definition at line 699 of file layout_track_proxy.hpp.
References m_SeqDataKey.
Referenced by CTrackConfigManager::CreateTrackConfig().
Definition at line 581 of file layout_track_proxy.hpp.
References m_SettingGroup.
Referenced by CTrackConfigManager::CreateTrackConfig(), operator=(), and SaveToRegistry().
|
inline |
Definition at line 490 of file layout_track_proxy.hpp.
References CLayoutTrack::IsOn(), m_Shown, and m_Track.
Referenced by CTrackContainer::AddTracks(), CTrackConfigManager::AlignTrackConfig(), CTrackConfigManager::CreateTrackConfig(), CAllOtherFeaturesTrackFactory::GetSettings(), CTrackConfigManager::OnShownList(), CTrackContainer::OnToggleTrack(), operator=(), SaveToRegistry(), CTrackContainer::ShowAll(), CTrackContainer::SyncSettings(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitSubtracks().
|
inline |
Definition at line 649 of file layout_track_proxy.hpp.
References m_ShowTitle.
Referenced by CTrackConfigManager::CreateTrackConfig(), and CTrackContainer::x_AddSubtrack().
Definition at line 601 of file layout_track_proxy.hpp.
References m_SortBy.
Referenced by AddTempTrack(), CTrackConfigManager::CreateTrackConfig(), CAlignmentTrackFactory::GetSettings(), CVcfTrackFactory::GetSettings(), CTrackContainer::LoadNATracks(), SaveToRegistry(), CFeatureTrackFactory::x_GetSettings(), CVarTrackFactory::x_GetSettings(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
Definition at line 557 of file layout_track_proxy.hpp.
References m_Source.
Referenced by CTrackContainer::AddTracks(), CTrackContainer::CloneTrack(), CTrackConfigManager::CreateDisplayName(), CTrackConfigManager::CreateTrackConfig(), CGraphTrack::GetLegend(), CSnpTrackFactory::GetSettings(), CAllOtherFeaturesTrackFactory::GetSettings(), CVarTrackFactory::GetSettings(), CTrackContainer::OnToggleTrack(), operator=(), CTrackInitializationJob::Run(), s_ResolveSubTracks(), SaveToRegistry(), CTrackContainer::SyncSettings(), and CTrackContainer::x_ConvertToContainer().
Definition at line 735 of file layout_track_proxy.hpp.
References m_StoredScale.
Referenced by CTrackConfigManager::CreateTrackConfig(), CGraphOverlayFactory::GetSettings(), CGraphTrackFactory::GetSettings(), and CTrackContainer::x_AddSubtrack().
Definition at line 573 of file layout_track_proxy.hpp.
References m_Subcategory.
Referenced by AddTempTrack(), CTrackConfigManager::CreateTrackConfig(), operator=(), CTrackInitializationJob::Run(), and SaveToRegistry().
Definition at line 225 of file layout_track_proxy.hpp.
References m_Subkey.
Referenced by CTrackConfigManager::CreateTrackConfig(), CFeatureTrackFactory::GetSettings(), CTrackContainer::LoadNATracks(), s_TrackMatch(), SaveToRegistry(), CAllOtherFeaturesTrack::x_ReinitFeatureTrack(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
|
inline |
Definition at line 751 of file layout_track_proxy.hpp.
References m_SubTracks.
Referenced by CGraphTrack::CreateOverlay(), CTrackConfigManager::CreateTrackConfig(), CTrackContainer::LoadNATracks(), and CTrackContainer::x_ReinitTrack().
|
inline |
Definition at line 220 of file layout_track_proxy.hpp.
References m_TimeStamp.
Referenced by SaveToRegistry().
|
inline |
Definition at line 533 of file layout_track_proxy.hpp.
References m_Track.
|
inline |
Definition at line 529 of file layout_track_proxy.hpp.
References CRef< C, Locker >::GetPointer(), and m_Track.
Referenced by CTrackContainer::AddTrackProxy(), CTrackContainer::AddTracks(), CTrackConfigManager::AdjustTrackOrder(), CTrackContainer::CloneTrack(), CTrackConfigManager::CreateTrackConfig(), CAllOtherFeaturesTrackFactory::GetSettings(), CSequenceTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), CTrackContainer::LoadNATracks(), CGraphOverlay::MoveTrackOut(), CTrackContainer::OnToggleTrack(), CTrackContainer::RemoveEmptyTracks(), CTrackContainer::ShowAll(), CTrackContainer::x_ConvertToContainer(), CGraphTrack::x_OnSettingsIconClicked(), CTrackContainer::x_ReinitNATrack(), and CTrackContainer::x_ReinitTrack().
Definition at line 545 of file layout_track_proxy.hpp.
References CLayoutTrack::GetProfile(), m_Profile, and m_Track.
Referenced by AddTempTrack(), CTrackContainer::AddTracks(), CTrackConfigManager::CreateTrackConfig(), GetChildTempTrack(), CGraphTrack::GetLegend(), operator=(), CTrackInitializationJob::Run(), SaveToRegistry(), CTrackContainer::x_AddSubtrack(), and CTrackContainer::x_ConvertToContainer().
Definition at line 745 of file layout_track_proxy.hpp.
References m_UId.
Referenced by CTrackConfigManager::CreateTrackConfig(), and CTrackConfigManager::CTrackIndex::CTrackIndex().
|
inline |
Definition at line 589 of file layout_track_proxy.hpp.
References m_UseGroupDefault.
Referenced by operator=().
Definition at line 613 of file layout_track_proxy.hpp.
References m_VisitedRange.
Referenced by CTrackContainer::NoSubtrackEver(), CTrackContainer::RemoveEmptyTracks(), CTrackContainer::x_OnJobCompleted(), and CTrackContainer::x_ReinitTrack().
|
inline |
Definition at line 146 of file layout_track_proxy.hpp.
References m_Empty.
bool CTempTrackProxy::IsExtendedNA | ( | ) | const |
check for an extended NA (named annotation::number, as used in e.g. SNP2)
Definition at line 238 of file layout_track_proxy.cpp.
References CSeqUtils::IsExtendedNAA(), and m_Source.
bool CTempTrackProxy::IsNA | ( | ) | const |
Definition at line 230 of file layout_track_proxy.cpp.
References CSeqUtils::IsNAA(), and m_Source.
Referenced by CTrackContainer::OnToggleTrack(), s_UpdateTitle(), and CTrackContainer::x_ConvertToContainer().
|
inline |
Definition at line 143 of file layout_track_proxy.hpp.
References m_Realized.
Referenced by operator=(), and SaveToRegistry().
|
inlinevirtual |
check if this is a temporary track.
Reimplemented in CTrackProxy.
Definition at line 79 of file layout_track_proxy.hpp.
Referenced by CTrackContainer::CloneTrack().
|
static |
if isMergeWithExisting is true, then load should skip all registry tracks that have keys as in the already existing proxies
Definition at line 349 of file layout_track_proxy.cpp.
References CRegistryReadView::GetBool(), CGuiRegistry::GetInstance(), CRegistryReadView::GetInt(), CRef< C, Locker >::GetPointer(), CRegistryReadView::GetString(), CRegistryReadView::GetTopKeys(), ITERATE, k_annot_separation, k_annots, k_category, k_db, k_display_name, k_expanded, k_filter, k_help, k_id, k_key, k_order, k_setting_group, k_shown, k_sortby, k_subcategory, k_subkey, k_subtracks, k_time_stamp, k_track_profile, CGuiRegistry::kDecimalDot, kEmptyStr, ncbi::grid::netcache::search::fields::key, NULL, ParseSubtracks(), registry, CTrackProxy::STPSorterByOrder::s_CompareCRefs(), s_LoadTempTrackRecursive(), NStr::Split(), NStr::StringToBool(), CTrackUtils::TokenizeWithEscape(), and NStr::TruncateSpaces().
Referenced by CFeaturePanel::x_LoadSettings().
|
inline |
compare operator used by sorting algorithms.
Definition at line 549 of file layout_track_proxy.hpp.
References GetOrder(), and m_Order.
CTempTrackProxy & CTempTrackProxy::operator= | ( | const CTempTrackProxy & | param | ) |
assignment operator.
Definition at line 95 of file layout_track_proxy.cpp.
References GetCategory(), GetChildren(), GetDisplayName(), GetExpanded(), GetId(), GetName(), GetOrder(), GetSettingGroup(), GetShown(), GetSource(), GetSubcategory(), GetTrackProfile(), GetUseGroupDefault(), IsRealized(), ITERATE, m_Action, m_Annots, m_Batch, m_BigDataIndex, m_Category, m_Children, m_Comments, m_DispName, m_Empty, m_ErrorStatus, m_Expanded, m_Filter, m_Help, m_Highlights, m_HighlightsColor, m_Id, m_isPrivate, m_Key, m_Name, m_Order, m_Profile, m_Realized, m_RemoteData, m_RemotePath, m_SeqDataKey, m_SettingGroup, m_Shown, m_ShowTitle, m_SortBy, m_Source, m_StoredScale, m_Subcategory, m_Subkey, m_SubTracks, m_TimeStamp, m_Track, m_UId, m_UseGroupDefault, and NULL.
Referenced by CTrackProxy::operator=().
|
static |
convert a string with a list of subtracks to a list of subtracks
Definition at line 583 of file layout_track_proxy.cpp.
References NStr::Split().
Referenced by LoadFromRegistry().
|
static |
Definition at line 432 of file layout_track_proxy.cpp.
References CSeqUtils::eAnnot_All, GetAnnots(), GetCategory(), GetChildren(), GetChildTempTrack(), CTrackProxy::GetContShown(), GetDisplayName(), GetExpanded(), GetFilter(), GetHelp(), CGuiRegistry::GetInstance(), GetKey(), GetName(), GetOrder(), CConstRef< C, Locker >::GetPointer(), GetSettingGroup(), GetShown(), GetSortBy(), GetSource(), GetSubcategory(), GetSubkey(), GetTimeStamp(), GetTrackProfile(), CSeqUtils::GetUnnamedAnnot(), IsRealized(), ITERATE, k_annots, k_category, k_display_name, k_expanded, k_filter, k_help, k_key, k_order, k_setting_group, k_shown, k_sortby, k_subcategory, k_subkey, k_time_stamp, k_track_profile, CGuiRegistry::kDecimalDot, kEmptyStr, ncbi::grid::netcache::search::fields::key, CSeqUtils::NameTypeValueToStr(), registry, CRegistryWriteView::Set(), and SetTrackProfile().
Referenced by CFeaturePanel::x_SaveSettings().
|
inline |
Definition at line 216 of file layout_track_proxy.hpp.
References m_Action.
Referenced by CConfigureTracksDlg::OnOkClick().
Definition at line 230 of file layout_track_proxy.hpp.
References m_Annots.
Referenced by CTrackContainer::AddNewTrack(), CTrackContainer::CloneTrack(), CGraphTrack::CreateOverlay(), and s_InitTrackFromSettings().
Definition at line 703 of file layout_track_proxy.hpp.
References m_Batch.
Referenced by s_InitTrackFromSettings().
Definition at line 763 of file layout_track_proxy.hpp.
References m_BigDataIndex.
Referenced by s_InitTrackFromSettings().
Definition at line 561 of file layout_track_proxy.hpp.
References m_Category.
Referenced by AddTempTrack(), s_InitTrackFromSettings(), s_LoadTempTrackRecursive(), and CFeaturePanel::SetNonAsnInput().
Definition at line 617 of file layout_track_proxy.hpp.
References m_Comments.
Referenced by s_InitTrackFromSettings().
Definition at line 482 of file layout_track_proxy.hpp.
References m_DispName.
Referenced by CTrackContainer::AddNewTrack(), AddTempTrack(), CTrackContainer::CloneTrack(), s_InitTrackFromSettings(), s_LoadTempTrackRecursive(), s_UpdateTitle(), and SetNAdata().
|
inline |
Definition at line 145 of file layout_track_proxy.hpp.
Referenced by CTrackContainer::x_ConvertToContainer().
|
inline |
Definition at line 653 of file layout_track_proxy.hpp.
References m_ErrorStatus, m_Track, and CLayoutTrack::SetErrorStatus().
Referenced by AddTempTrack(), and s_InitTrackFromSettings().
|
inline |
Definition at line 506 of file layout_track_proxy.hpp.
References f, and m_Expanded.
Referenced by CTrackContainer::CloneTrack(), and s_LoadTempTrackRecursive().
Definition at line 711 of file layout_track_proxy.hpp.
References m_sExtraInfo.
Referenced by s_InitTrackFromSettings().
Definition at line 597 of file layout_track_proxy.hpp.
References m_Filter.
Referenced by CTrackContainer::AddNewTrack(), AddTempTrack(), CTrackContainer::AddTracks(), and s_InitTrackFromSettings().
Definition at line 500 of file layout_track_proxy.hpp.
References help(), and m_Help.
Referenced by s_InitTrackFromSettings(), and s_LoadTempTrackRecursive().
Definition at line 625 of file layout_track_proxy.hpp.
References m_Highlights.
Referenced by s_InitTrackFromSettings().
Definition at line 633 of file layout_track_proxy.hpp.
References m_HighlightsColor.
Referenced by s_InitTrackFromSettings().
Definition at line 775 of file layout_track_proxy.hpp.
References m_HubId.
Referenced by s_InitTrackFromSettings().
Definition at line 467 of file layout_track_proxy.hpp.
References m_Id, m_Track, and CLayoutTrack::SetId().
Referenced by s_InitTrackFromSettings().
|
inline |
Definition at line 666 of file layout_track_proxy.hpp.
References m_isPrivate.
Referenced by s_InitTrackFromSettings().
Definition at line 223 of file layout_track_proxy.hpp.
References ncbi::grid::netcache::search::fields::key, and m_Key.
Referenced by CFeatureTrackFactory::CloneTrack(), CTrackContainer::CloneTrack(), CAllOtherFeaturesTrack::ReinitNASubtracks(), s_InitTrackFromSettings(), and CAllOtherFeaturesTrack::x_ReinitSubtracks().
void CTempTrackProxy::SetNAdata | ( | CAnnotMetaData & | na | ) |
Definition at line 243 of file layout_track_proxy.cpp.
References m_NAdata, CAnnotMetaData::m_Name, CAnnotMetaData::m_SubCategory, CAnnotMetaData::m_Title, CRef< C, Locker >::Reset(), SetDisplayName(), SetSource(), and SetSubcategory().
Referenced by CTrackContainer::x_ReinitNATrack().
Definition at line 86 of file layout_track_proxy.hpp.
References m_Name.
Referenced by CTrackContainer::CloneTrack(), s_InitTrackFromSettings(), and s_LoadTempTrackRecursive().
Definition at line 787 of file layout_track_proxy.hpp.
References m_Options2Hide.
Referenced by s_InitTrackFromSettings().
Definition at line 799 of file layout_track_proxy.hpp.
References m_Options2Show.
Referenced by s_InitTrackFromSettings().
|
inline |
CTempTrackProxy class implementation.
Definition at line 451 of file layout_track_proxy.hpp.
References m_Order, m_Track, and CLayoutTrack::SetOrder().
Referenced by AddTempTrack(), CTrackContainer::CloneTrack(), CGraphTrack::CreateOverlay(), CGraphOverlay::Drop(), s_InitTrackFromSettings(), and s_LoadTempTrackRecursive().
|
inline |
Definition at line 142 of file layout_track_proxy.hpp.
References f, and m_Realized.
Referenced by AddTempTrack(), and CTrackContainer::x_OnJobCompleted().
Definition at line 674 of file layout_track_proxy.hpp.
References m_RemoteData.
Referenced by s_InitTrackFromSettings().
Definition at line 682 of file layout_track_proxy.hpp.
References m_RemoteId.
Referenced by s_InitTrackFromSettings().
Definition at line 719 of file layout_track_proxy.hpp.
References m_RemotePath.
Referenced by s_InitTrackFromSettings().
Definition at line 695 of file layout_track_proxy.hpp.
References m_SeqDataKey.
Referenced by s_InitTrackFromSettings().
Definition at line 577 of file layout_track_proxy.hpp.
References m_SettingGroup.
Referenced by s_InitTrackFromSettings(), and s_LoadTempTrackRecursive().
|
inline |
Definition at line 486 of file layout_track_proxy.hpp.
References m_Shown.
Referenced by CTrackContainer::AddTracks(), CTrackContainer::OnToggleTrack(), s_InitTrackFromSettings(), s_LoadTempTrackRecursive(), s_ResolveSubTracks(), CTrackContainer::ShowAll(), CFeaturePanel::ShowTrack(), CTrackContainer::SyncSettings(), UpdateNA_ChildVisibility(), CTrackContainer::x_ConvertToContainer(), and CTrackContainer::x_ReinitNATrack().
|
inline |
Definition at line 645 of file layout_track_proxy.hpp.
References m_ShowTitle.
Referenced by s_InitTrackFromSettings().
Definition at line 605 of file layout_track_proxy.hpp.
References m_SortBy.
Referenced by AddTempTrack(), and s_InitTrackFromSettings().
Definition at line 553 of file layout_track_proxy.hpp.
References m_Source.
Referenced by CTrackContainer::AddTracks(), GetChildTempTrack(), s_LoadTempTrackRecursive(), s_ResolveSubTracks(), SetNAdata(), and CGraphOverlay::UpdateSource().
Definition at line 731 of file layout_track_proxy.hpp.
References m_StoredScale.
Referenced by s_InitTrackFromSettings().
Definition at line 569 of file layout_track_proxy.hpp.
References m_Subcategory.
Referenced by AddTempTrack(), s_InitTrackFromSettings(), s_LoadTempTrackRecursive(), and SetNAdata().
Definition at line 226 of file layout_track_proxy.hpp.
References m_Subkey.
Referenced by CFeatureTrackFactory::CloneTrack(), CAllOtherFeaturesTrack::ReinitNASubtracks(), s_InitTrackFromSettings(), and CAllOtherFeaturesTrack::x_ReinitSubtracks().
|
inline |
Definition at line 757 of file layout_track_proxy.hpp.
References m_SubTracks.
Referenced by CGraphTrack::CreateOverlay(), and s_InitTrackFromSettings().
|
inline |
Definition at line 219 of file layout_track_proxy.hpp.
References m_TimeStamp.
Referenced by s_LoadTempTrackRecursive().
|
inline |
Associated any track already?.
Definition at line 514 of file layout_track_proxy.hpp.
References m_ErrorStatus, m_Expanded, m_Id, m_Order, m_Profile, m_Realized, m_Shown, m_Track, CRef< C, Locker >::Reset(), CLayoutTrack::SetErrorStatus(), CLayoutTrack::SetExpanded(), CLayoutTrack::SetId(), CLayoutTrack::SetOrder(), CLayoutTrack::SetProfile(), and CLayoutTrack::SetShow().
Referenced by CTrackConfigManager::CreateTrackConfig(), and CTrackContainer::x_AddSubtrack().
Definition at line 541 of file layout_track_proxy.hpp.
References m_Profile.
Referenced by AddTempTrack(), CTrackContainer::AddTracks(), s_InitTrackFromSettings(), s_LoadTempTrackRecursive(), SaveToRegistry(), and CTrackContainer::x_ConvertToContainer().
Definition at line 739 of file layout_track_proxy.hpp.
References m_UId.
Referenced by s_InitTrackFromSettings(), and s_ResolveSubTracks().
|
inline |
Definition at line 585 of file layout_track_proxy.hpp.
References m_UseGroupDefault.
Referenced by s_InitTrackFromSettings(), and s_LoadTempTrackRecursive().
Definition at line 609 of file layout_track_proxy.hpp.
References m_VisitedRange, and compile_time_bits::range().
Referenced by CTrackContainer::x_OnJobCompleted().
|
inline |
Definition at line 537 of file layout_track_proxy.hpp.
References CRef< C, Locker >::IsNull(), and m_Track.
void CTempTrackProxy::UpdateNA_ChildVisibility | ( | CTempTrackProxy & | child | ) | const |
Definition at line 254 of file layout_track_proxy.cpp.
References GetNAdata(), m_Annots, CAnnotMetaData::m_Name, and SetShown().
Referenced by CTrackContainer::AddTracks().
CTempTrackProxy class implementation.
Definition at line 59 of file layout_track_proxy.hpp.
Referenced by CTrackConfigManager::CreateDisplayName().
Definition at line 360 of file layout_track_proxy.hpp.
Referenced by GetAction(), operator=(), and SetAction().
|
private |
can be 'Unnamed', 'Named', or annot names
Definition at line 358 of file layout_track_proxy.hpp.
Referenced by GetAnnots(), operator=(), SetAnnots(), and UpdateNA_ChildVisibility().
|
private |
AlignDb batch.
Definition at line 363 of file layout_track_proxy.hpp.
Referenced by GetBatch(), operator=(), and SetBatch().
|
private |
The location of a remote data file containing the index.
Definition at line 371 of file layout_track_proxy.hpp.
Referenced by GetBigDataIndex(), operator=(), and SetBigDataIndex().
|
private |
track category.
Definition at line 289 of file layout_track_proxy.hpp.
Referenced by GetCategory(), operator=(), and SetCategory().
|
private |
settings for children tracks.
Each created track may correspond to one data source, or data type (feature type/subtype). For example, the gene model may have gene model track created based on NCBI gene model, ENSEMBL gene model, other RNAs and Exons. optional, only for group-type track
Definition at line 316 of file layout_track_proxy.hpp.
Referenced by AddTempTrack(), CTempTrackProxy(), GetChildren(), GetChildTempTrack(), and operator=().
|
private |
Definition at line 343 of file layout_track_proxy.hpp.
Referenced by GetComments(), operator=(), and SetComments().
|
private |
track display name.
If empty, use track name
Definition at line 276 of file layout_track_proxy.hpp.
Referenced by GetDisplayName(), operator=(), and SetDisplayName().
The track proxy is empty.
It can be removed and will be removed.
Definition at line 338 of file layout_track_proxy.hpp.
Referenced by IsEmpty(), operator=(), and SetEmpty().
|
private |
Definition at line 349 of file layout_track_proxy.hpp.
Referenced by GetErrorStatus(), operator=(), SetErrorStatus(), and SetTrack().
track expanded/collapsed.
Definition at line 328 of file layout_track_proxy.hpp.
Referenced by GetExpanded(), operator=(), SetExpanded(), and SetTrack().
|
private |
track-specific filter
Definition at line 305 of file layout_track_proxy.hpp.
Referenced by GetChildTempTrack(), GetFilter(), operator=(), and SetFilter().
|
private |
track help string
Definition at line 325 of file layout_track_proxy.hpp.
Referenced by GetHelp(), operator=(), and SetHelp().
|
private |
Definition at line 344 of file layout_track_proxy.hpp.
Referenced by GetHighlights(), operator=(), and SetHighlights().
|
private |
Color to use for highlighting.
Definition at line 346 of file layout_track_proxy.hpp.
Referenced by GetHighlightsColor(), operator=(), and SetHighlightsColor().
|
private |
Definition at line 372 of file layout_track_proxy.hpp.
Referenced by GetHubId(), and SetHubId().
|
private |
unique track identifier.
Definition at line 272 of file layout_track_proxy.hpp.
Referenced by GetId(), operator=(), SetId(), and SetTrack().
Definition at line 350 of file layout_track_proxy.hpp.
Referenced by GetIsPrivate(), operator=(), and SetIsPrivate().
|
private |
may be used for creating a track
Definition at line 356 of file layout_track_proxy.hpp.
Referenced by GetKey(), operator=(), and SetKey().
|
private |
Definition at line 362 of file layout_track_proxy.hpp.
Referenced by GetNAdata(), and SetNAdata().
|
private |
track name, may serve as track title.
Definition at line 269 of file layout_track_proxy.hpp.
Referenced by GetName(), operator=(), and SetName().
Definition at line 373 of file layout_track_proxy.hpp.
Referenced by GetOptions2Hide(), and SetOptions2Hide().
Definition at line 374 of file layout_track_proxy.hpp.
Referenced by GetOptions2Show(), and SetOptions2Show().
|
private |
track order for vertical ordering in its parent scope.
Initially, the track order is -1 for a newly created track params before associating it with a real track.
Definition at line 266 of file layout_track_proxy.hpp.
Referenced by GetOrder(), operator<(), operator=(), SetOrder(), and SetTrack().
|
private |
track profile (setting style or list of settings).
Definition at line 279 of file layout_track_proxy.hpp.
Referenced by GetTrackProfile(), operator=(), SetTrack(), and SetTrackProfile().
Has this been connected to any real track before.
A tempory track proxy may be created for a potential track that may not exist. This flag is for indicating if we need to save the proxy.
Definition at line 334 of file layout_track_proxy.hpp.
Referenced by IsRealized(), operator=(), SetRealized(), and SetTrack().
|
private |
Definition at line 368 of file layout_track_proxy.hpp.
Referenced by GetRemoteData(), operator=(), and SetRemoteData().
|
private |
Definition at line 369 of file layout_track_proxy.hpp.
Referenced by GetRemoteId(), and SetRemoteId().
|
private |
Track remote path.
Definition at line 365 of file layout_track_proxy.hpp.
Referenced by GetRemotePath(), operator=(), and SetRemotePath().
|
private |
Definition at line 370 of file layout_track_proxy.hpp.
Referenced by GetSeqDataKey(), operator=(), and SetSeqDataKey().
|
private |
setting group name.
A group name defining a set of similar tracks that have the same properties and potentially can share the same set of settings
Definition at line 298 of file layout_track_proxy.hpp.
Referenced by GetSettingGroup(), operator=(), and SetSettingGroup().
|
private |
extra information potentially needed to create the track
Definition at line 367 of file layout_track_proxy.hpp.
Referenced by GetExtraInfo(), and SetExtraInfo().
track on/off state.
Definition at line 322 of file layout_track_proxy.hpp.
Referenced by GetShown(), operator=(), SetShown(), and SetTrack().
Definition at line 348 of file layout_track_proxy.hpp.
Referenced by GetShowTitle(), operator=(), and SetShowTitle().
|
private |
track-specific sortby
Definition at line 308 of file layout_track_proxy.hpp.
Referenced by GetChildTempTrack(), GetSortBy(), operator=(), and SetSortBy().
|
private |
data source.
For most of cases, data source is the same as track name. If that is the case, m_Source may be empty. m_Source will be used when a track need data source info which is different from m_Name.
Definition at line 286 of file layout_track_proxy.hpp.
Referenced by GetSource(), IsExtendedNA(), IsNA(), operator=(), and SetSource().
|
private |
Definition at line 351 of file layout_track_proxy.hpp.
Referenced by GetStoredScale(), operator=(), and SetStoredScale().
|
private |
track sub-category.
Definition at line 292 of file layout_track_proxy.hpp.
Referenced by GetSubcategory(), operator=(), and SetSubcategory().
|
private |
may be used for creating DataSource
Definition at line 357 of file layout_track_proxy.hpp.
Referenced by GetSubkey(), operator=(), and SetSubkey().
|
private |
Definition at line 354 of file layout_track_proxy.hpp.
Referenced by GetSubTracks(), operator=(), and SetSubTracks().
|
private |
Definition at line 361 of file layout_track_proxy.hpp.
Referenced by GetTimeStamp(), operator=(), and SetTimeStamp().
|
private |
the delegated layout track object.
Definition at line 319 of file layout_track_proxy.hpp.
Referenced by GetExpanded(), GetOrder(), GetShown(), GetTrack(), GetTrackProfile(), operator=(), SetErrorStatus(), SetId(), SetOrder(), SetTrack(), and TrackNotSet().
|
private |
Definition at line 353 of file layout_track_proxy.hpp.
Referenced by GetUId(), operator=(), and SetUId().
flag indicating if group default setting applies.
default: false
Definition at line 302 of file layout_track_proxy.hpp.
Referenced by GetUseGroupDefault(), operator=(), and SetUseGroupDefault().
|
private |
The sequence range visited so far.
Definition at line 341 of file layout_track_proxy.hpp.
Referenced by GetVisitedRange(), and SetVisitedRange().