Cppcheck
Public Member Functions | Public Attributes | List of all members
FileSettings Struct Reference

File settings. More...

#include <filesettings.h>

Public Member Functions

 FileSettings (std::string path)
 
 FileSettings (std::string path, std::size_t size)
 
const std::string & filename () const
 
std::string cppcheckDefines () const
 

Public Attributes

std::string cfg
 
FileWithDetails file
 
std::string defines
 
std::set< std::string > undefs
 
std::list< std::string > includePaths
 
std::list< std::string > systemIncludePaths
 
std::string standard
 
Platform::Type platformType = Platform::Type::Unspecified
 
bool msc {}
 
bool useMfc {}
 

Detailed Description

File settings.

Multiple configurations for a file is allowed.

Definition at line 57 of file filesettings.h.

Constructor & Destructor Documentation

◆ FileSettings() [1/2]

FileSettings::FileSettings ( std::string  path)
inlineexplicit

Definition at line 58 of file filesettings.h.

◆ FileSettings() [2/2]

FileSettings::FileSettings ( std::string  path,
std::size_t  size 
)
inline

Definition at line 62 of file filesettings.h.

Member Function Documentation

◆ cppcheckDefines()

std::string FileSettings::cppcheckDefines ( ) const
inline

Definition at line 74 of file filesettings.h.

Referenced by CppCheck::check().

◆ filename()

const std::string& FileSettings::filename ( ) const
inline

Member Data Documentation

◆ cfg

std::string FileSettings::cfg

◆ defines

std::string FileSettings::defines

◆ file

FileWithDetails FileSettings::file

Definition at line 67 of file filesettings.h.

◆ includePaths

std::list<std::string> FileSettings::includePaths

◆ msc

bool FileSettings::msc {}

Definition at line 84 of file filesettings.h.

◆ platformType

Platform::Type FileSettings::platformType = Platform::Type::Unspecified

◆ standard

std::string FileSettings::standard

◆ systemIncludePaths

std::list<std::string> FileSettings::systemIncludePaths

◆ undefs

std::set<std::string> FileSettings::undefs

◆ useMfc

bool FileSettings::useMfc {}

Definition at line 85 of file filesettings.h.


The documentation for this struct was generated from the following file: