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

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
 f1d2plot_cp (const T &a_data)
 
virtual ~f1d2plot_cp ()
 
 f1d2plot_cp (const f1d2plot_cp &a_from)
 
f1d2plot_cpoperator= (const f1d2plot_cp &a_from)
 
- Public Member Functions inherited from tools::sg::f1d2plot< T >
virtual plottablecopy () const
 
virtual bool is_valid () const
 
virtual const std::string & name () const
 
virtual void set_name (const std::string &a_s)
 
virtual const std::string & title () const
 
virtual const std::string & legend () const
 
virtual void set_legend (const std::string &a_s)
 
virtual void infos (const std::string &a_opts, std::string &a_sinfos) const
 
virtual bool value (float a_x, float &a_v) const
 
virtual unsigned int x_steps () const
 
virtual float x_min () const
 
virtual float x_max () const
 
 f1d2plot (const T &a_data)
 
virtual ~f1d2plot ()
 
 f1d2plot (const f1d2plot &a_from)
 
f1d2plotoperator= (const f1d2plot &a_from)
 
void set_title (const std::string &a_s)
 
- Public Member Functions inherited from tools::sg::func1D
virtual ~func1D ()
 
- Public Member Functions inherited from tools::sg::plottable
virtual ~plottable ()
 

Protected Attributes

m_cp
 
- Protected Attributes inherited from tools::sg::f1d2plot< T >
const T & m_data
 
std::string m_name
 
std::string m_legend
 
std::string m_title
 

Detailed Description

template<class T>
class tools::sg::f1d2plot_cp< T >

Definition at line 104 of file f2plot.

Constructor & Destructor Documentation

◆ f1d2plot_cp() [1/2]

template<class T >
tools::sg::f1d2plot_cp< T >::f1d2plot_cp ( const T &  a_data)
inline

Definition at line 112 of file f2plot.

113  :f1d2plot<T>(m_cp)
114  ,m_cp(a_data)
115  {}

◆ ~f1d2plot_cp()

template<class T >
virtual tools::sg::f1d2plot_cp< T >::~f1d2plot_cp ( )
inlinevirtual

Definition at line 116 of file f2plot.

116 {}

◆ f1d2plot_cp() [2/2]

template<class T >
tools::sg::f1d2plot_cp< T >::f1d2plot_cp ( const f1d2plot_cp< T > &  a_from)
inline

Definition at line 118 of file f2plot.

119  :plottable(a_from)
120  ,func1D(a_from)
121  ,f1d2plot<T>(m_cp)
122  ,m_cp(a_from.m_cp)
123  {}

Member Function Documentation

◆ cast()

template<class T >
virtual void* tools::sg::f1d2plot_cp< T >::cast ( const std::string &  a_class) const
inlinevirtual

Reimplemented from tools::sg::f1d2plot< T >.

Definition at line 107 of file f2plot.

107  {
108  if(void* p = cmp_cast<f1d2plot_cp>(this,a_class)) {return p;}
109  return f1d2plot<T>::cast(a_class);
110  }

◆ operator=()

template<class T >
f1d2plot_cp& tools::sg::f1d2plot_cp< T >::operator= ( const f1d2plot_cp< T > &  a_from)
inline

Definition at line 124 of file f2plot.

124  {
125  f1d2plot<T>::operator=(a_from);
126  m_cp = a_from.m_cp;
127  return *this;
128  }

Member Data Documentation

◆ m_cp

template<class T >
T tools::sg::f1d2plot_cp< T >::m_cp
protected

Definition at line 130 of file f2plot.


The documentation for this class was generated from the following file:
tools::sg::f1d2plot_cp::m_cp
T m_cp
Definition: f2plot:130
tools::sg::f1d2plot::operator=
f1d2plot & operator=(const f1d2plot &a_from)
Definition: f2plot:88
tools::sg::f1d2plot::cast
virtual void * cast(const std::string &a_class) const
Definition: f2plot:28