OpenQuizz
Une application de gestion des contenus pédagogiques
ContentChecker Class Reference
Inheritance diagram for ContentChecker:

Public Member Functions

def feed (self, block)
 
def is_valid (self)
 
def report (self, reporter, template)
 

Detailed Description

A null content checker that defines the interface for checking content

Member Function Documentation

◆ feed()

def feed (   self,
  block 
)
Feed a block of data to the hash.

Reimplemented in HashChecker.

◆ is_valid()

def is_valid (   self)
Check the hash. Return False if validation fails.

Reimplemented in HashChecker.

◆ report()

def report (   self,
  reporter,
  template 
)
Call reporter with information about the checker (hash name)
substituted into the template.

Reimplemented in HashChecker.


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