CIRCT  19.0.0git
Public Member Functions | Public Attributes | Private Member Functions | List of all members
circt::firrtl::Annotation::ClassIsa Struct Reference

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

Collaboration diagram for circt::firrtl::Annotation::ClassIsa:
Collaboration graph
[legend]

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 129 of file FIRRTLAnnotations.h.

Member Function Documentation

◆ compare() [1/2]

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

Definition at line 139 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 140 of file FIRRTLAnnotations.h.

References cls.

◆ operator()() [1/2]

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

Definition at line 132 of file FIRRTLAnnotations.h.

◆ operator()() [2/2]

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

Definition at line 134 of file FIRRTLAnnotations.h.

References compare().

Member Data Documentation

◆ cls

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

Definition at line 130 of file FIRRTLAnnotations.h.

Referenced by compare().


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