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

#include <func.h>

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

Public Member Functions

bool isInClosure () const
 Return even if there is a closure.
 
 FuncRet (const std::string &name, DataType dtype, const Ref< Ref< Array > > &closure, bool returnClosure)
 

Public Attributes

std::string name_
 
DataType dtype_
 
Ref< Ref< Array > > closure_
 
bool returnClosure_
 Data bound to this return value.
 

Constructor & Destructor Documentation

◆ FuncRet()

freetensor::FuncRet::FuncRet ( const std::string &  name,
DataType  dtype,
const Ref< Ref< Array > > &  closure,
bool  returnClosure 
)
inline

Member Function Documentation

◆ isInClosure()

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

Return even if there is a closure.

Member Data Documentation

◆ closure_

Ref<Ref<Array> > freetensor::FuncRet::closure_

◆ dtype_

DataType freetensor::FuncRet::dtype_

◆ name_

std::string freetensor::FuncRet::name_

◆ returnClosure_

bool freetensor::FuncRet::returnClosure_

Data bound to this return value.


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