Jpp  18.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
JLANG::JObjectSelector< T > Class Template Reference

Interface for selection of objects. More...

#include <JObjectIterator.hh>

Inheritance diagram for JLANG::JObjectSelector< T >:
JLANG::JDefault< JObjectSelector< T > > JLANG::JTypeSelector< T >

Public Types

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

Public Member Functions

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

Static Public Member Functions

static const JObjectSelector< T > & getDefault ()
 Get default value of template class. More...
 

Detailed Description

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

Interface for selection of objects.

Definition at line 35 of file JObjectIterator.hh.

Member Typedef Documentation

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

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

Virtual destructor.

Definition at line 34 of file JObjectSelector.hh.

35  {}

Member Function Documentation

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 >, JLANG::JTypeSelector< JTail_t >, and JLANG::JTypeSelector< JHead_t >.

Definition at line 44 of file JObjectSelector.hh.

45  {
46  return true;
47  }
static const JObjectSelector< T > & JLANG::JDefault< JObjectSelector< T > >::getDefault ( )
inlinestaticinherited

Get default value of template class.

Returns
value

Definition at line 24 of file JDefault.hh.

25  {
26  return value;
27  }
static const JObjectSelector< T > value
Definition: JDefault.hh:30

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