inlib
1.2.0
|
Public Member Functions | |
virtual void * | cast (const std::string &a_class) const |
h1d2plot_cp (const inlib::histo::h1d &a_data) | |
virtual | ~h1d2plot_cp () |
Static Public Member Functions | |
static const std::string & | s_class () |
inlib::sg::h1d2plot_cp::h1d2plot_cp | ( | const inlib::histo::h1d & | a_data | ) | [inline] |
Definition at line 25 of file h2plot_cp.
:h1d2plot(m_cp) //give ref of m_cp to h1d2plot. ,m_cp(a_data) //do a local copy. //WARNING : the upper is ok as long as h1d2plot constructor does nothing // else than keeping the ref to m_cp. Else it would do // something on an empty histo (and not on a copy of the // passed a_data). {}
virtual inlib::sg::h1d2plot_cp::~h1d2plot_cp | ( | ) | [inline, virtual] |
virtual void* inlib::sg::h1d2plot_cp::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Reimplemented from inlib::sg::h1d2plot.
Definition at line 20 of file h2plot_cp.
{ if(void* p = inlib::cmp_cast<h1d2plot_cp>(this,a_class)) {return p;} return h1d2plot::cast(a_class); }
static const std::string& inlib::sg::h1d2plot_cp::s_class | ( | ) | [inline, static] |
Reimplemented from inlib::sg::h1d2plot.
Definition at line 15 of file h2plot_cp.
{ static const std::string s_v("inlib::sg::h1d2plot_cp"); return s_v; }