Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
protobuf_util.h File Reference
#include <string>
#include "google/protobuf/repeated_field.h"
#include "google/protobuf/text_format.h"
#include "ortools/base/logging.h"

Go to the source code of this file.

Namespaces

namespace  google
 
namespace  google::protobuf
 
namespace  google::protobuf::util
 

Functions

template<typename T >
void google::protobuf::util::Truncate (RepeatedPtrField< T > *array, int new_size)
 RepeatedPtrField version.
 
template<typename T >
void google::protobuf::util::Truncate (RepeatedField< T > *array, int new_size)
 RepeatedField version.
 
template<typename RepeatedType , typename IndexContainer = std::vector<int>>
int google::protobuf::util::RemoveAt (RepeatedType *array, const IndexContainer &indices)
 
template<typename T >
google::protobuf::util::ParseTextOrDie (const std::string &input)