Class for displaying section for different steps of simulation.  
 More...
#include <LogPart.hpp>
Class for displaying section for different steps of simulation. 
Definition at line 33 of file LogPart.hpp.
◆ LogPart()
      
        
          | geos::LogPart::LogPart | ( | string_view | logPartTitle, | 
        
          |  |  | bool | enableOutput | 
        
          |  | ) |  |  | 
      
 
Initialize a LogPart given a title. 
- Parameters
- 
  
    | logPartTitle | The title who will be used for top and bottom LogPart |  | enableOutput | Boolean to activate or not csv output |  
 
 
 
◆ addDescription() [1/2]
      
        
          | void geos::LogPart::addDescription | ( | string_view | description | ) |  | 
      
 
Add a description to the top logPart. No specific format will be apply the this description. 
- Parameters
- 
  
    | description | The string value of the description. |  
 
 
 
◆ addDescription() [2/2]
template<typename ... Args> 
      
        
          | void geos::LogPart::addDescription | ( | string_view | name, | 
        
          |  |  | Args const &... | args | 
        
          |  | ) |  |  | 
      
 
Add a description to the top LogPart. 
- Parameters
- 
  
    | name | The first part of the description |  | args | The remaining part of the description,all remaining values will be concatened and aligned |  
 
- Note
- Descriptions values can be be any formatted types. 
Definition at line 225 of file LogPart.hpp.
 
 
◆ addEndDescription() [1/2]
      
        
          | void geos::LogPart::addEndDescription | ( | string_view | description | ) |  | 
      
 
Add a description to the top logPart. No specific format will be apply the this description. 
- Parameters
- 
  
    | description | The string value of the description |  
 
 
 
◆ addEndDescription() [2/2]
template<typename ... Args> 
      
        
          | void geos::LogPart::addEndDescription | ( | string_view | name, | 
        
          |  |  | Args const &... | args | 
        
          |  | ) |  |  | 
      
 
Add a description to the bottom logPart by concatening a description name and descriptions values. 
- Parameters
- 
  
    | name | The first part of the description |  | args | The remaining part of the description, all remaining values will be concatened and aligned |  
 
- Note
- Descriptions values can be be any formatted types. 
Definition at line 231 of file LogPart.hpp.
 
 
◆ begin()
      
        
          | void geos::LogPart::begin | ( | std::ostream & | os = std::cout | ) |  | 
      
 
Draw the first part of the logPart. It include the title and optionnaly the description(s). 
- Parameters
- 
  
    | os | An output stream (by default, std::cout) |  
 
 
 
◆ enableOutput()
  
  | 
        
          | void geos::LogPart::enableOutput | ( | bool | enabled | ) |  |  | inline | 
 
Toggles the CSV output feature. 
- Parameters
- 
  
    | enabled | Boolean to activate csv output |  
 
Definition at line 102 of file LogPart.hpp.
 
 
◆ end()
      
        
          | void geos::LogPart::end | ( | std::ostream & | oss = std::cout | ) |  | 
      
 
Draw the last part of the logPart. It include the title and optionnaly the end description(s). 
- Parameters
- 
  
    | oss | An output stream (by default, std::cout) |  
 
 
 
◆ setMaxWidth()
      
        
          | void geos::LogPart::setMaxWidth | ( | size_t const & | maxWidth | ) |  | 
      
 
Set the maximal width of the LogPart. 
- Parameters
- 
  
    | maxWidth | The maximal width to apply |  
 
 
 
◆ setMinWidth()
      
        
          | void geos::LogPart::setMinWidth | ( | size_t const & | minWidth | ) |  | 
      
 
Set the minimal width of the LogPart. 
- Parameters
- 
  
    | minWidth | The minimal width to apply |  
 
 
 
The documentation for this class was generated from the following file: