class documentation

Stores information about a class.

Method __init__ Undocumented
Method CheckBegin Run checks that applies to text up to the opening brace.
Method CheckEnd Run checks that applies to text after the closing brace.
Instance Variable access Undocumented
Instance Variable check_namespace_indentation Undocumented
Instance Variable class_indent Undocumented
Instance Variable is_derived Undocumented
Instance Variable is_struct Undocumented
Instance Variable last_line Undocumented
Instance Variable name Undocumented

Inherited from _BlockInfo:

Method IsBlockInfo Returns true if this block is a _BlockInfo.
Instance Variable inline_asm Undocumented
Instance Variable open_parentheses Undocumented
Instance Variable seen_open_brace Undocumented
Instance Variable starting_linenum Undocumented
def __init__(self, name, class_or_struct, clean_lines, linenum):
def 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.
def 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.
access: str =

Undocumented

check_namespace_indentation: bool =
class_indent =

Undocumented

is_derived: bool =

Undocumented

is_struct: bool =

Undocumented

last_line =

Undocumented

name =

Undocumented