sheet::StructureShortTest::StructureShortTest Class Reference

Abstract mother class of all short test sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods. More...

Inheritance diagram for sheet::StructureShortTest::StructureShortTest:
sheet::Structure::Structure sheet::AlgebraShortTest::AlgebraShortTest sheet::AlgebraTest2::AlgebraTest2 sheet::AlgebraTest::AlgebraTest sheet::EquationsShortTest::EquationsShortTest sheet::EquationsTest::EquationsTest

List of all members.

Public Member Functions

def __init__
 /!\ Must be redefined.
def write_output
 Writes the whole sheet's content to the output.
def write_sheet_header
 Writes to the output the header of the sheet to be generated This header is written in a large size.
def write_sheet_title
 Writes to the output the title of the sheet to be generated This title is written in a LARGE size & bolded.
def write_answers_title
 Writes to the output title of the answers' sheet to be generated This title is written in a LARGE size & bolded.
def write_texts
 Writes to the output all exercises' texts.
def write_sheet_text
 Writes to the output the sheet's text.
def write_answers
 Writes to the output all exercises' answers.

Detailed Description

Abstract mother class of all short test sheets ! The constructor only has to be reimplemented, it is useless to reimplement other methods.

Definition at line 33 of file StructureShortTest.py.


Member Function Documentation

def sheet::StructureShortTest::StructureShortTest::__init__ (   self,
  embedded_machine,
  options 
)

/!\ Must be redefined.

Constructor.

Warning:
Exception NotInstanciableObject.
Parameters:
embedded_machine The machine to be used
**options Any options

Reimplemented from sheet::Structure::Structure.

Reimplemented in sheet::AlgebraShortTest::AlgebraShortTest, sheet::AlgebraTest::AlgebraTest, sheet::AlgebraTest2::AlgebraTest2, sheet::EquationsShortTest::EquationsShortTest, and sheet::EquationsTest::EquationsTest.

Definition at line 44 of file StructureShortTest.py.

def sheet::StructureShortTest::StructureShortTest::write_answers_title (   self  ) 

Writes to the output title of the answers' sheet to be generated This title is written in a LARGE size & bolded.

Two new lines follow it

Reimplemented from sheet::Structure::Structure.

Definition at line 128 of file StructureShortTest.py.

def sheet::StructureShortTest::StructureShortTest::write_output (   self  ) 

Writes the whole sheet's content to the output.

The whole sheet's content is :

  • document's header
  • sheet's title & possibly subtitle
  • texts of the 3 first exercises
  • AGAIN : sheet's title & possibly subtitle
  • texts of the 3 last exercises
  • page break
  • answers' sheet title
  • answers of the 3 first exercises
  • page break & AGAIN : answers' sheet title
  • answers of the 3 last exercises
  • the close document instruction

Reimplemented from sheet::Structure::Structure.

Definition at line 66 of file StructureShortTest.py.

def sheet::StructureShortTest::StructureShortTest::write_sheet_header (   self  ) 

Writes to the output the header of the sheet to be generated This header is written in a large size.

A new line follow it. It's useful to write headers for test sheets, for example.

Reimplemented from sheet::Structure::Structure.

Definition at line 99 of file StructureShortTest.py.

def sheet::StructureShortTest::StructureShortTest::write_sheet_title (   self  ) 

Writes to the output the title of the sheet to be generated This title is written in a LARGE size & bolded.

Two new lines follow it

Reimplemented from sheet::Structure::Structure.

Definition at line 112 of file StructureShortTest.py.


The documentation for this class was generated from the following file:
Generated on Fri Dec 30 19:26:37 2011 for mathmaker by  doxygen 1.6.3