17#ifndef OR_TOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_
18#define OR_TOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_
26#include "absl/strings/string_view.h"
27#include "google/protobuf/repeated_ptr_field.h"
52 absl::string_view prefix =
"");
62 absl::string_view prefix =
"",
73 int level, absl::string_view prefix =
"",
95 google::protobuf::RepeatedPtrField<std::string>* sink);
static constexpr SourceLocation current()
An object oriented wrapper for quadratic constraints in ModelStorage.
std::function< void(const std::vector< std::string > &)> MessageCallback
MessageCallback RepeatedPtrFieldMessageCallback(google::protobuf::RepeatedPtrField< std::string > *sink)
MessageCallback PrinterMessageCallback(std::ostream &output_stream, const absl::string_view prefix)
MessageCallback VLoggerMessageCallback(int level, absl::string_view prefix, absl::SourceLocation loc)
MessageCallback InfoLoggerMessageCallback(const absl::string_view prefix, const absl::SourceLocation loc)
MessageCallback VectorMessageCallback(std::vector< std::string > *sink)