YARP
Yet Another Robot Platform
ConstString.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_OS_CONSTSTRING_H
10 #define YARP_OS_CONSTSTRING_H
11 
12 #include <yarp/conf/system.h>
13 
14 #if !defined(YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE)
15 YARP_COMPILER_WARNING("<yarp/os/ConstString.h> file is deprecated")
16 #endif
17 
18 #include <yarp/os/api.h>
19 
20 #include <string>
21 
22 namespace yarp {
23 namespace os {
24 
25 YARP_DEPRECATED_TYPEDEF_MSG("Use std::string instead")
26 std::string ConstString;
27 
28 } // namespace os
29 } // namespace yarp
30 
31 #endif // YARP_OS_CONSTSTRING_H
api.h
system.h
yarp::os::ConstString
std::string ConstString
Definition: ConstString.h:26
YARP_DEPRECATED_TYPEDEF_MSG
#define YARP_DEPRECATED_TYPEDEF_MSG(x)
Definition: api.h:102
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
YARP_COMPILER_WARNING
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
Definition: system.h:112