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

Classes | |
| class | AutoVisGroupWriter |
| class | EntityWriter |
Public Member Functions | |
| FGDWriter & | include (const std::filesystem::path &fgdPath) |
| FGDWriter & | version (int version) |
| FGDWriter & | mapSize (sourcepp::math::Vec2i mapSize) |
| FGDWriter & | materialExclusionDirs (std::initializer_list< std::string_view > dirs) |
| FGDWriter & | materialExclusionDirs (std::span< const std::string_view > dirs) |
| AutoVisGroupWriter | beginAutoVisGroup (std::string_view parentName) |
| EntityWriter | beginEntity (std::string_view classType, std::initializer_list< std::string_view > classProperties, std::string_view name, std::string_view description="", std::string_view docsURL="") |
| EntityWriter | beginEntity (std::string_view classType, std::span< const std::string_view > classProperties, std::string_view name, std::string_view description="", std::string_view docsURL="") |
| std::string | bake () const |
| bool | bake (const std::filesystem::path &fgdPath) const |
Static Public Member Functions | |
| static FGDWriter | begin () |
Protected Member Functions | |
| FGDWriter () | |
Protected Attributes | |
| std::string | backingData |
| BufferStream | writer |
| bool FGDWriter::bake | ( | const std::filesystem::path & | fgdPath | ) | const |
| FGDWriter::AutoVisGroupWriter FGDWriter::beginAutoVisGroup | ( | std::string_view | parentName | ) |
| FGDWriter::EntityWriter FGDWriter::beginEntity | ( | std::string_view | classType, |
| std::initializer_list< std::string_view > | classProperties, | ||
| std::string_view | name, | ||
| std::string_view | description = "", | ||
| std::string_view | docsURL = "" ) |
| FGDWriter::EntityWriter FGDWriter::beginEntity | ( | std::string_view | classType, |
| std::span< const std::string_view > | classProperties, | ||
| std::string_view | name, | ||
| std::string_view | description = "", | ||
| std::string_view | docsURL = "" ) |
| FGDWriter & FGDWriter::include | ( | const std::filesystem::path & | fgdPath | ) |
| FGDWriter & FGDWriter::mapSize | ( | sourcepp::math::Vec2i | mapSize | ) |
| FGDWriter & FGDWriter::materialExclusionDirs | ( | std::initializer_list< std::string_view > | dirs | ) |
| FGDWriter & FGDWriter::materialExclusionDirs | ( | std::span< const std::string_view > | dirs | ) |