Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
LegacyManifest.hpp File Reference
#include "LegacyDataArchive.hpp"
#include <cstdint>
#include <expected>
#include <filesystem>
#include <istream>
#include <span>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for LegacyManifest.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::data::ManifestError
 
struct  monopoly::data::LegacyManifestEntry
 
struct  monopoly::data::LegacyBankManifest
 

Namespaces

namespace  monopoly
 
namespace  monopoly::data
 

Enumerations

enum class  monopoly::data::ManifestErrorCode {
  monopoly::data::None , monopoly::data::FileOpenFailed , monopoly::data::MissingGeneratorSignature , monopoly::data::MissingDeclaredCount ,
  monopoly::data::MalformedDefinition , monopoly::data::UnknownItemPrefix , monopoly::data::TagOutOfRange , monopoly::data::DuplicateSymbol ,
  monopoly::data::DuplicateTag , monopoly::data::NonContiguousTag , monopoly::data::CountMismatch , monopoly::data::OutputOpenFailed ,
  monopoly::data::OutputWriteFailed
}
 

Functions

std::string_view monopoly::data::manifestErrorCodeName (ManifestErrorCode code) noexcept
 
std::expected< LegacyBankManifest, ManifestError > monopoly::data::parseDmakeManifest (std::istream &input, std::string bankName, std::filesystem::path diagnosticPath)
 
std::expected< LegacyBankManifest, ManifestError > monopoly::data::readDmakeManifest (const std::filesystem::path &path)
 
std::expected< void, ManifestError > monopoly::data::writeManifestTsv (const std::filesystem::path &outputPath, std::span< const LegacyBankManifest > manifests)