Jpp
18.5.0
the software that should make you happy
|
Template specialisation of JRouter without default address comparison. More...
#include <JRouter.hh>
Public Member Functions | |
JRouter () | |
Default constructor. More... | |
virtual | ~JRouter () |
Virtual destructor. More... | |
virtual const JAddress_t & | getDefaultAddress () const |
Get default address. More... | |
void | clear () |
Clear. More... | |
void | swap (JRouter &router) |
Swap router. More... | |
void | align (const JRouter &router) |
Align router. More... | |
void | put (const int id, argument_type address) |
Store address for given identifier. More... | |
bool | in_range (const int id) const |
Check whether given identifier is in range of this router. More... | |
const JAddress_t & | get (const int id) const |
Get address of given identifier. More... | |
Protected Attributes | |
int | first |
Private Types | |
typedef JLANG::JClass < JAddress_t >::argument_type | argument_type |
Template specialisation of JRouter without default address comparison.
Definition at line 34 of file JRouter.hh.
|
private |
Definition at line 38 of file JRouter.hh.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Get default address.
Reimplemented in JTOOLS::JRouter< JAddress_t, true >.
Definition at line 62 of file JRouter.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Store address for given identifier.
id | identifier |
address | address |
Definition at line 115 of file JRouter.hh.
|
inline |
Check whether given identifier is in range of this router.
id | identifier |
Definition at line 150 of file JRouter.hh.
|
inline |
Get address of given identifier.
id | identifier |
Definition at line 162 of file JRouter.hh.
|
protected |
Definition at line 168 of file JRouter.hh.