ValidationMessage ValidationMessage::error(const std::string& message) { return ValidationMessage(ERROR, message); }
ValidationMessage ValidationMessage::warning(const std::string& message) { return ValidationMessage(WARNING, message); }
ValidationMessage ValidationMessage::info(const std::string& message) { return ValidationMessage(INFO, message); }
void ValidationList::error(const std::string& message) { messages.push_back(ValidationMessage(ValidationMessage::ERROR, message)); }
void ValidationList::warning(const std::string& message) { messages.push_back(ValidationMessage(ValidationMessage::WARNING, message)); }
void ValidationList::info(const std::string& message) { messages.push_back(ValidationMessage(ValidationMessage::INFO, message)); }