Maintains module-wide state..
Definition at line 865 of file cpplint.py.
◆ __init__()
def roslint.cpplint._CppLintState.__init__ |
( |
|
self | ) |
|
◆ AddFilters()
def roslint.cpplint._CppLintState.AddFilters |
( |
|
self, |
|
|
|
filters |
|
) |
| |
Adds more filters to the existing list of error-message filters.
Definition at line 922 of file cpplint.py.
◆ BackupFilters()
def roslint.cpplint._CppLintState.BackupFilters |
( |
|
self | ) |
|
Saves the current filter list to backup storage.
Definition at line 933 of file cpplint.py.
◆ IncrementErrorCount()
def roslint.cpplint._CppLintState.IncrementErrorCount |
( |
|
self, |
|
|
|
category |
|
) |
| |
Bumps the module's error statistic.
Definition at line 946 of file cpplint.py.
◆ PrintErrorCounts()
def roslint.cpplint._CppLintState.PrintErrorCounts |
( |
|
self | ) |
|
Print a summary of errors by category, and the total.
Definition at line 956 of file cpplint.py.
◆ ResetErrorCounts()
def roslint.cpplint._CppLintState.ResetErrorCounts |
( |
|
self | ) |
|
Sets the module's error statistic back to zero.
Definition at line 941 of file cpplint.py.
◆ RestoreFilters()
def roslint.cpplint._CppLintState.RestoreFilters |
( |
|
self | ) |
|
Restores filters previously backed up.
Definition at line 937 of file cpplint.py.
◆ SetCountingStyle()
def roslint.cpplint._CppLintState.SetCountingStyle |
( |
|
self, |
|
|
|
counting_style |
|
) |
| |
Sets the module's counting options.
Definition at line 900 of file cpplint.py.
◆ SetFilters()
def roslint.cpplint._CppLintState.SetFilters |
( |
|
self, |
|
|
|
filters |
|
) |
| |
Sets the error-message filters.
These filters are applied when deciding whether to emit a given
error message.
Args:
filters: A string of comma-separated filters (eg "+whitespace/indent").
Each filter should start with + or -; else we die.
Raises:
ValueError: The comma-separated filters did not all start with '+' or '-'.
E.g. "-,+whitespace,-whitespace/indent,whitespace/badfilter"
Definition at line 904 of file cpplint.py.
◆ SetOutputFormat()
def roslint.cpplint._CppLintState.SetOutputFormat |
( |
|
self, |
|
|
|
output_format |
|
) |
| |
Sets the output format for errors.
Definition at line 884 of file cpplint.py.
◆ SetQuiet()
def roslint.cpplint._CppLintState.SetQuiet |
( |
|
self, |
|
|
|
quiet |
|
) |
| |
Sets the module's quiet settings, and returns the previous setting.
Definition at line 888 of file cpplint.py.
◆ SetVerboseLevel()
def roslint.cpplint._CppLintState.SetVerboseLevel |
( |
|
self, |
|
|
|
level |
|
) |
| |
Sets the module's verbosity, and returns the previous setting.
Definition at line 894 of file cpplint.py.
◆ _filters_backup
roslint.cpplint._CppLintState._filters_backup |
|
private |
◆ counting
roslint.cpplint._CppLintState.counting |
◆ error_count
roslint.cpplint._CppLintState.error_count |
◆ errors_by_category
roslint.cpplint._CppLintState.errors_by_category |
◆ filters
roslint.cpplint._CppLintState.filters |
◆ output_format
roslint.cpplint._CppLintState.output_format |
◆ quiet
roslint.cpplint._CppLintState.quiet |
◆ verbose_level
roslint.cpplint._CppLintState.verbose_level |
The documentation for this class was generated from the following file: