Yume
Public Member Functions | List of all members
yume::ty::Meta Class Referencefinal

A metatype, that is, a type referring to a type. More...

#include <type.hpp>

Inheritance diagram for yume::ty::Meta:
Inheritance graph
[legend]
Collaboration diagram for yume::ty::Meta:
Collaboration graph
[legend]

Public Member Functions

 Meta (const BaseType *indirect)
 
auto name () const -> string override
 
auto indirect () const -> const BaseType *
 
- Public Member Functions inherited from yume::ty::BaseType
 BaseType (const BaseType &) noexcept=delete
 
 BaseType (BaseType &&) noexcept=delete
 
auto operator= (const BaseType &) noexcept -> BaseType &=delete
 
auto operator= (BaseType &&) noexcept -> BaseType &=delete
 
virtual ~BaseType ()=default
 
auto kind () const -> Kind
 
auto base_name () const -> string
 
virtual auto name () const -> string=0
 

Additional Inherited Members

- Protected Member Functions inherited from yume::ty::BaseType
 BaseType (Kind kind, string name)
 

Detailed Description

A metatype, that is, a type referring to a type.

Definition at line 198 of file type.hpp.

Constructor & Destructor Documentation

◆ Meta()

yume::ty::Meta::Meta ( const BaseType indirect)
inlineexplicit

Definition at line 203 of file type.hpp.

Member Function Documentation

◆ indirect()

auto yume::ty::Meta::indirect ( ) const -> const BaseType*
inline

Definition at line 205 of file type.hpp.

◆ name()

auto yume::ty::Meta::name ( ) const -> string
inlineoverridevirtual

Implements yume::ty::BaseType.

Definition at line 204 of file type.hpp.

References yume::ty::BaseType::base_name().


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