| Jpp
    17.2.0
    the software that should make you happy | 
Auxiliary class for selection of data type. More...
#include <JTypeSelector.hh>
 
  
 | Public Types | |
| typedef JObjectSelector< T > ::argument_type | argument_type | 
| Type definition of argument of interface method.  More... | |
| Public Member Functions | |
| JTypeSelector () | |
| Default constructor.  More... | |
| template<class JSelector_t > | |
| JTypeSelector (const JSelector_t &selector) | |
| Constructor.  More... | |
| virtual bool | accept () const override | 
| Accept data type.  More... | |
| virtual bool | accept (argument_type object) const override | 
| Accept object.  More... | |
| void | set (const bool status) | 
| Set acceptance.  More... | |
| template<class JSelector_t > | |
| JTypeSelector & | operator() (const JSelector_t &selector) | 
| Set selection.  More... | |
| Static Public Member Functions | |
| static const JObjectSelector< T > & | getDefault () | 
| Get default value of template class.  More... | |
| Static Public Attributes | |
| static JTypeSelector | selector | 
| Selector.  More... | |
| Protected Attributes | |
| bool | is_enabled | 
Auxiliary class for selection of data type.
This class implements the JLANG::JObjectSelector interface.
Definition at line 22 of file JTypeSelector.hh.
| typedef JObjectSelector<T>::argument_type JLANG::JTypeSelector< T >::argument_type | 
Type definition of argument of interface method.
Definition at line 28 of file JTypeSelector.hh.
| 
 | inline | 
| 
 | inline | 
Constructor.
| selector | selector | 
Definition at line 45 of file JTypeSelector.hh.
| 
 | inlineoverridevirtual | 
Accept data type.
Definition at line 56 of file JTypeSelector.hh.
| 
 | inlineoverridevirtual | 
Accept object.
| object | object | 
Reimplemented from JLANG::JObjectSelector< T >.
Definition at line 68 of file JTypeSelector.hh.
| 
 | inline | 
| 
 | inline | 
Set selection.
The template argument JSelector_t refers to a data structure which should provide for the function object operator: 
bool operator()(JType<T>& type) const; // get status of data type
| selector | selector | 
Definition at line 97 of file JTypeSelector.hh.
| 
 | inlinestaticinherited | 
Get default value of template class.
Definition at line 24 of file JDefault.hh.
| 
 | static | 
Selector.
Definition at line 104 of file JTypeSelector.hh.
| 
 | protected | 
Definition at line 107 of file JTypeSelector.hh.
 1.8.5
 1.8.5