Class endstone::Identifier¶
ClassList > endstone > Identifier
Represents a identifier consisting of two components: a namespace and a key.
#include <endstone/identifier.h>
Public Static Attributes¶
| Type | Name |
|---|---|
| constexpr std::string_view | Minecraft = "minecraft"The namespace representing all inbuilt keys. |
Public Functions¶
| Type | Name |
|---|---|
| constexpr | Identifier (const char * s) noexcept |
| constexpr | Identifier (const std::string & s) noexcept |
| constexpr | Identifier (const std::string_view & identifier) noexcept |
| constexpr | Identifier (const std::string_view & namespace_, const std::string_view & key) noexcept |
| constexpr std::string_view | getKey () noexcept const |
| constexpr std::string_view | getNamespace () noexcept const |
| string () const |
|
| constexpr bool | operator!= (const Identifier & other) noexcept const |
| constexpr bool | operator== (const Identifier & other) noexcept const |
Public Static Functions¶
| Type | Name |
|---|---|
| constexpr Identifier | minecraft (const std::string_view key) noexcept |
Public Static Attributes Documentation¶
variable Minecraft¶
The namespace representing all inbuilt keys.
Public Functions Documentation¶
function Identifier [¼]¶
function Identifier [2/4]¶
function Identifier [¾]¶
function Identifier [4/4]¶
inline constexpr endstone::Identifier::Identifier (
const std::string_view & namespace_,
const std::string_view & key
) noexcept
function getKey¶
function getNamespace¶
function string¶
function operator!=¶
function operator==¶
Public Static Functions Documentation¶
function minecraft¶
static inline constexpr Identifier endstone::Identifier::minecraft (
const std::string_view key
) noexcept
The documentation for this class was generated from the following file include/endstone/identifier.h