Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
string_convert.hpp
1// Copyright 2020 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
21#ifndef FASTRTPS_UTILS_STRING_CONVERT_HPP_
22#define FASTRTPS_UTILS_STRING_CONVERT_HPP_
23
24#include <string>
25
26#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
27namespace eprosima {
28namespace fastrtps {
29
30std::wstring wstring_from_bytes(
31 const std::string& str);
32std::string wstring_to_bytes(
33 const std::wstring& str);
34
35} /* namespace fastrtps */
36} /* namespace eprosima */
37#endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
38
39#endif /* FASTRTPS_UTILS_STRING_CONVERT_HPP_ */
std::string wstring_to_bytes(const std::wstring &str)
std::wstring wstring_from_bytes(const std::string &str)
eProsima namespace.
Definition LibrarySettingsAttributes.h:23