![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
#include <DMX.h>

Public Member Functions | |
| bool | isInvalid () const |
| Check if the given attribute is invalid. | |
| operator bool () const | |
| std::string_view | getKey () const |
| void | setKey (std::string key_) |
| DMXValue::ID | getValueType () const |
| bool | isValueArray () const |
| const DMXValue::Generic & | getValue () const |
| template<typename T> | |
| T | getValue () const |
| std::string | getValueString () const |
| void | setValue (DMXValue::Generic value_) |
| Set the value associated with the attribute. | |
| DMXAttribute & | operator= (DMXValue::Generic value_) |
| Set the value associated with the attribute. | |
Protected Member Functions | |
| DMXAttribute ()=default | |
Protected Attributes | |
| std::string | key |
| DMXValue::Generic | value |
Friends | |
| class | DMXElement |
| class | DMX |
|
protecteddefault |
|
inlinenodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| DMXAttribute & DMXAttribute::operator= | ( | DMXValue::Generic | value_ | ) |
| void DMXAttribute::setValue | ( | DMXValue::Generic | value_ | ) |
|
protected |