lattribute.h Header
Types
| struct | LLink | Represents a link to another attribute. An attribute with a link gets its value from the other attribute through the link. |
| class | LAttribute | An attribute is a runtime object for storing data, created by the loader and maintained by the engine. Attributes store numbers, strings, or booleans through the LVariant type. |
Type Aliases
| using | LVariant | Variant type that can hold attribute values. Can be: monostate (empty), double, bool, or LString. |
| using | LAttributes | Pluralized identifier for a vector of LAttribute pointers |
| using | LAttributeMap | Alternative identifier for a map of LString to LAttribute pointer pairs |
Type Alias Documentation
using LVariant = std::variant<std::monostate, double, bool, LString>
Variant type that can hold attribute values. Can be: monostate (empty), double, bool, or LString.
using LAttributes = std::vector<LAttribute *>
Pluralized identifier for a vector of LAttribute pointers
using LAttributeMap = std::map<LString, LAttribute *>
Alternative identifier for a map of LString to LAttribute pointer pairs