Doxygen
Loading...
Searching...
No Matches
EclipseHelp::Private Struct Reference
Collaboration diagram for EclipseHelp::Private:

Public Member Functions

void indent ()
void closedTag ()
void openedTag ()

Public Attributes

int depth = 0
bool endtag = false
int openTags = 0
std::ofstream tocstream
DString pathprefix

Detailed Description

Definition at line 26 of file eclipsehelp.cpp.

Member Function Documentation

◆ closedTag()

void EclipseHelp::Private::closedTag ( )
inline

Definition at line 43 of file eclipsehelp.cpp.

44 {
45 if (endtag)
46 {
47 tocstream << "/>\n";
48 endtag = false;
49 }
50 }
std::ofstream tocstream

References endtag, and tocstream.

◆ indent()

void EclipseHelp::Private::indent ( )
inline

Definition at line 36 of file eclipsehelp.cpp.

37 {
38 for (int i=0; i<depth; i++)
39 {
40 tocstream << " ";
41 }
42 }

References depth, and tocstream.

◆ openedTag()

void EclipseHelp::Private::openedTag ( )
inline

Definition at line 51 of file eclipsehelp.cpp.

52 {
53 if (endtag)
54 {
55 tocstream << ">\n";
56 endtag = false;
57 ++openTags;
58 }
59 }

References endtag, openTags, and tocstream.

Member Data Documentation

◆ depth

int EclipseHelp::Private::depth = 0

Definition at line 28 of file eclipsehelp.cpp.

Referenced by indent().

◆ endtag

bool EclipseHelp::Private::endtag = false

Definition at line 29 of file eclipsehelp.cpp.

Referenced by closedTag(), and openedTag().

◆ openTags

int EclipseHelp::Private::openTags = 0

Definition at line 30 of file eclipsehelp.cpp.

Referenced by openedTag().

◆ pathprefix

DString EclipseHelp::Private::pathprefix

Definition at line 33 of file eclipsehelp.cpp.

◆ tocstream

std::ofstream EclipseHelp::Private::tocstream

Definition at line 32 of file eclipsehelp.cpp.

Referenced by closedTag(), indent(), and openedTag().


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