Skip to main content

The TocState Struct Reference

Declaration

struct HtmlGenerator::TocState { ... }

Public Member Functions Index

voidwriteIndent (TextStream &t)
voidincIndent (TextStream &t, const QCString &text)
voiddecIndent (TextStream &t, const QCString &text)

Public Member Attributes Index

intlevel = 0
intindent = 0
intmaxLevel = 0
BoolVectorinLi

Definition at line 352 of file htmlgen.h.

Public Member Functions

decIndent()

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

Definition at line 360 of file htmlgen.h.

360 void decIndent(TextStream &t,const QCString &text) { indent--; writeIndent(t); t << text << "\n"; };

References indent and writeIndent.

incIndent()

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

Definition at line 359 of file htmlgen.h.

359 void incIndent(TextStream &t,const QCString &text) { 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 void writeIndent(TextStream &t) { for (int i=0;i<indent*2;i++) t << " "; };

Reference indent.

Referenced by decIndent and incIndent.

Public Member Attributes

indent

int HtmlGenerator::TocState::indent = 0

Definition at line 355 of file htmlgen.h.

355 int indent = 0;

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.

354 int level = 0;

maxLevel

int HtmlGenerator::TocState::maxLevel = 0

Definition at line 356 of file htmlgen.h.

356 int maxLevel = 0;

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


Generated via doxygen2docusaurus by Doxygen 1.14.0.