Apollo
10.0
自动驾驶开放平台
color.h
浏览该文件的文档.
1
/******************************************************************************
2
* Copyright 2017 The Apollo Authors. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*****************************************************************************/
16
22
#pragma once
23
24
#include <cstdio>
25
26
namespace
apollo
{
27
namespace
common {
28
namespace
color {
29
30
constexpr
char
ANSI_RED
[] =
"\x1b[31m"
;
31
constexpr
char
ANSI_GREEN
[] =
"\x1b[32m"
;
32
constexpr
char
ANSI_YELLOW
[] =
"\x1b[33m"
;
33
constexpr
char
ANSI_BLUE
[] =
"\x1b[34m"
;
34
constexpr
char
ANSI_MAGENTA
[] =
"\x1b[35m"
;
35
constexpr
char
ANSI_CYAN
[] =
"\x1b[36m"
;
36
constexpr
char
ANSI_RESET
[] =
"\x1b[0m"
;
37
38
}
// namespace color
39
}
// namespace common
40
}
// namespace apollo
apollo::common::color::ANSI_YELLOW
constexpr char ANSI_YELLOW[]
Definition
color.h:32
apollo::common::color::ANSI_MAGENTA
constexpr char ANSI_MAGENTA[]
Definition
color.h:34
apollo::common::color::ANSI_RESET
constexpr char ANSI_RESET[]
Definition
color.h:36
apollo::common::color::ANSI_RED
constexpr char ANSI_RED[]
Definition
color.h:30
apollo::common::color::ANSI_GREEN
constexpr char ANSI_GREEN[]
Definition
color.h:31
apollo::common::color::ANSI_BLUE
constexpr char ANSI_BLUE[]
Definition
color.h:33
apollo::common::color::ANSI_CYAN
constexpr char ANSI_CYAN[]
Definition
color.h:35
apollo
class register implement
Definition
arena_queue.h:37
modules
common
util
color.h