CIRCT
20.0.0git
|
This class collects a set of emission patterns with base type 'PatternTy'. More...
#include <EmissionPattern.h>
Public Member Functions | |
template<typename... Es, typename ConstructorArg , typename... ConstructorArgs, typename = std::enable_if_t<sizeof...(Es) != 0>> | |
void | add (ConstructorArg &&arg, ConstructorArgs &&...args) |
Add a new emission pattern that requires additional constructor arguments to this set. More... | |
template<typename... Es, typename = std::enable_if_t<sizeof...(Es) != 0>> | |
void | add () |
Add a new emission pattern to the set. More... | |
std::vector< std::unique_ptr< PatternTy > > & | getNativePatterns () |
Get all the emission patterns added to this set. More... | |
Private Member Functions | |
template<typename E , typename... Args> | |
std::enable_if_t< std::is_base_of< PatternTy, E >::value > | addImpl (Args &&...args) |
Private Attributes | |
std::vector< std::unique_ptr< PatternTy > > | patterns |
This class collects a set of emission patterns with base type 'PatternTy'.
Definition at line 237 of file EmissionPattern.h.
|
inline |
Add a new emission pattern to the set.
Definition at line 253 of file EmissionPattern.h.
|
inline |
Add a new emission pattern that requires additional constructor arguments to this set.
Definition at line 244 of file EmissionPattern.h.
|
inlineprivate |
Definition at line 265 of file EmissionPattern.h.
References pattern.
|
inline |
Get all the emission patterns added to this set.
Definition at line 258 of file EmissionPattern.h.
References circt::ExportSystemC::EmissionPatternSet< PatternTy >::patterns.
|
private |
Definition at line 272 of file EmissionPattern.h.
Referenced by circt::ExportSystemC::EmissionPatternSet< PatternTy >::getNativePatterns().