| 
    Jpp 19.3.0-rc.3
    
   the software that should make you happy 
   | 
 
Template specialisation of JRouter with default address comparison. More...
#include <JRouter.hh>
  
Classes | |
| class | JAddress | 
| Simple data structure for validation of address.  More... | |
Public Member Functions | |
| JRouter () | |
| Default constructor.   | |
| JRouter (argument_type address) | |
| Constructor.   | |
| bool | hasDefaultAddress () const | 
| Check availability of default address.   | |
| virtual const JAddress_t & | getDefaultAddress () const override | 
| Get default address.   | |
| void | setDefaultAddress (argument_type address) | 
| Set default address.   | |
| bool | has (const int id) const | 
| Test whether given identifier has valid address (i.e identifier is in range and corresponding address is not equal to default address).   | |
| void | clear () | 
| Clear.   | |
| void | swap (JRouter &router) | 
| Swap router.   | |
| void | align (const JRouter &router) | 
| Align router.   | |
| void | put (const int id, argument_type address) | 
| Store address for given identifier.   | |
| bool | in_range (const int id) const | 
| Check whether given identifier is in range of this router.   | |
| const JAddress_t & | get (const int id) const | 
| Get address of given identifier.   | |
Protected Attributes | |
| int | first | 
Private Types | |
| typedef JLANG::JClass< JAddress_t >::argument_type | argument_type | 
Private Attributes | |
| JAddress | defaultAddress | 
Template specialisation of JRouter with default address comparison.
Definition at line 176 of file JRouter.hh.
      
  | 
  private | 
Definition at line 180 of file JRouter.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 253 of file JRouter.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Check availability of default address.
Definition at line 275 of file JRouter.hh.
      
  | 
  inlineoverridevirtual | 
Get default address.
Reimplemented from JTOOLS::JRouter< JAddress_t, false >.
Definition at line 286 of file JRouter.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Test whether given identifier has valid address (i.e identifier is in range and corresponding address is not equal to default address).
| id | identifier | 
Definition at line 309 of file JRouter.hh.
      
  | 
  inlineinherited | 
Clear.
Definition at line 73 of file JRouter.hh.
      
  | 
  inlineinherited | 
Swap router.
| router | router | 
Definition at line 86 of file JRouter.hh.
      
  | 
  inlineinherited | 
Align router.
| router | router | 
Definition at line 99 of file JRouter.hh.
      
  | 
  inlineinherited | 
Store address for given identifier.
| id | identifier | 
| address | address | 
Definition at line 115 of file JRouter.hh.
      
  | 
  inlineinherited | 
Check whether given identifier is in range of this router.
| id | identifier | 
Definition at line 150 of file JRouter.hh.
      
  | 
  inlineinherited | 
Get address of given identifier.
| id | identifier | 
Definition at line 162 of file JRouter.hh.
      
  | 
  private | 
Definition at line 316 of file JRouter.hh.
      
  | 
  protectedinherited | 
Definition at line 168 of file JRouter.hh.