thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ColourOutput.h
1 // -*- C++ -*-
2 //
3 // ColourOutput.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2019 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_ColourOutput_H
10 #define ThePEG_ColourOutput_H
11 
12 #include <ostream>
13 
14 namespace ThePEG {
15 
16 enum class ANSI {
17  reset = 0,
18 
19  black = 30,
20  red = 31,
21  green = 32,
22  yellow = 33,
23  blue = 34,
24  magenta = 35,
25  cyan = 36,
26  white = 37,
27 
28  fg_reset = 39,
29 
30  bg_black = 40,
31  bg_red = 41,
32  bg_green = 42,
33  bg_yellow = 43,
34  bg_blue = 44,
35  bg_magenta = 45,
36  bg_cyan = 46,
37  bg_white = 47,
38 
39  bg_reset = 49
40 
41 };
42 
43 std::ostream& operator<<(std::ostream & os, ANSI c);
44 
45 }
46 
47 #endif /* ThePEG_ColourOutput_H */
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
vector< T > & operator<<(vector< T > &tv, const U &u)
Overload the left shift operator for vector to push_back objects to a vector.
Definition: Containers.h:179