Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
proto_tools.h File Reference
#include <string>
#include "absl/base/casts.h"
#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
 In SWIG mode, we don't want anything besides these top-level includes.
 

Functions

template<class Proto >
absl::StatusOr< Proto * > operations_research::SafeProtoDownCast (google::protobuf::Message *proto)
 Implementation of function templates.
 
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)