|
Jpp
15.0.1-rc.1-highqe
the software that should make you happy
|
One-dimensional key. More...
#include <JMultiKey.hh>
Public Types | |
| typedef JKey_t | key_type |
| typedef JMultiKey< 0, JKey_t > | mapped_type |
Public Member Functions | |
| JMultiKey () | |
| Default constructor. More... | |
| JMultiKey (typename JClass< mapped_type >::argument_type __first, typename JClass< key_type >::argument_type __second) | |
| Constructor. More... | |
| JMultiKey (typename JClass< key_type >::argument_type __first, typename JClass< mapped_type >::argument_type __second) | |
| Constructor. More... | |
| JMultiKey (typename JClass< key_type >::argument_type __first) | |
| Constructor. More... | |
| JMultiKey (typename JArgument< 1, JKey_t >::argument_type key) | |
| Copy constructor. More... | |
| bool | less (const JMultiKey< 1, JKey_t > &key) const |
| Less than method. More... | |
| double | getLengthSquared () const |
| Get length squared. More... | |
| double | getLength () const |
| Get length. More... | |
| key_type | back () const |
| Get backend key. More... | |
Public Attributes | |
| key_type | first |
Friends | |
| std::istream & | operator>> (std::istream &in, JMultiKey< 1, JKey_t > &key) |
| Read key from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JMultiKey< 1, JKey_t > &key) |
| Write key to output. More... | |
One-dimensional key.
Definition at line 374 of file JMultiKey.hh.
| typedef JKey_t JTOOLS::JMultiKey< 1, JKey_t >::key_type |
Definition at line 379 of file JMultiKey.hh.
| typedef JMultiKey<0, JKey_t> JTOOLS::JMultiKey< 1, JKey_t >::mapped_type |
Definition at line 380 of file JMultiKey.hh.
|
inline |
|
inline |
Constructor.
The secondary key is appended to the end of the primary key.
| __first | primary key |
| __second | secondary key |
Definition at line 398 of file JMultiKey.hh.
|
inline |
Constructor.
The primary key is inserted at the start of the secondary key.
| __first | primary key |
| __second | secondary key |
Definition at line 411 of file JMultiKey.hh.
|
inline |
|
inline |
|
inline |
Less than method.
| key | key |
Definition at line 443 of file JMultiKey.hh.
|
inline |
|
inline |
Get length.
Definition at line 465 of file JMultiKey.hh.
|
inline |
|
friend |
Read key from input.
| in | input stream |
| key | key |
Definition at line 489 of file JMultiKey.hh.
|
friend |
Write key to output.
| out | output stream |
| key | key |
Definition at line 504 of file JMultiKey.hh.
| key_type JTOOLS::JMultiKey< 1, JKey_t >::first |
Definition at line 514 of file JMultiKey.hh.
1.8.5