Belle II Software development
Styling< AObject > Class Template Reference

Interface for a mapping of object and an index to styling attributes. More...

#include <Styling.h>

Inheritance diagram for Styling< AObject >:
ChooseableStyling< const CDCHit > ChooseableStyling< const RecoTrack > ChooseableStyling< const CDCSegment2D > ChooseableStyling< AObject > FixedStyling< AObject > ChooseableHitStyling ChooseableRecoTrackStyling ChooseableSegmentStyling DefaultColorCycleStyling< AObject >

Public Member Functions

virtual ~Styling ()=default
 Make destructor of interface virtual.
 
virtual AttributeMap map (int index, AObject &object)
 Maps the object at the given index to attribute values.
 
virtual std::string info ()
 Informal string summarizing the translation from the object to the styling attributes.
 

Detailed Description

template<class AObject>
class Belle2::TrackFindingCDC::Styling< AObject >

Interface for a mapping of object and an index to styling attributes.

Definition at line 32 of file Styling.h.

Member Function Documentation

◆ info()

virtual std::string info ( )
inlinevirtual

Informal string summarizing the translation from the object to the styling attributes.

Reimplemented in FixedStyling< AObject >, ChooseableStyling< AObject >, ChooseableStyling< const CDCHit >, ChooseableStyling< const RecoTrack >, and ChooseableStyling< const CDCSegment2D >.

Definition at line 46 of file Styling.h.

47 {
48 return "(no info available)\n";
49 }

◆ map()

virtual AttributeMap map ( int  index,
AObject &  object 
)
inlinevirtual

Maps the object at the given index to attribute values.

Reimplemented in FixedStyling< AObject >, and ChooseableStyling< AObject >.

Definition at line 39 of file Styling.h.

41 {
42 return {};
43 }

The documentation for this class was generated from the following files: