inlib  1.2.0
Public Member Functions | Static Public Member Functions
inlib::sg::h1d2plot_cp Class Reference
Inheritance diagram for inlib::sg::h1d2plot_cp:
Inheritance graph
[legend]
Collaboration diagram for inlib::sg::h1d2plot_cp:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

Definition at line 13 of file h2plot_cp.


Constructor & Destructor Documentation

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]

Definition at line 33 of file h2plot_cp.

{}

Member Function Documentation

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;
  }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines