SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | List of all members
smtk::common::GeneratorBase< Input, Output, Base > Class Template Referenceabstract

Base for all generators. More...

#include <Generator.h>

Inheritance diagram for smtk::common::GeneratorBase< Input, Output, Base >:
[legend]
Collaboration diagram for smtk::common::GeneratorBase< Input, Output, Base >:
[legend]

Public Member Functions

template<typename... T>
 GeneratorBase (T &&... all)
 
virtual bool valid (const Input &) const =0
 A discriminating method to determine whether or not the input should be considered for use as input by a generator type. More...
 
virtual Output operator() (const Input &)=0
 Function call operator for generating Output-s. More...
 

Detailed Description

template<class Input, class Output, class Base = detail::NullGeneratorBase>
class smtk::common::GeneratorBase< Input, Output, Base >

Base for all generators.

Describes the two methods used for generator selection and object generation.

Member Function Documentation

◆ operator()()

template<class Input , class Output , class Base = detail::NullGeneratorBase>
virtual Output smtk::common::GeneratorBase< Input, Output, Base >::operator() ( const Input &  )
pure virtual

◆ valid()

template<class Input , class Output , class Base = detail::NullGeneratorBase>
virtual bool smtk::common::GeneratorBase< Input, Output, Base >::valid ( const Input &  ) const
pure virtual

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