Non-negative capacity measured in membership slots. 更多...
#include <Container.h>
Public 成员函数 | |
| constexpr bool | isUnlimited () const noexcept |
| constexpr std::size_t | value () const noexcept |
静态 Public 成员函数 | |
| static constexpr Capacity | fixed (std::size_t value) noexcept |
| Construct a fixed capacity. | |
| static constexpr Capacity | unlimited () noexcept |
| Construct an unbounded capacity. | |
详细描述
Non-negative capacity measured in membership slots.
在文件 Container.h 第 92 行定义.
成员函数说明
◆ fixed()
|
inlinestaticconstexprnoexcept |
◆ isUnlimited()
|
inlineconstexprnoexcept |
在文件 Container.h 第 98 行定义.
被这些函数引用 eve::building::BuildingGarrisonContainerAdapter::prepare(), eve::card::CardContainerAdapter::prepare(), eve::inventory::InventoryContainerAdapter::prepare(), eve::building::BuildingGarrisonContainerAdapter::snapshot(), eve::card::CardContainerAdapter::snapshot(), eve::inventory::InventoryContainerAdapter::snapshot(), eve::building::BuildingGarrisonContainerAdapter::validateInsert(), eve::card::CardContainerAdapter::validateInsert() , 以及 eve::inventory::InventoryContainerAdapter::validateInsert().
◆ unlimited()
|
inlinestaticconstexprnoexcept |
Construct an unbounded capacity.
在文件 Container.h 第 97 行定义.
◆ value()
|
inlineconstexprnoexcept |
在文件 Container.h 第 99 行定义.
被这些函数引用 fixed(), eve::building::BuildingGarrisonContainerAdapter::prepare(), eve::card::CardContainerAdapter::prepare(), eve::inventory::InventoryContainerAdapter::prepare(), eve::building::BuildingGarrisonContainerAdapter::snapshot(), eve::card::CardContainerAdapter::snapshot(), eve::inventory::InventoryContainerAdapter::snapshot(), eve::building::BuildingGarrisonContainerAdapter::validateInsert(), eve::card::CardContainerAdapter::validateInsert() , 以及 eve::inventory::InventoryContainerAdapter::validateInsert().
该类的文档由以下文件生成:
- src/engine/common/Container.h