![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
#include <array>
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <variant>
#include <vector>
#include <sourcepp/Math.h>
Go to the source code of this file.
Classes | |
struct | dmxpp::Value::Invalid |
struct | dmxpp::Value::Element |
struct | dmxpp::Value::Time |
struct | dmxpp::Value::Color |
struct | dmxpp::DMXAttribute |
struct | dmxpp::DMXElement |
Namespaces | |
namespace | dmxpp |
namespace | dmxpp::Value |
Typedefs | |
using | dmxpp::Value::ByteArray = std::vector< std::byte > |
using | dmxpp::Value::Vector2 = sourcepp::math::Vec2f |
using | dmxpp::Value::Vector3 = sourcepp::math::Vec3f |
using | dmxpp::Value::Vector4 = sourcepp::math::Vec4f |
using | dmxpp::Value::EulerAngles = sourcepp::math::EulerAngles |
using | dmxpp::Value::Quaternion = sourcepp::math::Quat |
using | dmxpp::Value::Matrix4x4 = sourcepp::math::Mat4x4f |
using | dmxpp::Value::Generic = std::variant< Invalid, Element, int32_t, float, bool, std::string, std::vector< std::byte >, Time, Color, Vector2, Vector3, Vector4, Matrix4x4, std::vector< Element >, std::vector< int32_t >, std::vector< float >, std::vector< bool >, std::vector< std::string >, std::vector< std::vector< std::byte > >, std::vector< Time >, std::vector< Color >, std::vector< Vector2 >, std::vector< Vector3 >, std::vector< Vector4 >, std::vector< Matrix4x4 > > |
Functions | |
constexpr std::byte | dmxpp::Value::IDToByte (ID id) |
constexpr ID | dmxpp::Value::byteToID (std::byte id) |
constexpr ID | dmxpp::Value::arrayIDToInnerID (ID id) |
constexpr ID | dmxpp::Value::innerIDToArrayID (ID id) |
std::string | dmxpp::Value::IDToString (ID id) |
constexpr ID | dmxpp::Value::stringToID (std::string_view id) |