|
CIRCT 24.0.0git
|
This is intended to be the base class for all emission patterns matching on types. More...
#include <EmissionPattern.h>


Public Member Functions | |
| TypeEmissionPatternBase (TypeID typeId) | |
| virtual | ~TypeEmissionPatternBase ()=default |
| virtual bool | match (Type type)=0 |
| Checks if this pattern is applicable to the given type. | |
| virtual void | emitType (Type type, EmissionPrinter &p)=0 |
| Emit the given type to the emission printer. | |
| Public Member Functions inherited from circt::ExportSystemC::PatternBase | |
| PatternBase (const void *rootValue) | |
| const void * | getRootValue () const |
| Get a unique identifier for the C++ type the pattern is matching on. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from circt::ExportSystemC::PatternBase | |
| template<typename E, typename... Args> | |
| static std::unique_ptr< E > | create (Args &&...args) |
This is intended to be the base class for all emission patterns matching on types.
Definition at line 139 of file EmissionPattern.h.
|
inlineexplicit |
Definition at line 140 of file EmissionPattern.h.
References circt::ExportSystemC::PatternBase::PatternBase().
Referenced by circt::ExportSystemC::TypeEmissionPattern< Ty >::TypeEmissionPattern().
|
virtualdefault |
|
pure virtual |
Emit the given type to the emission printer.
Implemented in circt::ExportSystemC::TypeEmissionPattern< Ty >.
|
pure virtual |
Checks if this pattern is applicable to the given type.
Implemented in circt::ExportSystemC::TypeEmissionPattern< Ty >.