Public Member Functions | Public Attributes | Private Attributes | List of all members
roslint.cpplint._CppLintState Class Reference
Inheritance diagram for roslint.cpplint._CppLintState:
Inheritance graph

Public Member Functions

def __init__ (self)
def AddFilters (self, filters)
def BackupFilters (self)
def IncrementErrorCount (self, category)
def PrintErrorCounts (self)
def ResetErrorCounts (self)
def RestoreFilters (self)
def SetCountingStyle (self, counting_style)
def SetFilters (self, filters)
def SetOutputFormat (self, output_format)
def SetQuiet (self, quiet)
def SetVerboseLevel (self, level)

Public Attributes


Private Attributes


Detailed Description

Maintains module-wide state..

Definition at line 865 of file

Constructor & Destructor Documentation

def roslint.cpplint._CppLintState.__init__ (   self)

Definition at line 868 of file

Member Function Documentation

def roslint.cpplint._CppLintState.AddFilters (   self,
Adds more filters to the existing list of error-message filters. 

Definition at line 922 of file

def roslint.cpplint._CppLintState.BackupFilters (   self)
Saves the current filter list to backup storage.

Definition at line 933 of file

def roslint.cpplint._CppLintState.IncrementErrorCount (   self,
Bumps the module's error statistic.

Definition at line 946 of file

def roslint.cpplint._CppLintState.PrintErrorCounts (   self)
Print a summary of errors by category, and the total.

Definition at line 956 of file

def roslint.cpplint._CppLintState.ResetErrorCounts (   self)
Sets the module's error statistic back to zero.

Definition at line 941 of file

def roslint.cpplint._CppLintState.RestoreFilters (   self)
Restores filters previously backed up.

Definition at line 937 of file

def roslint.cpplint._CppLintState.SetCountingStyle (   self,
Sets the module's counting options.

Definition at line 900 of file

def roslint.cpplint._CppLintState.SetFilters (   self,
Sets the error-message filters.

These filters are applied when deciding whether to emit a given
error message.

  filters: A string of comma-separated filters (eg "+whitespace/indent").
       Each filter should start with + or -; else we die.

  ValueError: The comma-separated filters did not all start with '+' or '-'.
          E.g. "-,+whitespace,-whitespace/indent,whitespace/badfilter"

Definition at line 904 of file

def roslint.cpplint._CppLintState.SetOutputFormat (   self,
Sets the output format for errors.

Definition at line 884 of file

def roslint.cpplint._CppLintState.SetQuiet (   self,
Sets the module's quiet settings, and returns the previous setting.

Definition at line 888 of file

def roslint.cpplint._CppLintState.SetVerboseLevel (   self,
Sets the module's verbosity, and returns the previous setting.

Definition at line 894 of file

Member Data Documentation


Definition at line 874 of file


Definition at line 875 of file


Definition at line 870 of file


Definition at line 876 of file


Definition at line 872 of file


Definition at line 882 of file


Definition at line 877 of file


Definition at line 869 of file

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

Author(s): Mike Purvis, Jack O'Quin
autogenerated on Wed Mar 18 2020 03:20:56