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

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
 f2d2plot_cp (const T &a_data)
 
virtual ~f2d2plot_cp ()
 
 f2d2plot_cp (const f2d2plot_cp &a_from)
 
f2d2plot_cpoperator= (const f2d2plot_cp &a_from)
 
- Public Member Functions inherited from tools::sg::f2d2plot< 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_y, float &a_v) const
 
virtual unsigned int x_steps () const
 
virtual float x_min () const
 
virtual float x_max () const
 
virtual unsigned int y_steps () const
 
virtual float y_min () const
 
virtual float y_max () const
 
 f2d2plot (const T &a_data)
 
virtual ~f2d2plot ()
 
 f2d2plot (const f2d2plot &a_from)
 
f2d2plotoperator= (const f2d2plot &a_from)
 
void set_title (const std::string &a_s)
 
- Public Member Functions inherited from tools::sg::func2D
virtual ~func2D ()
 
- Public Member Functions inherited from tools::sg::plottable
virtual ~plottable ()
 

Protected Attributes

m_cp
 
- Protected Attributes inherited from tools::sg::f2d2plot< 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::f2d2plot_cp< T >

Definition at line 215 of file f2plot.

Constructor & Destructor Documentation

◆ f2d2plot_cp() [1/2]

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

Definition at line 223 of file f2plot.

224  :f2d2plot<T>(m_cp)
225  ,m_cp(a_data)
226  {}

◆ ~f2d2plot_cp()

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

Definition at line 227 of file f2plot.

227 {}

◆ f2d2plot_cp() [2/2]

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

Definition at line 229 of file f2plot.

230  :plottable(a_from)
231  ,func2D(a_from)
232  ,f2d2plot<T>(m_cp)
233  ,m_cp(a_from.m_cp)
234  {}

Member Function Documentation

◆ cast()

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

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

Definition at line 218 of file f2plot.

218  {
219  if(void* p = cmp_cast<f2d2plot_cp>(this,a_class)) {return p;}
220  return f2d2plot<T>::cast(a_class);
221  }

◆ operator=()

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

Definition at line 235 of file f2plot.

235  {
236  f2d2plot<T>::operator=(a_from);
237  m_cp = a_from.m_cp;
238  return *this;
239  }

Member Data Documentation

◆ m_cp

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

Definition at line 241 of file f2plot.


The documentation for this class was generated from the following file:
tools::sg::f2d2plot_cp::m_cp
T m_cp
Definition: f2plot:241
tools::sg::f2d2plot::operator=
f2d2plot & operator=(const f2d2plot &a_from)
Definition: f2plot:199
tools::sg::f2d2plot::cast
virtual void * cast(const std::string &a_class) const
Definition: f2plot:137