|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
27 if (rhs.
prop !=
nullptr) {
35 name(std::move(rhs.name)),
51 if (rhs.
prop !=
nullptr) {
54 }
else if (
prop !=
nullptr) {
64 if (
prop ==
nullptr) {
72 if (
prop ==
nullptr) {
96 mPriv(new
Private(*(rhs.mPriv)))
114 *mPriv = *(rhs.mPriv);
122 std::swap(mPriv, rhs.mPriv);
129 return mPriv->readProperties();
134 return mPriv->writeProperties();
149 return mPriv->name_on_wire;
154 return !mPriv->name.empty();
164 if (!mPriv->name_on_wire.empty()) {
165 return mPriv->name +
":" + mPriv->name_on_wire;
167 if (!mPriv->name.empty()) {
177 t.mPriv->name = name;
184 t.mPriv->name = name;
185 t.mPriv->name_on_wire = name_on_wire;
192 t.mPriv->name =
"yarp/bottle";
193 t.mPriv->name_on_wire = name_on_wire;
void put(const std::string &key, const std::string &value)
Associate the given key with the given string.
A base class for nested structures that can be searched.
const Searchable & readProperties() const
Property & writeProperties()
std::string getName() const
static Type byNameOnWire(const char *name_on_wire)
virtual ~Type()
Destructor.
Private & operator=(const Private &rhs)
static Type byName(const char *name)
std::string getNameOnWire() const
Type & addProperty(const char *key, const Value &val)
void addProperty(const char *key, const Value &val)
Type & operator=(const Type &rhs)
Copy assignment operator.
static Bottle & getNullBottle()
A special Bottle with no content.
Private(const Private &rhs)
An interface to the operating system, including Port based communication.
A single value (typically within a Bottle).
Property & writeProperties()
std::string toString() const
A class for storing options and configuration information.
Private(Private &&rhs) noexcept
const Searchable & readProperties() const