SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
dmxpp::DMXAttribute Struct Reference

#include <Value.h>

Collaboration diagram for dmxpp::DMXAttribute:

Public Member Functions

bool isArray () const
 
std::string getValue () const
 
template<typename T >
getValueAs () const
 

Public Attributes

std::string name
 
Value::ID type
 
Value::Generic value
 

Detailed Description

Definition at line 167 of file Value.h.

Member Function Documentation

◆ getValue()

std::string DMXAttribute::getValue ( ) const

Definition at line 62 of file Value.cpp.

◆ getValueAs()

template<typename T >
T dmxpp::DMXAttribute::getValueAs ( ) const
inline

Definition at line 177 of file Value.h.

◆ isArray()

bool DMXAttribute::isArray ( ) const

Definition at line 58 of file Value.cpp.

Member Data Documentation

◆ name

std::string dmxpp::DMXAttribute::name

Definition at line 168 of file Value.h.

◆ type

Value::ID dmxpp::DMXAttribute::type

Definition at line 169 of file Value.h.

◆ value

Value::Generic dmxpp::DMXAttribute::value

Definition at line 170 of file Value.h.


The documentation for this struct was generated from the following files: