YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ParseName.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_SERVERSQL_IMPL_PARSENAME_H
8#define YARP_SERVERSQL_IMPL_PARSENAME_H
9
10#include <string>
11
12
13namespace yarp::serversql::impl {
14
16{
17private:
18 std::string carrier;
19 std::string networkChoice;
20 std::string portName;
21public:
22 void apply(const std::string& str);
23
24 std::string getPortName()
25 {
26 return portName;
27 }
28
29 std::string getCarrier()
30 {
31 return carrier;
32 }
33
34 std::string getNetworkChoice()
35 {
36 return networkChoice;
37 }
38
40 {
41 carrier = "";
42 }
43};
44
45} // namespace yarp::serversql::impl
46
47
48#endif // YARP_SERVERSQL_IMPL_PARSENAME_H
void apply(const std::string &str)
Definition ParseName.cpp:13