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);
}
Пример #4
0
void ValidationList::error(const std::string& message) {
    messages.push_back(ValidationMessage(ValidationMessage::ERROR, message));
}
Пример #5
0
void ValidationList::warning(const std::string& message) {
    messages.push_back(ValidationMessage(ValidationMessage::WARNING, message));
}
Пример #6
0
void ValidationList::info(const std::string& message) {
    messages.push_back(ValidationMessage(ValidationMessage::INFO, message));
}