OR-Tools  9.3
google::protobuf::util Namespace Reference

Functions

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

Function Documentation

◆ ParseTextOrDie()

T google::protobuf::util::ParseTextOrDie ( const std::string &  input)

Definition at line 77 of file protobuf_util.h.

◆ RemoveAt()

int google::protobuf::util::RemoveAt ( RepeatedType *  array,
const IndexContainer &  indices 
)

Definition at line 50 of file protobuf_util.h.

◆ Truncate() [1/2]

void google::protobuf::util::Truncate ( RepeatedField< T > *  array,
int  new_size 
)
inline

Definition at line 36 of file protobuf_util.h.

◆ Truncate() [2/2]

void google::protobuf::util::Truncate ( RepeatedPtrField< T > *  array,
int  new_size 
)
inline

Definition at line 28 of file protobuf_util.h.