Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
proto_tools.h File Reference
#include <string>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_format.h"
#include "google/protobuf/descriptor.h"
#include "google/protobuf/message.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 OR-Tools root namespace.

Functions

template<class Proto>
absl::StatusOr< Proto * > operations_research::SafeProtoDownCast (google::protobuf::Message *proto)
template<class Proto>
absl::StatusOr< const Proto * > operations_research::SafeProtoConstDownCast (const google::protobuf::Message *proto)
std::string operations_research::FullProtocolMessageAsString (const google::protobuf::Message &message, int indent_level)
void operations_research::ExploreAndCountAllProtoPathsInInstance (const google::protobuf::Message &message, absl::flat_hash_map< std::string, int > *proto_path_counts)