|
||||
File indexing completed on 2025-01-18 10:13:56
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2020-2023 UT-Battelle, LLC, and other Celeritas developers. 0003 // See the top-level COPYRIGHT file for details. 0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 //---------------------------------------------------------------------------// 0006 //! \file VecGeom/management/ColorUtils.h 0007 //! \brief Helper functions for writing colors to the terminal 0008 //---------------------------------------------------------------------------// 0009 #pragma once 0010 0011 namespace vecgeom { 0012 0013 //---------------------------------------------------------------------------// 0014 // Whether colors are enabled (currently read-only) 0015 bool use_color(); 0016 0017 //---------------------------------------------------------------------------// 0018 // Get an ANSI color code: [y]ellow / [r]ed / [ ]default / ... 0019 char const *color_code(char abbrev); 0020 0021 //---------------------------------------------------------------------------// 0022 } // namespace vecgeom
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |