Auxiliary class for selection of data type.
More...
#include <JObjectIterator.hh>
template<class T>
struct JLANG::JValve< T >
Auxiliary class for selection of data type.
Definition at line 34 of file JObjectIterator.hh.
Default constructor.
By default, the valve is open.
Definition at line 29 of file JValve.hh.
template<class T>
template<class JController_t >
Constructor.
- Parameters
-
controller | controller of valve |
Definition at line 40 of file JValve.hh.
Check if valve is open.
- Returns
- true if open; else false
Definition at line 51 of file JValve.hh.
template<class T>
template<class JController_t >
Set valve.
The template argument JController_t
refers to a data structure which should provide for the function object operator:
bool operator()(JType<T>& type) const; // get status of valve
- Parameters
-
controller | controller of valve |
Definition at line 87 of file JValve.hh.
Auxiliary class for a type holder.
Get default value of template class.
- Returns
- value
Definition at line 24 of file JDefault.hh.
static const JValve< T > value
The documentation for this struct was generated from the following files: