• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ParadoxGameConverters / commonItems / 15810658240

22 Jun 2025 08:48PM UTC coverage: 78.62% (+2.6%) from 75.975%
15810658240

push

github

web-flow
Remove deprecarted functions. (#286)

1721 of 2189 relevant lines covered (78.62%)

244.39 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/ModLoader/ModParser.h
1
#ifndef MOD_PARSER_H
2
#define MOD_PARSER_H
3

4

5
#include <filesystem>
6

7
#include "../ConvenientParser.h"
8
#include <set>
9

10

11

12
namespace commonItems
13
{
14
class ModParser: convenientParser
15
{
16
  public:
17
        ModParser() = default;
×
18

19
        void parseMod(std::istream& theStream);
20
        void parseMod(const std::filesystem::path& fileName);
21
        void parseMetadata(std::istream& theStream);
22
        void parseMetadata(const std::filesystem::path& fileName);
23

24
        [[nodiscard]] const auto& getName() const { return name_; }
×
25
        [[nodiscard]] const auto& getFilesystemPath() const { return path_; }
×
26
        [[nodiscard]] auto isValid() const { return !name_.empty() && !path_.empty(); }
×
27
        [[nodiscard]] auto isCompressed() const { return compressed_; }
×
28
        [[nodiscard]] const auto& getDependencies() const { return dependencies_; }
×
29
        [[nodiscard]] const auto& getFilesystemReplacedPaths() const { return replacedPaths_; }
×
30

31
        void setPath(const std::filesystem::path& path) { path_ = path; }
×
32

33
  private:
34
        void registerKeys();
35

36
        std::string name_;
37
        std::filesystem::path path_;
38
        bool compressed_ = false;
39
        std::set<std::string> dependencies_;
40
        std::set<std::filesystem::path> replacedPaths_;
41
};
42
} // namespace commonItems
43

44
#endif // MOD_PARSER_H
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc