YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Param.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_ROBOTINTERFACE_PARAM_H
7#define YARP_ROBOTINTERFACE_PARAM_H
8
10
11namespace yarp {
12
13namespace os {
14class Property;
15} // namespace os
16
17namespace robotinterface {
18
20{
21public:
22 explicit Param(bool isGroup = false);
23 Param(const std::string& name, const std::string& value, bool isGroup = false);
24 Param(const Param& other);
25 Param& operator=(const Param& other);
26
27 virtual ~Param();
28
29 std::string& name();
30 std::string& value();
31
32 const std::string& name() const;
33 const std::string& value() const;
34
35 bool isGroup() const;
36
37 yarp::os::Property toProperty() const;
38
39private:
40 class Private;
41 Private* const mPriv;
42}; // class Param
43
44} // namespace robotinterface
45} // namespace yarp
46
47namespace std {
48YARP_robotinterface_API std::ostream& operator<<(std::ostream& oss, const yarp::robotinterface::Param& t);
49}
51
52
53#endif // YARP_ROBOTINTERFACE_PARAM_H
yarp::os::LogStream operator<<(yarp::os::LogStream dbg, const yarp::robotinterface::Param &t)
Definition Param.cpp:37
A class for storing options and configuration information.
Definition Property.h:33
Param(const Param &other)
STL namespace.
The main, catch-all namespace for YARP.
Definition dirs.h:16
std::ostream & operator<<(std::ostream &os, StrStream &sstr)
Definition utility.cpp:85
#define YARP_robotinterface_API
Definition api.h:18