Skip to content

iris::build::Record Class Reference

Doxygen 1.15.0 generates this reference during each site build from the public headers. The C++ guide shows the API in use.

The records of a repeat: job.get(machine) projects a field of the current record, list() is the list of all of them, and comprehensions iterate over them. More...

#include <iris/build.hpp>

Public Member Functions

template<class V, std::size_t D, Presence P>
Expr< V, Open > get (const Field< V, D, P > &field) const
 The field field of the current record.
RecordList records (const Record &inner) const
 The records of the repeat inner in the current record.
RecordList list () const
 The list of all records.
template<Operand I>
requires Integral<ValueOf<I>>
RecordExpr operator[] (I &&index) const
 Record index of the list.

Detailed Description

The records of a repeat: job.get(machine) projects a field of the current record, list() is the list of all of them, and comprehensions iterate over them.

Member Function Documentation

get()

template<class V, std::size_t D, Presence P>
Expr< V, Open > iris::build::Record::get ( const Field< V, D, P > & field) const
nodiscard

The field field of the current record.

list()

RecordList iris::build::Record::list ( ) const
inlinenodiscard

The list of all records.

operator[]()

template<Operand I>
requires Integral<ValueOf<I>>
RecordExpr iris::build::Record::operator[] ( I && index) const

Record index of the list.

records()

RecordList iris::build::Record::records ( const Record & inner) const
inlinenodiscard

The records of the repeat inner in the current record.