Section

Represents a section of a document.

Constructors

this
this(string title, string body, Term[] terms)

Constructs a new section.

Members

Functions

add
Section add(Term term)

Adds a term to the section.

add
Section add(string term, string definition)

Adds a term to the section.

terms
const(Term[]) terms()

Terms and definitions associated with the section.

Variables

body
string body;

Main body text of the section, or null.

longest
size_t longest;

The length of the longest term.

termsList
Term[] termsList;

Terms and definitions associated with the section.

title
string title;

Title of the section.