|
Jpp
18.2.1-ARCA-DF-PATCH
the software that should make you happy
|
Simple data structure for an abstract collection of equidistant abscissa values. More...
#include <JGrid.hh>
Public Types | |
| typedef JAbstractCollection < JAbscissa_t >::abscissa_type | abscissa_type |
Public Member Functions | |
| JGrid () | |
| Default constructor. More... | |
| JGrid (const int nx, const abscissa_type Xmin, const abscissa_type Xmax) | |
| Constructor. More... | |
| virtual int | getSize () const override |
| Get number of elements. More... | |
| virtual abscissa_type | getX (int index) const override |
| Get abscissa value. More... | |
| virtual abscissa_type | getXmin () const override |
| Get minimal abscissa value. More... | |
| virtual abscissa_type | getXmax () const override |
| Get maximal abscissa value. More... | |
| int | getIndex (typename JClass< abscissa_type >::argument_type x) const |
| Get index of given abscissa value. More... | |
| template<class JElement_t , class JDistance_t > | |
| const JGrid & | operator() (JCollection< JElement_t, JDistance_t > &collection) const |
| Configure collection. More... | |
| bool | is_equal (const JAbstractCollection &collection) const |
| Test whether abstract collections are equal. More... | |
Protected Attributes | |
| int | size |
| abscissa_type | xmin |
| abscissa_type | xmax |
Friends | |
| JReader & | operator>> (JReader &in, JGrid< JAbscissa_t > &grid) |
| Binary stream input. More... | |
| JWriter & | operator<< (JWriter &out, const JGrid< JAbscissa_t > &grid) |
| Binary stream output. More... | |
| std::istream & | operator>> (std::istream &in, JGrid< JAbscissa_t > &grid) |
| Read grid from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JGrid< JAbscissa_t > &grid) |
| Write grid to output. More... | |
Simple data structure for an abstract collection of equidistant abscissa values.
This class implements the JAbstractCollection interface.
| typedef JAbstractCollection<JAbscissa_t>::abscissa_type JTOOLS::JGrid< JAbscissa_t >::abscissa_type |
|
inline |
|
inline |
|
inlineoverridevirtual |
Get number of elements.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inlineoverridevirtual |
Get abscissa value.
| index | index |
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
Definition at line 87 of file JGrid.hh.
|
inlineoverridevirtual |
Get minimal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inlineoverridevirtual |
Get maximal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inline |
|
inline |
Configure collection.
| collection | collection |
Definition at line 134 of file JGrid.hh.
|
inlineinherited |
Test whether abstract collections are equal.
| collection | abstract collection |
Definition at line 72 of file JAbstractCollection.hh.
|
friend |
Binary stream input.
| in | input stream |
| grid | grid |
Definition at line 149 of file JGrid.hh.
|
friend |
|
friend |
Read grid from input.
| in | input stream |
| grid | grid |
Definition at line 175 of file JGrid.hh.
|
friend |
|
protected |
|
protected |
|
protected |
1.8.5