MLIR  20.0.0git
Public Types | Static Public Member Functions | List of all members
mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >::Trait< ConcreteT > Struct Template Reference

This is a special trait that registers a given interface with an object. More...

#include "mlir/Support/InterfaceSupport.h"

+ Inheritance diagram for mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >::Trait< ConcreteT >:

Public Types

using ModelT = Model< ConcreteT >
 

Static Public Member Functions

static TypeID getInterfaceID ()
 Define an accessor for the ID of this interface. More...
 

Detailed Description

template<typename ConcreteType, typename ValueT, typename Traits, typename BaseType, template< typename, template< typename > class > class BaseTrait>
template<typename ConcreteT>
struct mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >::Trait< ConcreteT >

This is a special trait that registers a given interface with an object.

Definition at line 86 of file InterfaceSupport.h.

Member Typedef Documentation

◆ ModelT

template<typename ConcreteType , typename ValueT , typename Traits , typename BaseType , template< typename, template< typename > class > class BaseTrait>
template<typename ConcreteT >
using mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >::Trait< ConcreteT >::ModelT = Model<ConcreteT>

Definition at line 87 of file InterfaceSupport.h.

Member Function Documentation

◆ getInterfaceID()

template<typename ConcreteType , typename ValueT , typename Traits , typename BaseType , template< typename, template< typename > class > class BaseTrait>
template<typename ConcreteT >
static TypeID mlir::detail::Interface< ConcreteType, ValueT, Traits, BaseType, BaseTrait >::Trait< ConcreteT >::getInterfaceID ( )
inlinestatic

Define an accessor for the ID of this interface.

Definition at line 90 of file InterfaceSupport.h.


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