17 const std::string& prompt) :
27 if (!nested_read_ret(reader)) {
30 if (!read_prompt(reader)) {
55 if (!nested_write_ret(writer)) {
58 if (!write_prompt(writer)) {
return_readPrompt()=default
bool write(const yarp::os::idl::WireWriter &writer) const override
std::string toString() const
yarp::dev::ReturnValue ret
bool read(yarp::os::idl::WireReader &reader) override
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 readNested(WirePortable &obj)
bool readString(std::string &str, bool *is_vocab=nullptr)
bool read(WirePortable &obj)
IDL-friendly connection writer.
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeString(const std::string &str, bool skip_tag=false) const
bool writeNested(const WirePortable &obj) const