OpenTTD Source: BaseProvider< T > Class Template Reference

OpenTTD Source 15.0-RC2

Data Structures | Public Member Functions | Protected Attributes
BaseProvider< T > Class Template Reference
Inheritance diagram for BaseProvider< T >:

## Data Structures
struct | ProviderSorter
| Sorter for BaseProvider. More...

## Public Member Functions
constexpr | BaseProvider (std::string_view name, std::string_view description)
std::string_view | GetName () const
std::string_view | GetDescription () const

## Protected Attributes
const std::string_view | name
const std::string_view | description

## Detailed Description

template<typename T>
class BaseProvider< T >

Definition at line 54 of file provider_manager.h.

## Constructor & Destructor Documentation

## ◆ BaseProvider()

template<typename T >

constexpr BaseProvider< T >::BaseProvider | ( | std::string_view | name,
|  | std::string_view | description
| ) |  |
| inlineconstexpr

Definition at line 56 of file provider_manager.h.

## ◆ ~BaseProvider()

template<typename T >

virtual BaseProvider< T >::~BaseProvider | ( |  | ) |
| inlinevirtual

Definition at line 57 of file provider_manager.h.

## Member Function Documentation

## ◆ GetDescription()

template<typename T >

std::string_view BaseProvider< T >::GetDescription | ( |  | ) | const
| inline

Definition at line 60 of file provider_manager.h.

## ◆ GetName()

template<typename T >

std::string_view BaseProvider< T >::GetName | ( |  | ) | const
| inline

Definition at line 59 of file provider_manager.h.

## Field Documentation

## ◆ description

template<typename T >

const std::string_view BaseProvider< T >::description
| protected

Definition at line 78 of file provider_manager.h.

## ◆ name

template<typename T >

const std::string_view BaseProvider< T >::name
| protected

Definition at line 77 of file provider_manager.h.

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

- src/provider_manager.h