Belle II Software development
|
Class that implements Factory pattern to create objects inherited from EclPainter. More...
#include <EclPainterFactory.h>
Static Public Member Functions | |
static EclPainter * | createPainter (EclPainterType type, EclData *data, ECL::ECLChannelMapper *mapper, EclData::EclSubsystem subsys=EclData::ALL) |
Creates EclPainter of the specified type. | |
static const char ** | getTypeTitles () |
Returns array of titles for each EclPainter type. | |
static int | getTypeTitlesCount () |
Size of array from getTypeTitles() | |
Private Member Functions | |
EclPainterFactory () | |
Constructor for EclPainterFactory. | |
Static Private Attributes | |
static const int | types_count = PAINTER_SHAPER_2D + 1 |
Number of painter types. | |
static const char * | titles [types_count] |
Titles for painter types. | |
Class that implements Factory pattern to create objects inherited from EclPainter.
Definition at line 47 of file EclPainterFactory.h.
|
private |
|
static |
Creates EclPainter of the specified type.
It will show data from EclData specific to its type.
Definition at line 37 of file EclPainterFactory.cc.
|
static |
Returns array of titles for each EclPainter type.
Definition at line 82 of file EclPainterFactory.cc.
|
static |
Size of array from getTypeTitles()
Definition at line 87 of file EclPainterFactory.cc.
|
staticprivate |
Titles for painter types.
Also see const char* titles definition in EclPainterFactory.cc
Definition at line 52 of file EclPainterFactory.h.
|
staticprivate |
Number of painter types.
Definition at line 50 of file EclPainterFactory.h.