cauldron  0.0.0
 All Classes Namespaces Files Functions Variables Typedefs
Public Member Functions | List of all members
cauldron::Just< Value > Class Template Reference

#include <just.h>

Inheritance diagram for cauldron::Just< Value >:
Inheritance graph
[legend]
Collaboration diagram for cauldron::Just< Value >:
Collaboration graph
[legend]

Public Member Functions

 Just (Value value)
 
Value operator() () const override
 
- Public Member Functions inherited from cauldron::CloneHelper< Value, Just< Value > >
std::unique_ptr< Strategy
< Value > > 
clone () const override
 
- Public Member Functions inherited from cauldron::Strategy< Value >
virtual Union< Value > operator|| (const Strategy< Value > &strategy) const
 
virtual Union< Value > operator|| (const Union< Value > &strategy) const
 
virtual Filtered< Value > filter (const Requirement< Value > &requirement) const
 
virtual Mapped< Value > map (const Converter< Value > &converter) const
 

Detailed Description

template<typename Value>
class cauldron::Just< Value >

Strategy which generates the same value.

Template Parameters
Valuetype of value generated by strategy.

Constructor & Destructor Documentation

template<typename Value >
cauldron::Just< Value >::Just ( Value  value)
inlineexplicit
Parameters
valuevalue to generate.

Member Function Documentation

template<typename Value >
Value cauldron::Just< Value >::operator() ( ) const
inlineoverridevirtual

Generates the same value.

Implements cauldron::Strategy< Value >.


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