Apollo 10.0
自动驾驶开放平台
string_util.h 文件参考

Some string util functions. 更多...

#include <string>
#include "absl/strings/str_format.h"
#include "modules/common/util/future.h"
string_util.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

struct  apollo::common::util::DebugStringFormatter
 

命名空间

namespace  apollo::common::util
 apollo::common::util
 
namespace  apollo
 class register implement
 
namespace  apollo::common
 apollo::common
 

宏定义

#define FORMAT_TIMESTAMP(timestamp)    std::fixed << std::setprecision(9) << timestamp
 

函数

std::string apollo::common::util::EncodeBase64 (std::string_view in)
 

详细描述

Some string util functions.

在文件 string_util.h 中定义.

宏定义说明

◆ FORMAT_TIMESTAMP

#define FORMAT_TIMESTAMP (   timestamp)     std::fixed << std::setprecision(9) << timestamp

在文件 string_util.h29 行定义.

35 {
36namespace common {
37namespace util {
38
39using absl::StrFormat;
40
41struct DebugStringFormatter {
42 template <class T>
43 void operator()(std::string* out, const T& t) const {
44 out->append(t.DebugString());
45 }
46};
47
48std::string EncodeBase64(std::string_view in);
49
50} // namespace util
51} // namespace common
52} // namespace apollo
std::string EncodeBase64(std::string_view in)