Public Member Functions | |
def | __init__ (self, name, class_or_struct, clean_lines, linenum) |
def | CheckBegin (self, filename, clean_lines, linenum, error) |
def | CheckEnd (self, filename, clean_lines, linenum, error) |
Public Member Functions inherited from roslint.cpplint._BlockInfo | |
def | __init__ (self, linenum, seen_open_brace) |
def | IsBlockInfo (self) |
Public Attributes | |
access | |
check_namespace_indentation | |
class_indent | |
is_derived | |
is_struct | |
last_line | |
name | |
Public Attributes inherited from roslint.cpplint._BlockInfo | |
check_namespace_indentation | |
inline_asm | |
open_parentheses | |
seen_open_brace | |
starting_linenum | |
Stores information about a class.
Definition at line 2265 of file cpplint.py.
def roslint.cpplint._ClassInfo.__init__ | ( | self, | |
name, | |||
class_or_struct, | |||
clean_lines, | |||
linenum | |||
) |
Definition at line 2268 of file cpplint.py.
def roslint.cpplint._ClassInfo.CheckBegin | ( | self, | |
filename, | |||
clean_lines, | |||
linenum, | |||
error | |||
) |
Run checks that applies to text up to the opening brace. This is mostly for checking the text after the class identifier and the "{", usually where the base class is specified. For other blocks, there isn't much to check, so we always pass. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file. linenum: The number of the line to check. error: The function to call with any errors found.
Reimplemented from roslint.cpplint._BlockInfo.
Definition at line 2298 of file cpplint.py.
def roslint.cpplint._ClassInfo.CheckEnd | ( | self, | |
filename, | |||
clean_lines, | |||
linenum, | |||
error | |||
) |
Run checks that applies to text after the closing brace. This is mostly used for checking end of namespace comments. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file. linenum: The number of the line to check. error: The function to call with any errors found.
Reimplemented from roslint.cpplint._BlockInfo.
Definition at line 2303 of file cpplint.py.
roslint.cpplint._ClassInfo.access |
Definition at line 2274 of file cpplint.py.
roslint.cpplint._ClassInfo.check_namespace_indentation |
Definition at line 2272 of file cpplint.py.
roslint.cpplint._ClassInfo.class_indent |
Definition at line 2282 of file cpplint.py.
roslint.cpplint._ClassInfo.is_derived |
Definition at line 2271 of file cpplint.py.
roslint.cpplint._ClassInfo.is_struct |
Definition at line 2275 of file cpplint.py.
roslint.cpplint._ClassInfo.last_line |
Definition at line 2289 of file cpplint.py.
roslint.cpplint._ClassInfo.name |
Definition at line 2270 of file cpplint.py.