Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
JLANG::JObjectSelector< T > Class Template Reference

Interface for selection of objects. More...

#include <JObjectSelector.hh>

Inheritance diagram for JLANG::JObjectSelector< T >:
JLANG::JDefault< JObjectSelector< T > > JLANG::JTypeSelector< JHead_t > JLANG::JTypeSelector< JTail_t > JLANG::JTypeSelector< T > JLANG::JTypeSelector< JTypeList< JHead_t, JNullType > > JLANG::JTypeSelector< JTypeList< JHead_t, JTail_t > > JLANG::JTypeSelector< JTypeList< JHead_t, JTail_t > >

Public Types

typedef JClass< T >::argument_type argument_type
 Type definition of argument of interface method.
 

Public Member Functions

virtual ~JObjectSelector ()
 Virtual destructor.
 
virtual bool accept (argument_type object) const
 Accept object.
 

Static Public Member Functions

static const T & getDefault ()
 Get default value of template class.
 

Static Private Attributes

static const T value
 

Detailed Description

template<class T>
class JLANG::JObjectSelector< T >

Interface for selection of objects.

Definition at line 21 of file JObjectSelector.hh.

Member Typedef Documentation

◆ argument_type

template<class T >
typedef JClass<T>::argument_type JLANG::JObjectSelector< T >::argument_type

Type definition of argument of interface method.

Definition at line 28 of file JObjectSelector.hh.

Constructor & Destructor Documentation

◆ ~JObjectSelector()

template<class T >
virtual JLANG::JObjectSelector< T >::~JObjectSelector ( )
inlinevirtual

Virtual destructor.

Definition at line 34 of file JObjectSelector.hh.

35 {}

Member Function Documentation

◆ accept()

template<class T >
virtual bool JLANG::JObjectSelector< T >::accept ( argument_type object) const
inlinevirtual

Accept object.

Parameters
objectobject
Returns
true if accepted; else false

Reimplemented in JLANG::JTypeSelector< T >.

Definition at line 44 of file JObjectSelector.hh.

45 {
46 return true;
47 }

◆ getDefault()

static const T & JLANG::JDefault< T >::getDefault ( )
inlinestaticinherited

Get default value of template class.

Returns
value

Definition at line 24 of file JDefault.hh.

Member Data Documentation

◆ value

const T JLANG::JDefault< T >::value
staticprivateinherited

Definition at line 30 of file JDefault.hh.


The documentation for this class was generated from the following files: