Belle II Software  release-08-01-10
DefaultColorCycleMapping< AObject > Class Template Reference

Class template for coloring objects in different Colors. More...

#include <ColorMapping.h>

Inheritance diagram for DefaultColorCycleMapping< AObject >:
Collaboration diagram for DefaultColorCycleMapping< AObject >:

Public Member Functions

 DefaultColorCycleMapping ()
 Constructor.
 
std::string map (int index, AObject &t) override
 Return the a value from the cycle value according to the given inded.
 
virtual std::string map (int index, T &t)
 Main function returning an attribute value for an object at the given index.
 
std::string info () override
 Informal string summarizing the translation from the object to the attribute value.
 

Private Types

using Super = CycleMapping< AObject >
 Type of the base class.
 

Private Attributes

std::vector< std::string > m_values
 Memory for the attribute values to be cycled.
 

Detailed Description

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

Class template for coloring objects in different Colors.

This Class uses the color list defined in the Colors class.

Definition at line 26 of file ColorMapping.h.


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