OR-Tools  9.6
port/proto_utils.h File Reference

Go to the source code of this file.

Namespaces

 operations_research
 Collection of objects used to extend the Constraint Solver library.
 

Functions

template<class P >
std::string ProtobufDebugString (const P &message)
 
template<class P >
std::string ProtobufShortDebugString (const P &message)
 
template<typename ProtoEnumType >
std::string ProtoEnumToString (ProtoEnumType enum_value)
 
template<typename ProtoType >
bool ProtobufTextFormatMergeFromString (absl::string_view proto_text_string, ProtoType *proto)
 
template<typename ProtoType >
bool ProtobufParseTextProtoForFlag (absl::string_view text, ProtoType *message_out, std::string *error_out)
 
template<typename ProtoType >
std::string ProtobufTextFormatPrintToString (const ProtoType proto)