Skip to main content

The GuardedSection Class Reference

Declaration

class GuardedSection { ... }

Included Headers

#include <src/commentscan.h>

Public Constructors Index

GuardedSection (bool parentVisible)

Public Member Functions Index

voidsetEnabled (bool enabled)
boolisEnabled () const
voidsetEnabledFound ()
boolisEnabledFound () const
boolparentVisible () const
voidsetElse ()
boolhasElse () const

Private Member Attributes Index

boolm_parentVisible
boolm_enabledFound = false
boolm_enabled = false
boolm_hasElse = false

Definition at line 28 of file commentscan.h.

Public Constructors

GuardedSection()

GuardedSection::GuardedSection (bool parentVisible)
inline

Definition at line 31 of file commentscan.h.

References m_parentVisible and parentVisible.

Public Member Functions

hasElse()

bool GuardedSection::hasElse ()
inline

Definition at line 39 of file commentscan.h.

39 bool hasElse() const { return m_hasElse; }

Reference m_hasElse.

isEnabled()

bool GuardedSection::isEnabled ()
inline

Definition at line 34 of file commentscan.h.

34 bool isEnabled() const { return m_enabled; }

Reference m_enabled.

isEnabledFound()

bool GuardedSection::isEnabledFound ()
inline

Definition at line 36 of file commentscan.h.

36 bool isEnabledFound() const { return m_enabledFound; }

Reference m_enabledFound.

parentVisible()

bool GuardedSection::parentVisible ()
inline

Definition at line 37 of file commentscan.h.

37 bool parentVisible() const { return m_parentVisible; }

Reference m_parentVisible.

Referenced by GuardedSection.

setElse()

void GuardedSection::setElse ()
inline

Definition at line 38 of file commentscan.h.

38 void setElse() { m_hasElse = true; }

Reference m_hasElse.

setEnabled()

void GuardedSection::setEnabled (bool enabled)
inline

Definition at line 33 of file commentscan.h.

33 void setEnabled(bool enabled) { m_enabled = enabled; }

Reference m_enabled.

setEnabledFound()

void GuardedSection::setEnabledFound ()
inline

Definition at line 35 of file commentscan.h.

35 void setEnabledFound() { m_enabledFound = true; }

Reference m_enabledFound.

Private Member Attributes

m_enabled

bool GuardedSection::m_enabled = false

Definition at line 44 of file commentscan.h.

44 bool m_enabled = false;

Referenced by isEnabled and setEnabled.

m_enabledFound

bool GuardedSection::m_enabledFound = false

Definition at line 43 of file commentscan.h.

43 bool m_enabledFound = false;

Referenced by isEnabledFound and setEnabledFound.

m_hasElse

bool GuardedSection::m_hasElse = false

Definition at line 45 of file commentscan.h.

45 bool m_hasElse = false;

Referenced by hasElse and setElse.

m_parentVisible

bool GuardedSection::m_parentVisible

Definition at line 42 of file commentscan.h.

Referenced by GuardedSection and parentVisible.


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


Generated via doxygen2docusaurus by Doxygen 1.14.0.