NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
IObjectBasedGlyph Class Referenceabstract

Search Toolkit Book for IObjectBasedGlyph

File Description: More...

#include <gui/widgets/seq_graphic/object_based_glyph.hpp>

+ Inheritance diagram for IObjectBasedGlyph:

Public Types

typedef vector< TSeqRangeTIntervals
 

Public Member Functions

virtual ~IObjectBasedGlyph ()
 
virtual const objects::CSeq_loc & GetLocation (void) const =0
 access the position of this object. More...
 
virtual CConstRef< CObjectGetObject (TSeqPos pos) const =0
 access our core component - we wrap an object(s) of some sort. More...
 
virtual void GetObjects (vector< CConstRef< CObject > > &objs) const =0
 retrieve CObjects corresponding to this CSeqGlyph. More...
 
virtual bool HasObject (CConstRef< CObject > obj) const =0
 check if the wrapped object(s) is the one. More...
 
virtual string GetSignature () const =0
 return signature for this glyph. More...
 
virtual const TIntervalsGetIntervals (void) const =0
 access sub-intervals (if any). More...
 

Detailed Description

File Description:

Definition at line 45 of file object_based_glyph.hpp.

Member Typedef Documentation

◆ TIntervals

Definition at line 48 of file object_based_glyph.hpp.

Constructor & Destructor Documentation

◆ ~IObjectBasedGlyph()

virtual IObjectBasedGlyph::~IObjectBasedGlyph ( )
inlinevirtual

Definition at line 50 of file object_based_glyph.hpp.

Member Function Documentation

◆ GetIntervals()

virtual const TIntervals& IObjectBasedGlyph::GetIntervals ( void  ) const
pure virtual

◆ GetLocation()

virtual const objects::CSeq_loc& IObjectBasedGlyph::GetLocation ( void  ) const
pure virtual

◆ GetObject()

virtual CConstRef<CObject> IObjectBasedGlyph::GetObject ( TSeqPos  pos) const
pure virtual

access our core component - we wrap an object(s) of some sort.

This returns the object at a given sequence position; this is useful if the layout object wraps more than one object

Implemented in CVcfGlyph, CSequenceTrack, CSegmentGlyph, CMatePairGlyph, CLinkedFeatsGroup, CGeneGroup, CFeatGlyph, CClonePlacementGlyph, and CAlignGlyph.

Referenced by CSeqGraphicPane::GetCurrentObject(), CSeqGraphicPane::OnLeftUp(), CAlnVecRow::OnMouseEvent(), CSeqGraphicPane::OnTipAdded(), CSeqGraphicPane::SelectOnlyThisObject(), CGlyphSearchVisitor::Visit(), and CSeqGraphicPane::x_GetCachedTipId().

◆ GetObjects()

virtual void IObjectBasedGlyph::GetObjects ( vector< CConstRef< CObject > > &  objs) const
pure virtual

◆ GetSignature()

virtual string IObjectBasedGlyph::GetSignature ( ) const
pure virtual

◆ HasObject()

virtual bool IObjectBasedGlyph::HasObject ( CConstRef< CObject obj) const
pure virtual

check if the wrapped object(s) is the one.

Implemented in CVcfGlyph, CSequenceTrack, CSegmentGlyph, CMatePairGlyph, CLinkedFeatsGroup, CGeneGroup, CFeatGlyph, CClonePlacementGlyph, and CAlignGlyph.


The documentation for this class was generated from the following file:
Modified on Fri Jan 05 07:25:16 2024 by modify_doxy.py rev. 669887