ONE - On-device Neural Engine
Loading...
Searching...
No Matches
souschef::RangedArguments< InputIt > Class Template Reference

#include <RangedArguments.h>

Collaboration diagram for souschef::RangedArguments< InputIt >:

Public Member Functions

 RangedArguments (InputIt beg, InputIt end)
 
uint32_t count (void) const override
 
const std::string & value (uint32_t n) const override
 
- Public Member Functions inherited from souschef::Arguments
virtual ~Arguments ()=default
 

Detailed Description

template<typename InputIt>
class souschef::RangedArguments< InputIt >

Definition at line 27 of file RangedArguments.h.

Constructor & Destructor Documentation

◆ RangedArguments()

template<typename InputIt >
souschef::RangedArguments< InputIt >::RangedArguments ( InputIt  beg,
InputIt  end 
)
inline

Definition at line 30 of file RangedArguments.h.

30 : _beg{beg}, _end{end}
31 {
32 // DO NOTHING
33 }
ShapeIterator end(const Shape &s)

Member Function Documentation

◆ count()

template<typename InputIt >
uint32_t souschef::RangedArguments< InputIt >::count ( void  ) const
inlineoverridevirtual

Implements souschef::Arguments.

Definition at line 36 of file RangedArguments.h.

36{ return _end - _beg; }

◆ value()

template<typename InputIt >
const std::string & souschef::RangedArguments< InputIt >::value ( uint32_t  n) const
inlineoverridevirtual

Implements souschef::Arguments.

Definition at line 39 of file RangedArguments.h.

39{ return *(_beg + n); }

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