google_protobuf_compat.h#
-
namespace google#
-
namespace protobuf#
Typedefs
-
template<typename T>
using RepeatedField = onnx_light::utils::RepeatedField<T>#
-
template<typename T>
using RepeatedPtrField = onnx_light::utils::RepeatedProtoField<T>#
-
template<typename T>
using RepeatedFieldBackInsertIterator = onnx_light::utils::RepeatedFieldBackInsertIterator<T># Output iterator that appends to a RepeatedField via push_back. onnx-light provides the concrete implementation; this is a pure alias.
Functions
-
template<typename T>
RepeatedFieldBackInsertIterator<T> RepeatedFieldBackInserter(RepeatedField<T> *field)# Creates a back-insert iterator for a RepeatedField.
-
inline void ShutdownProtobufLibrary()#
No-op: onnx-light has no global protobuf state to shut down.
-
namespace io#
Typedefs
-
using ArrayInputStream = onnx_light::utils::StringStream#
Zero-copy input stream over an in-memory buffer. onnx-light’s StringStream (a concrete BinaryStream) implements the protobuf ZeroCopyInputStream interface and accepts a (const void*, int) buffer.
-
using CodedInputStream = onnx_light::utils::CodedInputStream#
Minimal coded input stream wrapping an ArrayInputStream.
-
using StringOutputStream = onnx_light::utils::StdStringWriteStream#
Zero-copy output stream that appends to a std::string.
-
using FileOutputStream = onnx_light::utils::FdWriteStream#
Zero-copy output stream wrapping a file descriptor.
-
using IstreamInputStream = onnx_light::utils::IstreamStream#
Zero-copy input stream that owns a copy of a std::istream’s contents.
-
using OstreamOutputStream = onnx_light::utils::OstreamWriteStream#
Zero-copy output stream wrapping a std::ostream.
-
using ArrayInputStream = onnx_light::utils::StringStream#
-
template<typename T>
-
namespace protobuf#