CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::firrtl::Annotation::ClassIsa Struct Reference

Helper struct to perform variadic class equality check. More...

Collaboration diagram for circt::firrtl::Annotation::ClassIsa:

Public Member Functions

bool operator() () const
template<typename T, typename... Rest>
bool operator() (T name, Rest... rest) const

Public Attributes

StringAttr cls

Private Member Functions

bool compare (StringAttr name) const
bool compare (StringRef name) const

Detailed Description

Helper struct to perform variadic class equality check.

Definition at line 123 of file FIRRTLAnnotations.h.

Member Function Documentation

◆ compare() [1/2]

bool circt::firrtl::Annotation::ClassIsa::compare ( StringAttr name) const
inlineprivate

Definition at line 133 of file FIRRTLAnnotations.h.

References cls.

Referenced by operator()().

◆ compare() [2/2]

bool circt::firrtl::Annotation::ClassIsa::compare ( StringRef name) const
inlineprivate

Definition at line 134 of file FIRRTLAnnotations.h.

References cls.

◆ operator()() [1/2]

bool circt::firrtl::Annotation::ClassIsa::operator() ( ) const
inline

Definition at line 126 of file FIRRTLAnnotations.h.

◆ operator()() [2/2]

template<typename T, typename... Rest>
bool circt::firrtl::Annotation::ClassIsa::operator() ( T name,
Rest... rest ) const
inline

Definition at line 128 of file FIRRTLAnnotations.h.

References compare().

Member Data Documentation

◆ cls

StringAttr circt::firrtl::Annotation::ClassIsa::cls

Definition at line 124 of file FIRRTLAnnotations.h.

Referenced by compare(), and compare().


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