Jpp
17.0.0-rc.1
the software that should make you happy
|
Data frame with end marker. More...
#include <JFrame_t.hh>
Public Member Functions | |
JFrame_t () | |
Default constructor. More... | |
JFrame_t (const JFrame_t &frame) | |
Copy constructor. More... | |
JFrame_t (JFrame_t &&frame) | |
Move constructor. More... | |
JFrame_t & | operator= (const JFrame_t &frame) |
Assignment operator. More... | |
JFrame_t & | operator= (JFrame_t &&frame) |
Move assignment operator. More... | |
bool | hasEndMarker () const |
Check presence of end marker. More... | |
void | putEndMarker () |
Append end marker to data. More... | |
void | reset () |
Reset. More... | |
Data frame with end marker.
The end marker is a special element that is used in JTOOLS::JMergeSort to speed up the sorting of data.
It is placed within the capacity of the container whilst its size is maintained.
Here, it is defined by an element of which the time is larger than any possible nominal value.
The end marker should manually be put using method putEndMarker() after modifications of the contents of the container.
Definition at line 27 of file JFrame_t.hh.
|
inline |
Default constructor.
Empty container with end marker.
Definition at line 37 of file JFrame_t.hh.
|
inline |
Copy constructor.
frame | frame |
Definition at line 48 of file JFrame_t.hh.
|
inline |
Move constructor.
frame | frame |
Definition at line 60 of file JFrame_t.hh.
|
inline |
Assignment operator.
frame | frame |
Definition at line 73 of file JFrame_t.hh.
|
inline |
Move assignment operator.
frame | frame |
Definition at line 88 of file JFrame_t.hh.
|
inline |
Check presence of end marker.
Definition at line 102 of file JFrame_t.hh.
|
inline |
Append end marker to data.
Definition at line 111 of file JFrame_t.hh.
|
inline |
Reset.
Clear container and put end marker.
Definition at line 126 of file JFrame_t.hh.