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

Public Member Functions

def __init__ (self, grid_out, chunks, session, next_chunk)
 
def expected_chunk_length (self, chunk_n)
 
def __iter__ (self)
 
def next (self)
 
def close (self)
 

Detailed Description

Iterates over a file's chunks using a single cursor.

Raises CorruptGridFile when encountering any truncated, missing, or extra
chunk in a file.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  grid_out,
  chunks,
  session,
  next_chunk 
)

Member Function Documentation

◆ __iter__()

def __iter__ (   self)

◆ close()

def close (   self)

◆ expected_chunk_length()

def expected_chunk_length (   self,
  chunk_n 
)

◆ next()

def next (   self)

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