Public Member Functions | Public Attributes | List of all members
cpplint._CppLintState Class Reference
Inheritance diagram for cpplint._CppLintState:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def IncrementErrorCount (self, category)
 
def PrintErrorCounts (self)
 
def ResetErrorCounts (self)
 
def SetCountingStyle (self, counting_style)
 
def SetFilters (self, filters)
 
def SetOutputFormat (self, output_format)
 
def SetVerboseLevel (self, level)
 

Public Attributes

 counting
 
 error_count
 
 errors_by_category
 
 filters
 
 output_format
 
 verbose_level
 

Detailed Description

Maintains module-wide state..

Definition at line 679 of file cpplint.py.

Constructor & Destructor Documentation

def cpplint._CppLintState.__init__ (   self)

Definition at line 682 of file cpplint.py.

Member Function Documentation

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

Definition at line 739 of file cpplint.py.

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

Definition at line 749 of file cpplint.py.

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

Definition at line 734 of file cpplint.py.

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

Definition at line 705 of file cpplint.py.

def 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 709 of file cpplint.py.

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

Definition at line 695 of file cpplint.py.

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

Definition at line 699 of file cpplint.py.

Member Data Documentation

cpplint._CppLintState.counting

Definition at line 687 of file cpplint.py.

cpplint._CppLintState.error_count

Definition at line 684 of file cpplint.py.

cpplint._CppLintState.errors_by_category

Definition at line 688 of file cpplint.py.

cpplint._CppLintState.filters

Definition at line 686 of file cpplint.py.

cpplint._CppLintState.output_format

Definition at line 693 of file cpplint.py.

cpplint._CppLintState.verbose_level

Definition at line 683 of file cpplint.py.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:27