|
Apache Mesos
|
#include <assert.h>#include <errno.h>#include <stdint.h>#include <unistd.h>#include <sys/types.h>#include <string>#include <type_traits>#include <vector>#include <google/protobuf/descriptor.h>#include <google/protobuf/descriptor.pb.h>#include <google/protobuf/message.h>#include <google/protobuf/repeated_field.h>#include <google/protobuf/io/zero_copy_stream_impl.h>#include <stout/abort.hpp>#include <stout/base64.hpp>#include <stout/error.hpp>#include <stout/json.hpp>#include <stout/jsonify.hpp>#include <stout/none.hpp>#include <stout/nothing.hpp>#include <stout/representation.hpp>#include <stout/result.hpp>#include <stout/stringify.hpp>#include <stout/try.hpp>#include <stout/os/close.hpp>#include <stout/os/int_fd.hpp>#include <stout/os/lseek.hpp>#include <stout/os/open.hpp>#include <stout/os/read.hpp>#include <stout/os/write.hpp>Go to the source code of this file.
Namespaces | |
| protobuf | |
| protobuf::internal | |
| JSON | |
Functions | |
| Try< Nothing > | protobuf::write (int_fd fd, const google::protobuf::Message &message) |
| template<typename T > | |
| Try< Nothing > | protobuf::write (int_fd fd, const google::protobuf::RepeatedPtrField< T > &messages) |
| template<typename T > | |
| Try< Nothing > | protobuf::write (const std::string &path, const T &t) |
| Try< Nothing > | protobuf::append (const std::string &path, const google::protobuf::Message &message) |
| template<typename T > | |
| Try< T > | protobuf::deserialize (const std::string &value) |
| template<typename T > | |
| Try< std::string > | protobuf::serialize (const T &t) |
| template<typename T > | |
| Result< T > | protobuf::read (int_fd fd, bool ignorePartial=false, bool undoFailed=false) |
| template<typename T > | |
| Try< T > | protobuf::read (const std::string &path) |
| Try< Nothing > | protobuf::internal::parse (google::protobuf::Message *message, const JSON::Object &object) |
| template<typename T > | |
| Try< T > | protobuf::parse (const JSON::Value &value) |
| void | JSON::json (ObjectWriter *writer, const Protobuf &protobuf) |
| Object | JSON::protobuf (const google::protobuf::Message &message) |
| template<typename T > | |
| Array | JSON::protobuf (const google::protobuf::RepeatedPtrField< T > &repeated) |
1.8.5