#include <EntityLump.h>
|
| std::string_view | getKey () const |
| | Get the key associated with the element.
|
| void | setKey (std::string_view key_) |
| | Set the key associated with the element.
|
| std::string_view | getValue () const |
| | Get the value associated with the element.
|
| template<BSPEntityKeyValueType V> |
| V | getValue () const |
| | Get the value associated with the element as the given type.
|
| template<BSPEntityKeyValueType V> |
| void | setValue (V value_) |
| | Set the value associated with the element.
|
| template<BSPEntityKeyValueType V> |
| Element & | operator= (V value_) |
| | Set the value associated with the element.
|
| bool | isInvalid () const |
| | Check if the given element is invalid.
|
Definition at line 23 of file EntityLump.h.
◆ Element()
| bsppp::BSPEntityKeyValues::Element::Element |
( |
| ) |
|
|
protecteddefault |
◆ getInvalid()
◆ getKey()
| std::string_view BSPEntityKeyValues::Element::getKey |
( |
| ) |
const |
|
nodiscard |
Get the key associated with the element.
Definition at line 6 of file EntityLump.cpp.
◆ getValue() [1/2]
| std::string_view BSPEntityKeyValues::Element::getValue |
( |
| ) |
const |
|
nodiscard |
Get the value associated with the element.
Definition at line 14 of file EntityLump.cpp.
◆ getValue() [2/2]
template<BSPEntityKeyValueType V>
| V bsppp::BSPEntityKeyValues::Element::getValue |
( |
| ) |
const |
|
inlinenodiscard |
Get the value associated with the element as the given type.
Definition at line 38 of file EntityLump.h.
◆ isInvalid()
| bool BSPEntityKeyValues::Element::isInvalid |
( |
| ) |
const |
|
nodiscard |
Check if the given element is invalid.
Definition at line 18 of file EntityLump.cpp.
◆ operator=()
template<BSPEntityKeyValueType V>
| Element & bsppp::BSPEntityKeyValues::Element::operator= |
( |
V | value_ | ) |
|
|
inline |
Set the value associated with the element.
Definition at line 65 of file EntityLump.h.
◆ setKey()
| void BSPEntityKeyValues::Element::setKey |
( |
std::string_view | key_ | ) |
|
Set the key associated with the element.
Definition at line 10 of file EntityLump.cpp.
◆ setValue()
template<BSPEntityKeyValueType V>
| void bsppp::BSPEntityKeyValues::Element::setValue |
( |
V | value_ | ) |
|
|
inline |
Set the value associated with the element.
Definition at line 55 of file EntityLump.h.
◆ BSPEntityKeyValues
◆ key
| std::string bsppp::BSPEntityKeyValues::Element::key |
|
protected |
◆ value
| std::string bsppp::BSPEntityKeyValues::Element::value |
|
protected |
The documentation for this class was generated from the following files: