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

#include <singleexecutor.h>

Inheritance diagram for SingleExecutor:
Executor

Public Member Functions

 SingleExecutor (CppCheck &cppcheck, const std::list< FileWithDetails > &files, const std::list< FileSettings > &fileSettings, const Settings &settings, SuppressionList &suppressions, ErrorLogger &errorLogger)
 
 SingleExecutor (const SingleExecutor &)=delete
 
SingleExecutoroperator= (const SingleExecutor &)=delete
 
unsigned int check () override
 
- Public Member Functions inherited from Executor
 Executor (const std::list< FileWithDetails > &files, const std::list< FileSettings > &fileSettings, const Settings &settings, SuppressionList &suppressions, ErrorLogger &errorLogger)
 
virtual ~Executor ()=default
 
 Executor (const Executor &)=delete
 
Executoroperator= (const Executor &)=delete
 
void reportStatus (std::size_t fileindex, std::size_t filecount, std::size_t sizedone, std::size_t sizetotal)
 Information about how many files have been checked. More...
 

Private Attributes

CppCheckmCppcheck
 

Additional Inherited Members

- Protected Member Functions inherited from Executor
bool hasToLog (const ErrorMessage &msg)
 Check if message is being suppressed and unique. More...
 
- Protected Attributes inherited from Executor
const std::list< FileWithDetails > & mFiles
 
const std::list< FileSettings > & mFileSettings
 
const SettingsmSettings
 
SuppressionListmSuppressions
 
ErrorLoggermErrorLogger
 

Detailed Description

Definition at line 36 of file singleexecutor.h.

Constructor & Destructor Documentation

◆ SingleExecutor() [1/2]

SingleExecutor::SingleExecutor ( CppCheck cppcheck,
const std::list< FileWithDetails > &  files,
const std::list< FileSettings > &  fileSettings,
const Settings settings,
SuppressionList suppressions,
ErrorLogger errorLogger 
)

Definition at line 33 of file singleexecutor.cpp.

References Settings::jobs, and Executor::mSettings.

◆ SingleExecutor() [2/2]

SingleExecutor::SingleExecutor ( const SingleExecutor )
delete

Member Function Documentation

◆ check()

unsigned int SingleExecutor::check ( )
overridevirtual

◆ operator=()

SingleExecutor& SingleExecutor::operator= ( const SingleExecutor )
delete

Member Data Documentation

◆ mCppcheck

CppCheck& SingleExecutor::mCppcheck
private

Definition at line 46 of file singleexecutor.h.

Referenced by check().


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