wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::ValidationIssue Struct Reference

One validate() finding: where it is, how bad it is, and what is wrong. More...

#include <wowlib/formats/common/validation.hpp>

Public Member Functions

bool operator== (const ValidationIssue &) const =default

Public Attributes

ValidationSeverity severity = ValidationSeverity::Error
 Whether the client would misread the file (error) or merely find it unusual (warning).
std::string path
std::string message
 What is wrong, with the numbers involved.

Detailed Description

One validate() finding: where it is, how bad it is, and what is wrong.

Definition at line 45 of file validation.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::ValidationIssue::operator== ( const ValidationIssue & ) const
default

Member Data Documentation

◆ message

std::string wowlib::formats::ValidationIssue::message

What is wrong, with the numbers involved.

Definition at line 52 of file validation.hpp.

◆ path

std::string wowlib::formats::ValidationIssue::path

Definition at line 49 of file validation.hpp.

◆ severity

ValidationSeverity wowlib::formats::ValidationIssue::severity = ValidationSeverity::Error

Whether the client would misread the file (error) or merely find it unusual (warning).

Definition at line 47 of file validation.hpp.

Referenced by wowlib::formats::ValidationReport::errorCount(), and wowlib::formats::ValidationReport::ok().


The documentation for this struct was generated from the following file: