25 if (!read_privdata(reader)) {
50 if (!write_privdata(writer)) {
95 if constexpr (expected_tag != 0) {
96 if (_csize != 0 && _etype.
code != expected_tag) {
101 for (
size_t _i0 = 0; _i0 < _csize; ++_i0) {
122 for (
const auto& _item :
privdata) {
146 if constexpr (expected_tag != 0) {
147 if (_csize != 0 && _etype.
code != expected_tag) {
152 for (
size_t _i0 = 0; _i0 < _csize; ++_i0) {
173 for (
const auto& _item :
privdata) {
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.
void readListBegin(yarp::os::idl::WireState &nstate, size_t &len)
bool readSizeT(std::size_t &x)
IDL-friendly connection writer.
bool writeListHeader(int len) const
bool writeListEnd() const
bool writeListBegin(int tag, size_t len) const
bool writeSizeT(std::size_t x, bool skip_tag=false) const
std::string toString() const
VectorOfSizetData()=default
bool read(yarp::os::idl::WireReader &reader) override
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
std::vector< size32 > privdata