Class TextGeneratorContext

Inheritance Relationships

Base Type

Class Documentation

class TextGeneratorContext : public sequant::ExportContext

Context for the TextGenerator.

Public Functions

inline void set_batch_indices(std::vector<Index> indices, std::optional<std::size_t> id = {})
inline virtual std::vector<Index> batch_indices(std::optional<std::size_t> id = {}) const override
Parameters:

id – The ID of the relevant expression

Returns:

The list of indices that the given expression should be batched over