|
Jpp
18.5.2
the software that should make you happy
|
Simple data structure for an abstract collection of non-equidistant abscissa values. More...
#include <JSet.hh>
Public Types | |
| typedef JAbstractCollection < JAbscissa_t >::abscissa_type | abscissa_type |
Public Member Functions | |
| JSet () | |
| Default constructor. More... | |
| JSet (const JAbstractCollection< abscissa_type > &collection) | |
| Constructor. More... | |
| template<class T > | |
| JSet (T __begin, T __end) | |
| 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... | |
| template<class JElement_t , class JDistance_t > | |
| const JSet & | 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... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JSet< JAbscissa_t > &object) |
| Read set from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JSet< JAbscissa_t > &object) |
| Write set to output. More... | |
Simple data structure for an abstract collection of non-equidistant abscissa values.
This class implements the JAbstractCollection interface.
| typedef JAbstractCollection<JAbscissa_t>::abscissa_type JTOOLS::JSet< JAbscissa_t >::abscissa_type |
|
inline |
|
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 88 of file JSet.hh.
|
inlineoverridevirtual |
Get minimal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inlineoverridevirtual |
Get maximal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inline |
Configure collection.
| collection | collection |
Definition at line 127 of file JSet.hh.
|
inlineinherited |
Test whether abstract collections are equal.
| collection | abstract collection |
Definition at line 72 of file JAbstractCollection.hh.
|
friend |
Read set from input.
| in | input stream |
| object | object |
Definition at line 142 of file JSet.hh.
|
friend |
Write set to output.
| out | output stream |
| object | object |
Definition at line 159 of file JSet.hh.
1.8.5