g4tools  5.4.0
Public Member Functions | List of all members
tools::sg::func1D Class Referenceabstract
Inheritance diagram for tools::sg::func1D:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::func1D:
Collaboration graph
[legend]

Public Member Functions

virtual void * cast (const std::string &a_class) const
 
virtual ~func1D ()
 
virtual bool value (float, float &) const =0
 
virtual unsigned int x_steps () const =0
 
virtual float x_min () const =0
 
virtual float x_max () const =0
 
- Public Member Functions inherited from tools::sg::plottable
virtual ~plottable ()
 
virtual plottablecopy () const =0
 
virtual bool is_valid () const =0
 
virtual void infos (const std::string &, std::string &) const =0
 
virtual const std::string & name () const =0
 
virtual void set_name (const std::string &)=0
 
virtual const std::string & title () const =0
 
virtual const std::string & legend () const =0
 
virtual void set_legend (const std::string &)=0
 

Detailed Description

Definition at line 76 of file plottables.

Constructor & Destructor Documentation

◆ ~func1D()

virtual tools::sg::func1D::~func1D ( )
inlinevirtual

Definition at line 85 of file plottables.

85 {}

Member Function Documentation

◆ cast()

virtual void* tools::sg::func1D::cast ( const std::string &  a_class) const
inlinevirtual

Reimplemented from tools::sg::plottable.

Reimplemented in tools::sg::f1d2plot_cp< T >, and tools::sg::f1d2plot< T >.

Definition at line 80 of file plottables.

80  {
81  if(void* p = cmp_cast<func1D>(this,a_class)) {return p;}
82  return plottable::cast(a_class);
83  }

◆ value()

virtual bool tools::sg::func1D::value ( float  ,
float &   
) const
pure virtual

Implemented in tools::sg::f1d2plot< T >.

◆ x_max()

virtual float tools::sg::func1D::x_max ( ) const
pure virtual

Implemented in tools::sg::f1d2plot< T >.

◆ x_min()

virtual float tools::sg::func1D::x_min ( ) const
pure virtual

Implemented in tools::sg::f1d2plot< T >.

◆ x_steps()

virtual unsigned int tools::sg::func1D::x_steps ( ) const
pure virtual

Implemented in tools::sg::f1d2plot< T >.


The documentation for this class was generated from the following file:
tools::sg::plottable::cast
virtual void * cast(const std::string &a_class) const
Definition: plottable:19