载入中...
搜索中...
未找到
eve::container::SlotIndex类 参考

Explicit slot number; it never implicitly converts to an integer. 更多...

#include <Container.h>

Public 成员函数

constexpr SlotIndex () noexcept=default
 Constructs a SlotIndex.
 
constexpr SlotIndex (std::int32_t value) noexcept
 Constructs a SlotIndex.
 
constexpr bool isValid () const noexcept
 True when valid.
 
constexpr std::int32_t value () const noexcept
 Value.
 

静态 Public 成员函数

static constexpr SlotIndex invalid () noexcept
 Invalid.
 

友元

constexpr bool operator== (const SlotIndex &, const SlotIndex &) noexcept=default
 Operator ==.
 
constexpr auto operator<=> (const SlotIndex &, const SlotIndex &) noexcept=default
 Operator <=>.
 

详细描述

Explicit slot number; it never implicitly converts to an integer.

在文件 Container.h 第 117 行定义.

构造及析构函数说明

◆ SlotIndex() [1/2]

constexpr eve::container::SlotIndex::SlotIndex ( )
constexprdefaultnoexcept

Constructs a SlotIndex.

被这些函数引用 invalid().

◆ SlotIndex() [2/2]

constexpr eve::container::SlotIndex::SlotIndex ( std::int32_t  value)
inlineexplicitconstexprnoexcept

Constructs a SlotIndex.

在文件 Container.h 第 122 行定义.

成员函数说明

◆ invalid()

static constexpr SlotIndex eve::container::SlotIndex::invalid ( )
inlinestaticconstexprnoexcept

◆ isValid()

constexpr bool eve::container::SlotIndex::isValid ( ) const
inlineconstexprnoexcept

True when valid.

在文件 Container.h 第 126 行定义.

被这些函数引用 eve::building::BuildingGarrisonContainerAdapter::exit().

◆ value()

constexpr std::int32_t eve::container::SlotIndex::value ( ) const
inlineconstexprnoexcept

友元及相关函数文档

◆ operator<=>

constexpr auto operator<=> ( const SlotIndex &  ,
const SlotIndex &   
)
friend

Operator <=>.

◆ operator==

constexpr bool operator== ( const SlotIndex &  ,
const SlotIndex &   
)
friend

Operator ==.


该类的文档由以下文件生成: