| 5091 | |
| 5092 | struct Colour { |
| 5093 | enum Code { |
| 5094 | None = 0, |
| 5095 | |
| 5096 | White, |
| 5097 | Red, |
| 5098 | Green, |
| 5099 | Blue, |
| 5100 | Cyan, |
| 5101 | Yellow, |
| 5102 | Grey, |
| 5103 | |
| 5104 | Bright = 0x10, |
| 5105 | |
| 5106 | BrightRed = Bright | Red, |
| 5107 | BrightGreen = Bright | Green, |
| 5108 | LightGrey = Bright | Grey, |
| 5109 | BrightWhite = Bright | White, |
| 5110 | BrightYellow = Bright | Yellow, |
| 5111 | |
| 5112 | // By intention |
| 5113 | FileName = LightGrey, |
| 5114 | Warning = BrightYellow, |
| 5115 | ResultError = BrightRed, |
| 5116 | ResultSuccess = BrightGreen, |
| 5117 | ResultExpectedFailure = Warning, |
| 5118 | |
| 5119 | Error = BrightRed, |
| 5120 | Success = Green, |
| 5121 | |
| 5122 | OriginalExpression = Cyan, |
| 5123 | ReconstructedExpression = BrightYellow, |
| 5124 | |
| 5125 | SecondaryText = LightGrey, |
| 5126 | Headers = White |
| 5127 | }; |
| 5128 | |
| 5129 | // Use constructed object for RAII guard |
| 5130 | Colour( Code _colourCode ); |
nothing calls this directly
no outgoing calls
no test coverage detected