|
inlib
1.2.0
|


Public Member Functions | |
| virtual void * | cast (const std::string &a_class) const |
| virtual plottable * | copy () const |
| virtual bool | is_valid () const |
| virtual std::string | name () |
| virtual void | set_name (const std::string &a_s) |
| virtual std::string | title () |
| virtual std::string | legend () |
| virtual void | set_legend (const std::string &a_s) |
| virtual std::string | infos (const std::string &a_opts) |
| virtual bool | value (float aX, float &aValue) const |
| virtual unsigned int | x_steps () const |
| virtual float | x_min () const |
| virtual float | x_max () const |
| f1d2plot (const T &a_data) | |
| virtual | ~f1d2plot () |
Static Public Member Functions | |
| static const std::string & | s_class () |
Protected Member Functions | |
| f1d2plot (const f1d2plot &a_from) | |
| inlib::sg::f1d2plot< T >::f1d2plot | ( | const T & | a_data | ) | [inline] |
| virtual inlib::sg::f1d2plot< T >::~f1d2plot | ( | ) | [inline, virtual] |
| inlib::sg::f1d2plot< T >::f1d2plot | ( | const f1d2plot< T > & | a_from | ) | [inline, protected] |
| virtual void* inlib::sg::f1d2plot< T >::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Reimplemented from inlib::sg::func1D.
Definition at line 27 of file f2plot.
{
if(void* p = inlib::cmp_cast<f1d2plot>(this,a_class)) {return p;}
return func1D::cast(a_class);
}
| virtual plottable* inlib::sg::f1d2plot< T >::copy | ( | ) | const [inline, virtual] |
Implements inlib::sg::plottable.
Definition at line 32 of file f2plot.
{return new f1d2plot(*this);}
| virtual std::string inlib::sg::f1d2plot< T >::infos | ( | const std::string & | a_opts | ) | [inline, virtual] |
Implements inlib::sg::plottable.
Definition at line 40 of file f2plot.
{
std::string f_lf("\n");
std::string sinfos;
std::vector<std::string> words;
inlib::words(a_opts," ",false,words);
std::vector<std::string>::const_iterator it;
for(it=words.begin();it!=words.end();++it) {
if(((*it)=="name") && m_name.size()) {
if(sinfos.size()) sinfos += f_lf;
sinfos += "Name\n";
sinfos += m_name;
}
}
return sinfos;
}
| virtual bool inlib::sg::f1d2plot< T >::is_valid | ( | ) | const [inline, virtual] |
| virtual std::string inlib::sg::f1d2plot< T >::legend | ( | ) | [inline, virtual] |
| virtual std::string inlib::sg::f1d2plot< T >::name | ( | ) | [inline, virtual] |
| static const std::string& inlib::sg::f1d2plot< T >::s_class | ( | ) | [inline, static] |
Reimplemented from inlib::sg::func1D.
Definition at line 22 of file f2plot.
{
static const std::string s_v("inlib::sg::f1d2plot");
return s_v;
}
| virtual void inlib::sg::f1d2plot< T >::set_legend | ( | const std::string & | a_s | ) | [inline, virtual] |
| virtual void inlib::sg::f1d2plot< T >::set_name | ( | const std::string & | a_s | ) | [inline, virtual] |
| virtual std::string inlib::sg::f1d2plot< T >::title | ( | ) | [inline, virtual] |
| virtual bool inlib::sg::f1d2plot< T >::value | ( | float | aX, |
| float & | aValue | ||
| ) | const [inline, virtual] |
Implements inlib::sg::func1D.
Definition at line 56 of file f2plot.
{
if(!m_data.in_domain(aX)) return false;
aValue = (float)m_data.value(aX);
return true;
}
| virtual float inlib::sg::f1d2plot< T >::x_max | ( | ) | const [inline, virtual] |
| virtual float inlib::sg::f1d2plot< T >::x_min | ( | ) | const [inline, virtual] |
| virtual unsigned int inlib::sg::f1d2plot< T >::x_steps | ( | ) | const [inline, virtual] |
1.7.5.1