|
Porytiles
|
The result of an inference run. More...
#include <metatile_attribute_inference.hpp>
Public Attributes | |
| AttributeInferenceStatus | status {AttributeInferenceStatus::not_provided} |
| std::vector< MetatileAttributeCandidateSet > | candidates |
| std::string | error_message |
| InferredAttributeDeclaration | declaration |
| std::vector< std::string > | unrecognized_defines |
The result of an inference run.
candidates is populated only when status is valid; a project with both bare and FRLG mask defines yields two sets (bare defines first). error_message carries the actionable diagnostic when status is invalid. declaration is the declared element width and the declaration it was read from; it is populated regardless of status, since the struct declaration is a project fact independent of whether a mask layout could be inferred. unrecognized_defines holds the METATILE_ATTR_ prefixed defines whose suffix is one inference does not read, in the order the scan supplied them. It is populated regardless of status as well: a dropped define may be exactly why a layout came out the way it did, so the caller reports it even on a run that fails for an unrelated reason.
Definition at line 214 of file metatile_attribute_inference.hpp.
| std::vector<MetatileAttributeCandidateSet> porytiles::MetatileAttributeInferenceResult::candidates |
Definition at line 216 of file metatile_attribute_inference.hpp.
| InferredAttributeDeclaration porytiles::MetatileAttributeInferenceResult::declaration |
Definition at line 218 of file metatile_attribute_inference.hpp.
| std::string porytiles::MetatileAttributeInferenceResult::error_message |
Definition at line 217 of file metatile_attribute_inference.hpp.
| AttributeInferenceStatus porytiles::MetatileAttributeInferenceResult::status {AttributeInferenceStatus::not_provided} |
Definition at line 215 of file metatile_attribute_inference.hpp.
| std::vector<std::string> porytiles::MetatileAttributeInferenceResult::unrecognized_defines |
Definition at line 219 of file metatile_attribute_inference.hpp.