cubos::core::ecs::Tag class

Represents a tag to be used with the Cubos class.

Constructors, destructors, conversion operators

Tag(std::string name)
Constructs.

Public functions

auto name() const -> std::string
Returns the tag's name.
auto id() const -> std::string
Returns an unique name for the tag, which is generated from its name and memory address.

Function documentation

cubos::core::ecs::Tag::Tag(std::string name)

Constructs.

Parameters
name Name.

std::string cubos::core::ecs::Tag::name() const

Returns the tag's name.

Returns Name.

std::string cubos::core::ecs::Tag::id() const

Returns an unique name for the tag, which is generated from its name and memory address.

Returns Unique identifier.