HEBench
utilities.hpp
Go to the documentation of this file.
1
2
// Copyright (C) 2021 Intel Corporation
3
// SPDX-License-Identifier: Apache-2.0
4
5
#ifndef _HEBench_API_Bridge_UtilitiesCPP_H_7e5fa8c2415240ea93eff148ed73539b
6
#define _HEBench_API_Bridge_UtilitiesCPP_H_7e5fa8c2415240ea93eff148ed73539b
7
8
#include <cstdint>
9
#include <string>
10
11
namespace
hebench
{
12
namespace
cpp {
13
namespace
Utilities {
14
25
std::uint64_t
copyString
(
char
*dst, std::uint64_t size,
const
std::string &src);
26
27
}
// namespace Utilities
28
}
// namespace cpp
29
}
// namespace hebench
30
31
#endif
// defined _HEBench_API_Bridge_UtilitiesCPP_H_7e5fa8c2415240ea93eff148ed73539b
hebench::cpp::Utilities::copyString
std::uint64_t copyString(char *dst, std::uint64_t size, const std::string &src)
Copies a C++ string object into a C-style string.
Definition:
utilities.cpp:13
hebench
Definition:
hebench_benchmark_category.h:18
api_bridge
hebench
api_bridge
cpp
utilities.hpp
Generated by
1.9.1