FV3 Bundle
cpplint._CppLintState Class Reference
Inheritance diagram for cpplint._CppLintState:
[legend]
Collaboration diagram for cpplint._CppLintState:
[legend]

Public Member Functions

def __init__ (self)
 
def SetOutputFormat (self, output_format)
 
def SetVerboseLevel (self, level)
 
def SetCountingStyle (self, counting_style)
 
def SetFilters (self, filters)
 
def AddFilters (self, filters)
 
def BackupFilters (self)
 
def RestoreFilters (self)
 
def ResetErrorCounts (self)
 
def IncrementErrorCount (self, category)
 
def PrintErrorCounts (self)
 
def PrintInfo (self, message)
 
def PrintError (self, message)
 
def AddJUnitFailure (self, filename, linenum, message, category, confidence)
 
def FormatJUnitXML (self)
 
def __init__ (self)
 
def SetOutputFormat (self, output_format)
 
def SetVerboseLevel (self, level)
 
def SetCountingStyle (self, counting_style)
 
def SetFilters (self, filters)
 
def AddFilters (self, filters)
 
def BackupFilters (self)
 
def RestoreFilters (self)
 
def ResetErrorCounts (self)
 
def IncrementErrorCount (self, category)
 
def PrintErrorCounts (self)
 
def PrintInfo (self, message)
 
def PrintError (self, message)
 
def AddJUnitFailure (self, filename, linenum, message, category, confidence)
 
def FormatJUnitXML (self)
 
def __init__ (self)
 
def SetOutputFormat (self, output_format)
 
def SetVerboseLevel (self, level)
 
def SetCountingStyle (self, counting_style)
 
def SetFilters (self, filters)
 
def AddFilters (self, filters)
 
def BackupFilters (self)
 
def RestoreFilters (self)
 
def ResetErrorCounts (self)
 
def IncrementErrorCount (self, category)
 
def PrintErrorCounts (self)
 
def PrintInfo (self, message)
 
def PrintError (self, message)
 
def AddJUnitFailure (self, filename, linenum, message, category, confidence)
 
def FormatJUnitXML (self)
 

Public Attributes

 verbose_level
 
 error_count
 
 filters
 
 counting
 
 errors_by_category
 
 output_format
 

Private Attributes

 _filters_backup
 
 _junit_errors
 
 _junit_failures
 

Detailed Description

Maintains module-wide state..

Definition at line 964 of file ioda/tools/cpplint.py.

Constructor & Destructor Documentation

◆ __init__() [1/3]

def cpplint._CppLintState.__init__ (   self)

Definition at line 967 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ __init__() [2/3]

def cpplint._CppLintState.__init__ (   self)

Definition at line 967 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ __init__() [3/3]

def cpplint._CppLintState.__init__ (   self)

Definition at line 967 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

Member Function Documentation

◆ AddFilters() [1/3]

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

Definition at line 1021 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ AddFilters() [2/3]

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

Definition at line 1021 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ AddFilters() [3/3]

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

Definition at line 1021 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ AddJUnitFailure() [1/3]

def cpplint._CppLintState.AddJUnitFailure (   self,
  filename,
  linenum,
  message,
  category,
  confidence 
)

Definition at line 1073 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ AddJUnitFailure() [2/3]

def cpplint._CppLintState.AddJUnitFailure (   self,
  filename,
  linenum,
  message,
  category,
  confidence 
)

Definition at line 1073 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ AddJUnitFailure() [3/3]

def cpplint._CppLintState.AddJUnitFailure (   self,
  filename,
  linenum,
  message,
  category,
  confidence 
)

Definition at line 1073 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ BackupFilters() [1/3]

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

Definition at line 1032 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ BackupFilters() [2/3]

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

Definition at line 1032 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ BackupFilters() [3/3]

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

Definition at line 1032 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ FormatJUnitXML() [1/3]

def cpplint._CppLintState.FormatJUnitXML (   self)

Definition at line 1077 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ FormatJUnitXML() [2/3]

def cpplint._CppLintState.FormatJUnitXML (   self)

Definition at line 1077 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ FormatJUnitXML() [3/3]

def cpplint._CppLintState.FormatJUnitXML (   self)

Definition at line 1077 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ IncrementErrorCount() [1/3]

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

Definition at line 1045 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ IncrementErrorCount() [2/3]

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

Definition at line 1045 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ IncrementErrorCount() [3/3]

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

Definition at line 1045 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ PrintError() [1/3]

def cpplint._CppLintState.PrintError (   self,
  message 
)

Definition at line 1067 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ PrintError() [2/3]

def cpplint._CppLintState.PrintError (   self,
  message 
)

Definition at line 1067 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ PrintError() [3/3]

def cpplint._CppLintState.PrintError (   self,
  message 
)

Definition at line 1067 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ PrintErrorCounts() [1/3]

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

Definition at line 1055 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ PrintErrorCounts() [2/3]

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

Definition at line 1055 of file ioda/tools/cpplint.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintErrorCounts() [3/3]

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

Definition at line 1055 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ PrintInfo() [1/3]

def cpplint._CppLintState.PrintInfo (   self,
  message 
)

Definition at line 1063 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ PrintInfo() [2/3]

def cpplint._CppLintState.PrintInfo (   self,
  message 
)

Definition at line 1063 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ PrintInfo() [3/3]

def cpplint._CppLintState.PrintInfo (   self,
  message 
)

Definition at line 1063 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ ResetErrorCounts() [1/3]

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

Definition at line 1040 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ ResetErrorCounts() [2/3]

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

Definition at line 1040 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ ResetErrorCounts() [3/3]

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

Definition at line 1040 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ RestoreFilters() [1/3]

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

Definition at line 1036 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ RestoreFilters() [2/3]

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

Definition at line 1036 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ RestoreFilters() [3/3]

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

Definition at line 1036 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ SetCountingStyle() [1/3]

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

Definition at line 999 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ SetCountingStyle() [2/3]

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

Definition at line 999 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ SetCountingStyle() [3/3]

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

Definition at line 999 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ SetFilters() [1/3]

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 1003 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ SetFilters() [2/3]

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 1003 of file ioda/tools/cpplint.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetFilters() [3/3]

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 1003 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ SetOutputFormat() [1/3]

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

Definition at line 989 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ SetOutputFormat() [2/3]

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

Definition at line 989 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

◆ SetOutputFormat() [3/3]

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

Definition at line 989 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ SetVerboseLevel() [1/3]

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

Definition at line 993 of file ufo/tools/cpplint.py.

Here is the call graph for this function:

◆ SetVerboseLevel() [2/3]

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

Definition at line 993 of file oops/tools/cpplint.py.

Here is the call graph for this function:

◆ SetVerboseLevel() [3/3]

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

Definition at line 993 of file ioda/tools/cpplint.py.

Here is the caller graph for this function:

Member Data Documentation

◆ _filters_backup

cpplint._CppLintState._filters_backup
private

Definition at line 973 of file ioda/tools/cpplint.py.

◆ _junit_errors

cpplint._CppLintState._junit_errors
private

Definition at line 986 of file ioda/tools/cpplint.py.

◆ _junit_failures

cpplint._CppLintState._junit_failures
private

Definition at line 987 of file ioda/tools/cpplint.py.

◆ counting

cpplint._CppLintState.counting

Definition at line 974 of file ioda/tools/cpplint.py.

◆ error_count

cpplint._CppLintState.error_count

Definition at line 969 of file ioda/tools/cpplint.py.

◆ errors_by_category

cpplint._CppLintState.errors_by_category

Definition at line 975 of file ioda/tools/cpplint.py.

◆ filters

cpplint._CppLintState.filters

Definition at line 971 of file ioda/tools/cpplint.py.

◆ output_format

cpplint._CppLintState.output_format

Definition at line 982 of file ioda/tools/cpplint.py.

◆ verbose_level

cpplint._CppLintState.verbose_level

Definition at line 968 of file ioda/tools/cpplint.py.


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