Doxygen
Loading...
Searching...
No Matches
GuardedSection Class Reference

#include <src/commentscan.h>

Public Member Functions

 GuardedSection (bool parentVisible)
 
void setEnabled (bool enabled)
 
bool isEnabled () const
 
void setEnabledFound ()
 
bool isEnabledFound () const
 
bool parentVisible () const
 
void setElse ()
 
bool hasElse () const
 

Private Attributes

bool m_parentVisible
 
bool m_enabledFound = false
 
bool m_enabled = false
 
bool m_hasElse = false
 

Detailed Description

Definition at line 28 of file commentscan.h.

Constructor & Destructor Documentation

◆ GuardedSection()

GuardedSection::GuardedSection ( bool parentVisible)
inline

Definition at line 31 of file commentscan.h.

bool parentVisible() const
Definition commentscan.h:37

References m_parentVisible, and parentVisible().

Member Function Documentation

◆ hasElse()

bool GuardedSection::hasElse ( ) const
inline

Definition at line 39 of file commentscan.h.

39{ return m_hasElse; }

References m_hasElse.

◆ isEnabled()

bool GuardedSection::isEnabled ( ) const
inline

Definition at line 34 of file commentscan.h.

34{ return m_enabled; }

References m_enabled.

◆ isEnabledFound()

bool GuardedSection::isEnabledFound ( ) const
inline

Definition at line 36 of file commentscan.h.

36{ return m_enabledFound; }

References m_enabledFound.

◆ parentVisible()

bool GuardedSection::parentVisible ( ) const
inline

Definition at line 37 of file commentscan.h.

37{ return m_parentVisible; }

References m_parentVisible.

Referenced by GuardedSection().

◆ setElse()

void GuardedSection::setElse ( )
inline

Definition at line 38 of file commentscan.h.

38{ m_hasElse = true; }

References m_hasElse.

◆ setEnabled()

void GuardedSection::setEnabled ( bool enabled)
inline

Definition at line 33 of file commentscan.h.

33{ m_enabled = enabled; }

References m_enabled.

◆ setEnabledFound()

void GuardedSection::setEnabledFound ( )
inline

Definition at line 35 of file commentscan.h.

35{ m_enabledFound = true; }

References m_enabledFound.

Member Data Documentation

◆ m_enabled

bool GuardedSection::m_enabled = false
private

Definition at line 44 of file commentscan.h.

Referenced by isEnabled(), and setEnabled().

◆ m_enabledFound

bool GuardedSection::m_enabledFound = false
private

Definition at line 43 of file commentscan.h.

Referenced by isEnabledFound(), and setEnabledFound().

◆ m_hasElse

bool GuardedSection::m_hasElse = false
private

Definition at line 45 of file commentscan.h.

Referenced by hasElse(), and setElse().

◆ m_parentVisible

bool GuardedSection::m_parentVisible
private

Definition at line 42 of file commentscan.h.

Referenced by GuardedSection(), and parentVisible().


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