Tracks current function name and the number of lines in its body.
Definition at line 1186 of file build/bin/ioda_cpplint.py.
◆ __init__() [1/2]
def ioda_cpplint._FunctionState.__init__ |
( |
|
self | ) |
|
◆ __init__() [2/2]
def ioda_cpplint._FunctionState.__init__ |
( |
|
self | ) |
|
◆ Begin() [1/2]
def ioda_cpplint._FunctionState.Begin |
( |
|
self, |
|
|
|
function_name |
|
) |
| |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
Definition at line 1197 of file build/bin/ioda_cpplint.py.
◆ Begin() [2/2]
def ioda_cpplint._FunctionState.Begin |
( |
|
self, |
|
|
|
function_name |
|
) |
| |
Start analyzing function body.
Args:
function_name: The name of the function being tracked.
Definition at line 1197 of file ioda/tools/ioda_cpplint.py.
◆ Check() [1/2]
def ioda_cpplint._FunctionState.Check |
( |
|
self, |
|
|
|
error, |
|
|
|
filename, |
|
|
|
linenum |
|
) |
| |
Report if too many lines in function body.
Args:
error: The function to call with any errors found.
filename: The name of the current file.
linenum: The number of the line to check.
Definition at line 1212 of file build/bin/ioda_cpplint.py.
◆ Check() [2/2]
def ioda_cpplint._FunctionState.Check |
( |
|
self, |
|
|
|
error, |
|
|
|
filename, |
|
|
|
linenum |
|
) |
| |
Report if too many lines in function body.
Args:
error: The function to call with any errors found.
filename: The name of the current file.
linenum: The number of the line to check.
Definition at line 1212 of file ioda/tools/ioda_cpplint.py.
◆ Count() [1/2]
def ioda_cpplint._FunctionState.Count |
( |
|
self | ) |
|
◆ Count() [2/2]
def ioda_cpplint._FunctionState.Count |
( |
|
self | ) |
|
◆ End() [1/2]
def ioda_cpplint._FunctionState.End |
( |
|
self | ) |
|
◆ End() [2/2]
def ioda_cpplint._FunctionState.End |
( |
|
self | ) |
|
◆ _NORMAL_TRIGGER
int ioda_cpplint._FunctionState._NORMAL_TRIGGER = 250 |
|
staticprivate |
◆ _TEST_TRIGGER
int ioda_cpplint._FunctionState._TEST_TRIGGER = 400 |
|
staticprivate |
◆ current_function
ioda_cpplint._FunctionState.current_function |
◆ in_a_function
ioda_cpplint._FunctionState.in_a_function |
◆ lines_in_function
ioda_cpplint._FunctionState.lines_in_function |
The documentation for this class was generated from the following file: