FreeTensor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
freetensor::FuncParam Struct Reference

#include <func.h>

Collaboration diagram for freetensor::FuncParam:
Collaboration graph
[legend]

Public Member Functions

bool isInClosure () const
 Accept user input even if there is a closure.
 
 FuncParam (const std::string &name, const Ref< Ref< Array > > &closure, bool updateClosure)
 

Public Attributes

std::string name_
 
Ref< Ref< Array > > closure_
 
bool updateClosure_
 Data bound to this parameter.
 

Constructor & Destructor Documentation

◆ FuncParam()

freetensor::FuncParam::FuncParam ( const std::string &  name,
const Ref< Ref< Array > > &  closure,
bool  updateClosure 
)
inline

Member Function Documentation

◆ isInClosure()

bool freetensor::FuncParam::isInClosure ( ) const
inline

Accept user input even if there is a closure.

Member Data Documentation

◆ closure_

Ref<Ref<Array> > freetensor::FuncParam::closure_

◆ name_

std::string freetensor::FuncParam::name_

◆ updateClosure_

bool freetensor::FuncParam::updateClosure_

Data bound to this parameter.


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