PointRepFactory.cxx
Go to the documentation of this file.
1 
12 #ifdef _MSC_VER
13 // A long identifier warning.
14 #include "msdevstudio/MSconfig.h"
15 #endif
16 
17 #include "reps/PointRepFactory.h"
18 #include "datasrcs/TupleCut.h"
19 
20 #include "ColorBoxPointRep.h"
21 #include "FilledColumnPointRep.h"
22 #include "ContourPointRep.h"
23 #include "ColorSymbolPointRep.h"
24 #include "CutRangeRep.h"
25 #include "LineFunctionRep.h"
26 
27 namespace hippodraw {
28 
29 PointRepFactory * PointRepFactory::s_instance = 0;
30 
32 {
33 }
34 
36 {
37  if ( s_instance == 0 ) {
38  s_instance = new PointRepFactory ();
40  }
41  return s_instance;
42 }
43 
45 {
46  add ( new ColorBoxPointRep () );
47  add ( new ContourPointRep () );
48  add ( new ColumnPointRep () );
49  add ( new FilledColumnPointRep () );
50  add ( new LinePointRep () );
51  add ( new SymbolPointRep () );
52  add ( new ColorSymbolPointRep () );
53  add ( new CutRangeRep () );
54  add ( new LineFunctionRep () );
55 }
56 
57 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen