MLIR  19.0.0git
Public Member Functions | List of all members
mlir::tblgen::ParentClass Class Reference

This class describes a C++ parent class declaration. More...

#include "mlir/TableGen/Class.h"

Public Member Functions

template<typename NameT >
 ParentClass (NameT &&name, Visibility visibility=Visibility::Public)
 Create a parent class with a class name and visibility. More...
 
template<typename ParamT >
void addTemplateParam (ParamT param)
 Add a template parameter. More...
 
template<typename ContainerT >
void addTemplateParams (ContainerT &&container)
 Add a list of template parameters. More...
 
void writeTo (raw_indented_ostream &os) const
 Write the parent class declaration. More...
 

Detailed Description

This class describes a C++ parent class declaration.

Definition at line 502 of file Class.h.

Constructor & Destructor Documentation

◆ ParentClass()

template<typename NameT >
mlir::tblgen::ParentClass::ParentClass ( NameT &&  name,
Visibility  visibility = Visibility::Public 
)
inline

Create a parent class with a class name and visibility.

Definition at line 506 of file Class.h.

Member Function Documentation

◆ addTemplateParam()

template<typename ParamT >
void mlir::tblgen::ParentClass::addTemplateParam ( ParamT  param)
inline

Add a template parameter.

Definition at line 511 of file Class.h.

References mlir::tblgen::stringify().

◆ addTemplateParams()

template<typename ContainerT >
void mlir::tblgen::ParentClass::addTemplateParams ( ContainerT &&  container)
inline

Add a list of template parameters.

Definition at line 516 of file Class.h.

◆ writeTo()

void mlir::tblgen::ParentClass::writeTo ( raw_indented_ostream os) const

Write the parent class declaration.


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