|
MorphologicalAttributeFilters
Public API documentation
|
Non-throwing validation result returned by edit-session checks. More...
#include <MorphologicalTree.hpp>
Public Member Functions | |
| operator bool () const noexcept | |
| Allows validation results to be tested directly in boolean contexts. | |
Public Attributes | |
| bool | ok = false |
| True when the checked tree topology satisfies the validation contract. | |
| std::string | message |
Human-readable diagnostic, especially useful when ok is false. | |
Non-throwing validation result returned by edit-session checks.
ok carries the success flag and message carries a diagnostic when validation fails. The explicit boolean conversion mirrors ok so callers can write compact checks while still preserving the detailed message.
Definition at line 72 of file MorphologicalTree.hpp.
|
inlineexplicitnoexcept |
Allows validation results to be tested directly in boolean contexts.
Definition at line 82 of file MorphologicalTree.hpp.
| std::string mmcfilters::TreeValidationResult::message |
Human-readable diagnostic, especially useful when ok is false.
Definition at line 77 of file MorphologicalTree.hpp.
True when the checked tree topology satisfies the validation contract.
Definition at line 74 of file MorphologicalTree.hpp.