DataRepController.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _DataRepController_H_
15 #define _DataRepController_H_
16 
17 #include "pattern/libhippo.h"
18 
19 
20 #include <string>
21 #include <vector>
22 
23 namespace hippodraw {
24  class DataRep;
25  class DataSource;
26  class NTuple;
27  class PlotterBase;
28 
37 {
38 
39 private:
40 
43 
46  std::vector< std::string > m_null_vector;
47 
50 
54  bool checkBindings ( const DataSource * tuple,
55  const std::vector < std::string > & bindings ) const;
56 
57 protected:
58 
62 
63 public:
64 
66  static DataRepController * instance ();
67 
70 
73  const std::vector< std::string > &
74  bindingOptions ( const std::string & name );
75 
78  const std::vector< std::string > &
79  bindingOptions ( DataRep * rep );
80 
83  const std::vector < std::string > & names () const;
84 
89  DataRep * createDataRep ( const std::string & name );
90 
96  DataRep *
97  createDataRep ( const std::string & name,
98  const DataSource * ntuple,
99  const std::vector< std::string > & bindings ) const;
100 
103  void setAxisBindings ( DataRep * rep,
104  const DataSource * ntuple,
105  const std::vector< std::string > & bindings ) const;
106 
114  void changeDataSource ( DataRep * rep,
115  const DataSource * tuple );
116 
117  };
118 
119 } // namespace hippodraw
120 
121 #endif // _DataRepController_H_

Generated for HippoDraw Class Library by doxygen