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
13
namespace
yarp::serversql::impl
{
14
15
class
ParseName
16
{
17
private
:
18
std::string carrier;
19
std::string networkChoice;
20
std::string portName;
21
public
:
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
39
void
resetCarrier
()
40
{
41
carrier =
""
;
42
}
43
};
44
45
}
// namespace yarp::serversql::impl
46
47
48
#endif
// YARP_SERVERSQL_IMPL_PARSENAME_H
yarp::serversql::impl::ParseName
Definition
ParseName.h:16
yarp::serversql::impl::ParseName::getNetworkChoice
std::string getNetworkChoice()
Definition
ParseName.h:34
yarp::serversql::impl::ParseName::getCarrier
std::string getCarrier()
Definition
ParseName.h:29
yarp::serversql::impl::ParseName::apply
void apply(const std::string &str)
Definition
ParseName.cpp:13
yarp::serversql::impl::ParseName::resetCarrier
void resetCarrier()
Definition
ParseName.h:39
yarp::serversql::impl::ParseName::getPortName
std::string getPortName()
Definition
ParseName.h:24
yarp::serversql::impl
Definition
Allocator.h:13
YARP
3.8.1+155-20230929.2+git30bb7af5c
src
libYARP_serversql
src
yarp
serversql
impl
ParseName.h
Generated on Wed Oct 4 2023 02:22:33 for YARP by
1.9.8