Doxygen
Loading...
Searching...
No Matches
HtmlGenerator::TocState Struct Reference

Public Member Functions

void writeIndent (TextStream &t)
void incIndent (TextStream &t, const QCString &text)
void decIndent (TextStream &t, const QCString &text)

Public Attributes

int level = 0
int indent = 0
int maxLevel = 0
BoolVector inLi

Detailed Description

Definition at line 352 of file htmlgen.h.

Member Function Documentation

◆ decIndent()

void HtmlGenerator::TocState::decIndent ( TextStream & t,
const QCString & text )
inline

Definition at line 360 of file htmlgen.h.

360{ indent--; writeIndent(t); t << text << "\n"; };
void writeIndent(TextStream &t)
Definition htmlgen.h:358

References indent, and writeIndent().

◆ incIndent()

void HtmlGenerator::TocState::incIndent ( TextStream & t,
const QCString & text )
inline

Definition at line 359 of file htmlgen.h.

359{ writeIndent(t); t << text << "\n"; indent++; };

References indent, and writeIndent().

◆ writeIndent()

void HtmlGenerator::TocState::writeIndent ( TextStream & t)
inline

Definition at line 358 of file htmlgen.h.

358{ for (int i=0;i<indent*2;i++) t << " "; };

References indent.

Referenced by decIndent(), and incIndent().

Member Data Documentation

◆ indent

int HtmlGenerator::TocState::indent = 0

Definition at line 355 of file htmlgen.h.

Referenced by decIndent(), incIndent(), and writeIndent().

◆ inLi

BoolVector HtmlGenerator::TocState::inLi

Definition at line 357 of file htmlgen.h.

◆ level

int HtmlGenerator::TocState::level = 0

Definition at line 354 of file htmlgen.h.

◆ maxLevel

int HtmlGenerator::TocState::maxLevel = 0

Definition at line 356 of file htmlgen.h.


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