15 const std::string& transcription,
19 transcription(transcription),
27 if (!nested_read_ret(reader)) {
30 if (!read_transcription(reader)) {
33 if (!read_score(reader)) {
58 if (!nested_write_ret(writer)) {
61 if (!write_transcription(writer)) {
64 if (!write_score(writer)) {
bool read(yarp::os::idl::WireReader &reader) override
std::string transcription
yarp::dev::ReturnValue ret
return_transcribe()=default
std::string toString() const
bool write(const yarp::os::idl::WireWriter &writer) const 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)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
bool writeString(const std::string &str, bool skip_tag=false) const
bool writeNested(const WirePortable &obj) const