Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:38:31

0001 // -*- C++ -*-
0002 //
0003 // ColourOutput.h is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef ThePEG_ColourOutput_H
0010 #define ThePEG_ColourOutput_H
0011 
0012 #include <ostream>
0013 
0014 namespace ThePEG {
0015 
0016 enum class ANSI {
0017   reset      =  0,
0018 
0019   black      = 30,
0020   red        = 31,
0021   green      = 32,
0022   yellow     = 33,
0023   blue       = 34,
0024   magenta    = 35,
0025   cyan       = 36,
0026   white      = 37,
0027 
0028   fg_reset   = 39,
0029 
0030   bg_black   = 40,
0031   bg_red     = 41,
0032   bg_green   = 42,
0033   bg_yellow  = 43,
0034   bg_blue    = 44,
0035   bg_magenta = 45,
0036   bg_cyan    = 46,
0037   bg_white   = 47,
0038 
0039   bg_reset   = 49
0040 
0041 };
0042 
0043 std::ostream& operator<<(std::ostream & os, ANSI c);
0044 
0045 }
0046 
0047 #endif /* ThePEG_ColourOutput_H */