g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::osc::Profile_cp< PROF > Class Template Reference
Inheritance diagram for tools::osc::Profile_cp< PROF >:
Inheritance graph
[legend]
Collaboration diagram for tools::osc::Profile_cp< PROF >:
Collaboration graph
[legend]

Public Member Functions

 Profile_cp (const PROF &a_p, const std::string &a_cls)
 
virtual ~Profile_cp ()
 
 Profile_cp (const Profile_cp &a_from)
 
Profile_cpoperator= (const Profile_cp &a_from)
 
- Public Member Functions inherited from tools::osc::Profile< PROF >
virtual const std::string & store_cls () const
 
virtual bool visit (iobj_const_visitor &a_v) const
 
 Profile (const PROF &a_hist, const std::string &a_cls)
 
virtual ~Profile ()
 
 Profile (const Profile &a_from)
 
Profileoperator= (const Profile &a_from)
 
- Public Member Functions inherited from tools::istorable
virtual ~istorable ()
 

Protected Attributes

PROF m_cp
 
- Protected Attributes inherited from tools::osc::Profile< PROF >
const PROF & m_hist
 
std::string m_cls
 

Additional Inherited Members

- Protected Member Functions inherited from tools::osc::Profile< PROF >
virtual void * cast (const std::string &a_class) const
 
- Static Protected Member Functions inherited from tools::osc::Profile< PROF >
static bool s_visit (const istorable &a_o, iobj_const_visitor &a_v)
 

Detailed Description

template<class PROF>
class tools::osc::Profile_cp< PROF >

Definition at line 854 of file osc_streamers.

Constructor & Destructor Documentation

◆ Profile_cp() [1/2]

template<class PROF >
tools::osc::Profile_cp< PROF >::Profile_cp ( const PROF &  a_p,
const std::string &  a_cls 
)
inline

Definition at line 857 of file osc_streamers.

858  :parent(m_cp,a_cls) //give ref of m_cp to Profile.
859  ,m_cp(a_p) //do a local copy.
860  //WARNING : the upper is ok as long as Profile constructor does nothing
861  // else than keeping the ref to m_cp. Else it would do
862  // something on an empty histo (and not on a copy of the
863  // passed a_data).
864  {}

◆ ~Profile_cp()

template<class PROF >
virtual tools::osc::Profile_cp< PROF >::~Profile_cp ( )
inlinevirtual

Definition at line 865 of file osc_streamers.

865 {}

◆ Profile_cp() [2/2]

template<class PROF >
tools::osc::Profile_cp< PROF >::Profile_cp ( const Profile_cp< PROF > &  a_from)
inline

Definition at line 867 of file osc_streamers.

868  :istorable(a_from)
869  ,parent(m_cp,a_from.m_cls)
870  ,m_cp(a_from.m_cp)
871  {}

Member Function Documentation

◆ operator=()

template<class PROF >
Profile_cp& tools::osc::Profile_cp< PROF >::operator= ( const Profile_cp< PROF > &  a_from)
inline

Definition at line 872 of file osc_streamers.

872  {
873  parent::operator=(a_from);
874  m_cp = a_from.m_cp;
875  return *this;
876  }

Member Data Documentation

◆ m_cp

template<class PROF >
PROF tools::osc::Profile_cp< PROF >::m_cp
protected

Definition at line 878 of file osc_streamers.


The documentation for this class was generated from the following file:
tools::osc::Profile_cp::m_cp
PROF m_cp
Definition: osc_streamers:878
tools::osc::Profile::operator=
Profile & operator=(const Profile &a_from)
Definition: osc_streamers:704