15 const std::string& frameName,
16 const std::string& additionalMetadata) :
20 additionalMetadata(additionalMetadata)
27 if (!read_name(reader)) {
30 if (!read_frameName(reader)) {
33 if (!read_additionalMetadata(reader)) {
58 if (!write_name(writer)) {
61 if (!write_frameName(writer)) {
64 if (!write_additionalMetadata(writer)) {
A simple collection of objects that can be described and transmitted in a portable way.
std::string toString() const override
Gives a human-readable textual representation of the bottle.
An interface for reading from a network connection.
An interface for writing to a network connection.
static bool copyPortable(const PortWriter &writer, PortReader &reader)
Copy one portable to another, via writing and reading.
IDL-friendly connection reader.
bool readString(std::string &str, bool *is_vocab=nullptr)
IDL-friendly connection writer.
bool writeListHeader(int len) const
bool writeString(const std::string &str, bool skip_tag=false) const