Cppcheck
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CheckersReport Class Reference

#include <checkersreport.h>

Public Member Functions

 CheckersReport (const Settings &settings, const std::set< std::string > &activeCheckers)
 
int getActiveCheckersCount ()
 
int getAllCheckersCount ()
 
std::string getReport (const std::string &criticalErrors) const
 

Private Member Functions

void countCheckers ()
 

Private Attributes

const SettingsmSettings
 
const std::set< std::string > & mActiveCheckers
 
int mActiveCheckersCount = 0
 
int mAllCheckersCount = 0
 

Detailed Description

Definition at line 29 of file checkersreport.h.

Constructor & Destructor Documentation

◆ CheckersReport()

CheckersReport::CheckersReport ( const Settings settings,
const std::set< std::string > &  activeCheckers 
)

Definition at line 91 of file checkersreport.cpp.

Member Function Documentation

◆ countCheckers()

void CheckersReport::countCheckers ( )
private

◆ getActiveCheckersCount()

int CheckersReport::getActiveCheckersCount ( )

Definition at line 95 of file checkersreport.cpp.

References countCheckers(), mActiveCheckersCount, and mAllCheckersCount.

◆ getAllCheckersCount()

int CheckersReport::getAllCheckersCount ( )

Definition at line 103 of file checkersreport.cpp.

References countCheckers(), and mAllCheckersCount.

◆ getReport()

std::string CheckersReport::getReport ( const std::string &  criticalErrors) const

Member Data Documentation

◆ mActiveCheckers

const std::set<std::string>& CheckersReport::mActiveCheckers
private

Definition at line 40 of file checkersreport.h.

Referenced by countCheckers(), and getReport().

◆ mActiveCheckersCount

int CheckersReport::mActiveCheckersCount = 0
private

Definition at line 44 of file checkersreport.h.

Referenced by countCheckers(), and getActiveCheckersCount().

◆ mAllCheckersCount

int CheckersReport::mAllCheckersCount = 0
private

Definition at line 45 of file checkersreport.h.

Referenced by countCheckers(), getActiveCheckersCount(), and getAllCheckersCount().

◆ mSettings

const Settings& CheckersReport::mSettings
private

Definition at line 39 of file checkersreport.h.

Referenced by countCheckers(), and getReport().


The documentation for this class was generated from the following files: