IFeed< nam, false, T > Struct Template Referenceabstract

A leaf that actually feeds values to its targets. More...

#include "IOption.hpp"

+ Inheritance diagram for IFeed< nam, false, T >:

Public Member Functions

virtual void set (const Vector< T > &values)=0
 Feed the values.
 
- Public Member Functions inherited from IFeed< nam, true, T >
virtual Vector< T > get () const=0
 
- Public Member Functions inherited from IBase
virtual Names enumerator () const =0
 The option name as enumerator.
 
virtual String name () const =0
 The option name as string.
 
virtual String path () const =0
 The option name as string, preceded by the names of its parents, if any, interspersed with '.'.
 
virtual String shortDescription () const =0
 One-liner that describes this option.
 
virtual String longDescription () const =0
 Longer text that describes this option in more detail.
 
virtual UsageLevel minUsageLevel () const =0
 For a leaf, this is its own usage level. Otherwise, this is the minimum usage level of all descendants: basic < mid < pro.
 
virtual Nodes node () const =0
 The node type of this option.
 

Additional Inherited Members

- Public Types inherited from IFeed< nam, true, T >
using Name = NameT< nam >
 
using Node = NodeT< Nodes::feed >
 

Detailed Description

template<Names nam, class T>
struct opals::opts::IFeed< nam, false, T >

A leaf that actually feeds values to its targets.

Template Parameters
namThe feed name.
TThe value type.