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

Go to the source code of this file.

Classes

struct  monopoly::data::ChunkError
 
struct  monopoly::data::ChunkInfo
 
class  monopoly::data::LegacyChunkReader
 

Namespaces

namespace  monopoly
 
namespace  monopoly::data
 

Enumerations

enum class  monopoly::data::ChunkErrorCode {
  monopoly::data::None , monopoly::data::EndOfParent , monopoly::data::ChunkNotFound , monopoly::data::HeaderTruncated ,
  monopoly::data::InvalidSize , monopoly::data::ChunkPastParent , monopoly::data::InvalidId , monopoly::data::MaximumDepth ,
  monopoly::data::AlreadyAtRoot , monopoly::data::InvalidLevel , monopoly::data::PositionOutOfRange
}
 

Functions

std::string_view monopoly::data::chunkErrorCodeName (ChunkErrorCode code) noexcept
 
std::expected< LegacyChunkReader, DataError > monopoly::data::openLegacyChunkReader (const DataSource &source, DataId id)