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

Classes | |
| struct | Command |
| struct | Sequence |
Public Types | |
| enum class | Type { INVALID , BINARY , KEYVALUES_HPP , KEYVALUES_STRATA } |
Public Member Functions | |
| CmdSeq (Type type_) | |
| CmdSeq (const std::filesystem::path &cmdSeqPath) | |
| operator bool () const | |
| Type | getType () const |
| void | setType (Type type_) |
| float | getBinaryVersion () const |
| void | setBinaryVersion (bool isV02) |
| std::vector< Sequence > & | getSequences () |
| const std::vector< Sequence > & | getSequences () const |
| std::vector< std::byte > | bake () const |
| bool | bake (const std::filesystem::path &path) const |
Protected Member Functions | |
| void | parseBinary (const std::filesystem::path &path) |
| void | parseKeyValuesHPP (const std::filesystem::path &path) |
| void | parseKeyValuesStrata (const std::filesystem::path &path) |
| std::vector< std::byte > | bakeBinary () const |
| std::vector< std::byte > | bakeKeyValuesHPP () const |
| std::vector< std::byte > | bakeKeyValuesStrata () const |
Protected Attributes | |
| Type | type |
| float | version |
| std::vector< Sequence > | sequences |
|
strong |
|
explicit |
Definition at line 65 of file CmdSeq.cpp.
|
explicit |
Definition at line 69 of file CmdSeq.cpp.
|
nodiscard |
Definition at line 310 of file CmdSeq.cpp.
| bool CmdSeq::bake | ( | const std::filesystem::path & | path | ) | const |
Definition at line 325 of file CmdSeq.cpp.
|
nodiscardprotected |
Definition at line 227 of file CmdSeq.cpp.
|
nodiscardprotected |
Definition at line 262 of file CmdSeq.cpp.
|
nodiscardprotected |
Definition at line 284 of file CmdSeq.cpp.
|
nodiscard |
Definition at line 117 of file CmdSeq.cpp.
|
nodiscard |
Definition at line 219 of file CmdSeq.cpp.
|
nodiscard |
Definition at line 223 of file CmdSeq.cpp.
|
nodiscard |
Definition at line 109 of file CmdSeq.cpp.
|
explicitnodiscard |
Definition at line 105 of file CmdSeq.cpp.
|
protected |
Definition at line 129 of file CmdSeq.cpp.
|
protected |
Definition at line 163 of file CmdSeq.cpp.
|
protected |
Definition at line 189 of file CmdSeq.cpp.
| void CmdSeq::setBinaryVersion | ( | bool | isV02 | ) |
Definition at line 121 of file CmdSeq.cpp.
| void CmdSeq::setType | ( | Type | type_ | ) |
Definition at line 113 of file CmdSeq.cpp.