Aldebaran documentation
|
C++ Libraries
|
index
libqi-api
2.1.4.13
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
qi
iocolor.hpp
Go to the documentation of this file.
1
/*
2
** Author(s):
3
** - Cedric GESTES <gestes@aldebaran-robotics.com>
4
**
5
** Copyright (C) 2013 Aldebaran Robotics
6
*/
7
8
#ifndef _QI_IOCOLOR_HPP_
9
#define _QI_IOCOLOR_HPP_
10
11
#include <
qi/api.hpp
>
12
#include <ostream>
13
14
namespace
qi {
15
16
enum
StreamColor
{
17
//no color
18
StreamColor_None
= 0,
19
20
//attributes control
21
StreamColor_Reset
= 1,
22
StreamColor_Bold
= 2,
23
StreamColor_Faint
= 3,
24
StreamColor_Standout
= 4,
25
StreamColor_Underline
= 5,
26
StreamColor_Blink
= 6,
27
StreamColor_Overline
= 7,
28
29
//light colors
30
StreamColor_Black
= 8,
31
StreamColor_DarkRed
= 9,
32
StreamColor_DarkGreen
= 10,
33
StreamColor_Brown
= 11,
34
StreamColor_DarkBlue
= 12,
35
StreamColor_Purple
= 13,
36
StreamColor_Teal
= 14,
37
StreamColor_LightGray
= 15,
38
39
//dark colors
40
StreamColor_DarkGray
= 16,
41
StreamColor_Red
= 17,
42
StreamColor_Green
= 18,
43
StreamColor_Yellow
= 19,
44
StreamColor_Blue
= 20,
45
StreamColor_Fuchsia
= 21,
46
StreamColor_Turquoise
= 22,
47
StreamColor_White
= 23,
48
};
49
}
50
51
namespace
std {
52
QI_API
std::ostream&
operator<<
(std::ostream& os,
qi::StreamColor
col);
53
}
54
55
#endif // _QI_IOCOLOR_HPP_
56
qi::StreamColor_Purple
Definition:
iocolor.hpp:35
qi::StreamColor_DarkRed
Definition:
iocolor.hpp:31
qi::StreamColor_Fuchsia
Definition:
iocolor.hpp:45
qi::StreamColor_Yellow
Definition:
iocolor.hpp:43
qi::StreamColor_Black
Definition:
iocolor.hpp:30
qi::StreamColor_Overline
Definition:
iocolor.hpp:27
qi::StreamColor_Blink
Definition:
iocolor.hpp:26
qi::StreamColor_Blue
Definition:
iocolor.hpp:44
qi::StreamColor_Underline
Definition:
iocolor.hpp:25
qi::StreamColor_Reset
Definition:
iocolor.hpp:21
qi::StreamColor_Teal
Definition:
iocolor.hpp:36
qi::StreamColor_Standout
Definition:
iocolor.hpp:24
qi::StreamColor_None
Definition:
iocolor.hpp:18
qi::StreamColor_Green
Definition:
iocolor.hpp:42
qi::StreamColor_DarkGray
Definition:
iocolor.hpp:40
qi::StreamColor_DarkBlue
Definition:
iocolor.hpp:34
qi::StreamColor_LightGray
Definition:
iocolor.hpp:37
qi::StreamColor_Brown
Definition:
iocolor.hpp:33
qi::StreamColor_DarkGreen
Definition:
iocolor.hpp:32
qi::StreamColor_White
Definition:
iocolor.hpp:47
qi::StreamColor_Faint
Definition:
iocolor.hpp:23
qi::StreamColor_Red
Definition:
iocolor.hpp:41
qi::StreamColor_Bold
Definition:
iocolor.hpp:22
api.hpp
dll import/export and compiler message
QI_API
#define QI_API
Definition:
api.hpp:24
qi::StreamColor
StreamColor
Definition:
iocolor.hpp:16
qi::StreamColor_Turquoise
Definition:
iocolor.hpp:46
std::operator<<
std::ostream & operator<<(std::ostream &os, qi::StreamColor col)
Copyright Aldebaran Robotics