17 const std::string& realName,
18 const std::string& homeDir,
19 const std::int32_t userID) :
31 if (!read_userName(reader)) {
34 if (!read_realName(reader)) {
37 if (!read_homeDir(reader)) {
40 if (!read_userID(reader)) {
65 if (!write_userName(writer)) {
68 if (!write_realName(writer)) {
71 if (!write_homeDir(writer)) {
74 if (!write_userID(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.
std::string toString() const
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
IDL-friendly connection reader.
bool readString(std::string &str, bool *is_vocab=nullptr)
bool readI32(std::int32_t &x)
IDL-friendly connection writer.
bool writeI32(std::int32_t x, bool skip_tag=false) const
bool writeListHeader(int len) const
bool writeString(const std::string &str, bool skip_tag=false) const
An interface to the operating system, including Port based communication.