Halide
Halide::Internal::GeneratorParam_Synthetic< T > Class Template Reference

#include <Generator.h>

Inherits Halide::Internal::GeneratorParamImpl< T >.

Public Member Functions

void set_from_string (const std::string &new_value_string) override
 
std::string get_default_value () const override
 
std::string call_to_string (const std::string &v) const override
 
std::string get_c_type () const override
 
bool is_synthetic_param () const override
 
- Public Member Functions inherited from Halide::Internal::GeneratorParamImpl< T >
 GeneratorParamImpl (const std::string &name, const T &value)
 
value () const
 
 operator T () const
 
 operator Expr () const
 
void set (const std::string &new_value)
 
- Public Member Functions inherited from Halide::Internal::GeneratorParamBase
 GeneratorParamBase (const std::string &name)
 
virtual ~GeneratorParamBase ()
 
const std::string & name () const
 
void set (const std::string &new_value)
 
void set (const char *new_value)
 
 GeneratorParamBase (const GeneratorParamBase &)=delete
 
GeneratorParamBaseoperator= (const GeneratorParamBase &)=delete
 
 GeneratorParamBase (GeneratorParamBase &&)=delete
 
GeneratorParamBaseoperator= (GeneratorParamBase &&)=delete
 

Additional Inherited Members

- Public Types inherited from Halide::Internal::GeneratorParamImpl< T >
using type = T
 
- Protected Member Functions inherited from Halide::Internal::GeneratorParamImpl< T >
virtual void set_impl (const T &new_value)
 
- Protected Member Functions inherited from Halide::Internal::GeneratorParamBase
void check_value_readable () const
 
void check_value_writable () const
 
virtual std::string get_type_decls () const
 
virtual bool is_looplevel_param () const
 
void fail_wrong_type (const char *type)
 
- Protected Attributes inherited from Halide::Internal::GeneratorParamImpl< T >
value_
 

Detailed Description

template<typename T>
class Halide::Internal::GeneratorParam_Synthetic< T >

Definition at line 2890 of file Generator.h.

Member Function Documentation

◆ set_from_string()

template<typename T >
void Halide::Internal::GeneratorParam_Synthetic< T >::set_from_string ( const std::string &  new_value_string)
inlineoverridevirtual

Implements Halide::Internal::GeneratorParamBase.

Definition at line 2892 of file Generator.h.

References user_error.

◆ get_default_value()

template<typename T >
std::string Halide::Internal::GeneratorParam_Synthetic< T >::get_default_value ( ) const
inlineoverridevirtual

Implements Halide::Internal::GeneratorParamBase.

Definition at line 2901 of file Generator.h.

References internal_error.

◆ call_to_string()

template<typename T >
std::string Halide::Internal::GeneratorParam_Synthetic< T >::call_to_string ( const std::string &  v) const
inlineoverridevirtual

Implements Halide::Internal::GeneratorParamBase.

Definition at line 2906 of file Generator.h.

References internal_error.

◆ get_c_type()

template<typename T >
std::string Halide::Internal::GeneratorParam_Synthetic< T >::get_c_type ( ) const
inlineoverridevirtual

Implements Halide::Internal::GeneratorParamBase.

Definition at line 2911 of file Generator.h.

References internal_error.

◆ is_synthetic_param()

template<typename T >
bool Halide::Internal::GeneratorParam_Synthetic< T >::is_synthetic_param ( ) const
inlineoverridevirtual

Reimplemented from Halide::Internal::GeneratorParamBase.

Definition at line 2916 of file Generator.h.


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