Belle II Software development
Statistics Class Reference

Public Member Functions

 __init__ (self)
 
 print_summary (self)
 

Public Attributes

int code_inclusions = 0
 number of code inclusions
 
int hints = 0
 number of hints
 
int solutions = 0
 number of solutions
 
int exercises = 0
 number of exercises
 
int overview_boxes = 0
 number of overview boxes
 
int key_points = 0
 number of key points
 
int figures = 0
 number of figures
 
int characters = 0
 number of characters
 

Private Attributes

 __dict__
 printing using data pretty print
 

Detailed Description

Statistics base class

Definition at line 22 of file online_book_statistics.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)
Initialize members

Definition at line 26 of file online_book_statistics.py.

26 def __init__(self):
27 """Initialize members"""
28
29 self.code_inclusions: int = 0
30
31 self.hints: int = 0
32
33 self.solutions: int = 0
34
35 self.exercises: int = 0
36
37 self.overview_boxes: int = 0
38
39 self.key_points: int = 0
40
41 self.figures: int = 0
42
43 self.characters: int = 0
44

Member Function Documentation

◆ print_summary()

print_summary ( self)
Print the summary

Definition at line 45 of file online_book_statistics.py.

45 def print_summary(self):
46 """Print the summary"""
47
48 pprint.pprint(self.__dict__)
49
50

Member Data Documentation

◆ __dict__

__dict__
private

printing using data pretty print

Definition at line 48 of file online_book_statistics.py.

◆ characters

int characters = 0

number of characters

Definition at line 43 of file online_book_statistics.py.

◆ code_inclusions

int code_inclusions = 0

number of code inclusions

Definition at line 29 of file online_book_statistics.py.

◆ exercises

int exercises = 0

number of exercises

Definition at line 35 of file online_book_statistics.py.

◆ figures

int figures = 0

number of figures

Definition at line 41 of file online_book_statistics.py.

◆ hints

int hints = 0

number of hints

Definition at line 31 of file online_book_statistics.py.

◆ key_points

int key_points = 0

number of key points

Definition at line 39 of file online_book_statistics.py.

◆ overview_boxes

int overview_boxes = 0

number of overview boxes

Definition at line 37 of file online_book_statistics.py.

◆ solutions

int solutions = 0

number of solutions

Definition at line 33 of file online_book_statistics.py.


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