Doxygen
Loading...
Searching...
No Matches
LinkifyTextOptions Struct Reference

#include <src/util.h>

Collaboration diagram for LinkifyTextOptions:

Public Member Functions

const Definitionscope () const
const FileDeffileScope () const
const Definitionself () const
const ArgumentListargumentList () const
bool autoBreak () const
bool external () const
bool keepSpaces () const
int indentLevel () const
size_t breakThreshold () const
LinkifyTextOptionssetScope (const Definition *scope)
LinkifyTextOptionssetFileScope (const FileDef *fileScope)
LinkifyTextOptionssetSelf (const Definition *self)
LinkifyTextOptionssetArgumentList (const ArgumentList *al)
LinkifyTextOptionssetAutoBreak (bool autoBreak)
LinkifyTextOptionssetExternal (bool external)
LinkifyTextOptionssetKeepSpaces (bool keepSpaces)
LinkifyTextOptionssetIndentLevel (int indentLevel)
LinkifyTextOptionssetBreakThreshold (size_t breakThreshold)

Private Attributes

const Definitionm_scope = nullptr
const FileDefm_fileScope = nullptr
const Definitionm_self = nullptr
const ArgumentListm_al = nullptr
bool m_autoBreak = false
bool m_external = true
bool m_keepSpaces = false
int m_indentLevel = 0
size_t m_breakThreshold = 30

Detailed Description

Definition at line 95 of file util.h.

Member Function Documentation

◆ argumentList()

const ArgumentList * LinkifyTextOptions::argumentList ( ) const
inline

Definition at line 102 of file util.h.

102{ return m_al; }
const ArgumentList * m_al
Definition util.h:142

References m_al.

Referenced by linkifyText().

◆ autoBreak()

bool LinkifyTextOptions::autoBreak ( ) const
inline

Definition at line 103 of file util.h.

103{ return m_autoBreak; }

References m_autoBreak.

Referenced by linkifyText(), and setAutoBreak().

◆ breakThreshold()

size_t LinkifyTextOptions::breakThreshold ( ) const
inline

Definition at line 107 of file util.h.

107{ return m_breakThreshold; }
size_t m_breakThreshold
Definition util.h:147

References m_breakThreshold.

Referenced by linkifyText(), and setBreakThreshold().

◆ external()

bool LinkifyTextOptions::external ( ) const
inline

Definition at line 104 of file util.h.

104{ return m_external; }

References m_external.

Referenced by linkifyText(), and setExternal().

◆ fileScope()

const FileDef * LinkifyTextOptions::fileScope ( ) const
inline

Definition at line 100 of file util.h.

100{ return m_fileScope; }
const FileDef * m_fileScope
Definition util.h:140

References m_fileScope.

Referenced by linkifyText(), and setFileScope().

◆ indentLevel()

int LinkifyTextOptions::indentLevel ( ) const
inline

Definition at line 106 of file util.h.

106{ return m_indentLevel; }

References m_indentLevel.

Referenced by linkifyText(), and setIndentLevel().

◆ keepSpaces()

bool LinkifyTextOptions::keepSpaces ( ) const
inline

Definition at line 105 of file util.h.

105{ return m_keepSpaces; }
bool m_keepSpaces
Definition util.h:145

References m_keepSpaces.

Referenced by linkifyText(), and setKeepSpaces().

◆ scope()

const Definition * LinkifyTextOptions::scope ( ) const
inline

Definition at line 99 of file util.h.

99{ return m_scope; }
const Definition * m_scope
Definition util.h:139

References m_scope.

Referenced by linkifyText(), and setScope().

◆ self()

const Definition * LinkifyTextOptions::self ( ) const
inline

Definition at line 101 of file util.h.

101{ return m_self; }
const Definition * m_self
Definition util.h:141

References m_self.

Referenced by linkifyText(), and setSelf().

◆ setArgumentList()

LinkifyTextOptions & LinkifyTextOptions::setArgumentList ( const ArgumentList * al)
inline

Definition at line 119 of file util.h.

120 { m_al = al; return *this; }

References m_al.

◆ setAutoBreak()

LinkifyTextOptions & LinkifyTextOptions::setAutoBreak ( bool autoBreak)
inline

Definition at line 122 of file util.h.

123 { m_autoBreak = autoBreak; return *this; }
bool autoBreak() const
Definition util.h:103

References autoBreak(), and m_autoBreak.

◆ setBreakThreshold()

LinkifyTextOptions & LinkifyTextOptions::setBreakThreshold ( size_t breakThreshold)
inline

Definition at line 134 of file util.h.

135 { m_breakThreshold = breakThreshold; return *this; }
size_t breakThreshold() const
Definition util.h:107

References breakThreshold(), and m_breakThreshold.

◆ setExternal()

LinkifyTextOptions & LinkifyTextOptions::setExternal ( bool external)
inline

Definition at line 125 of file util.h.

126 { m_external = external; return *this; }
bool external() const
Definition util.h:104

References external(), and m_external.

◆ setFileScope()

◆ setIndentLevel()

LinkifyTextOptions & LinkifyTextOptions::setIndentLevel ( int indentLevel)
inline

Definition at line 131 of file util.h.

132 { m_indentLevel = indentLevel; return *this; }
int indentLevel() const
Definition util.h:106

References indentLevel(), and m_indentLevel.

◆ setKeepSpaces()

LinkifyTextOptions & LinkifyTextOptions::setKeepSpaces ( bool keepSpaces)
inline

Definition at line 128 of file util.h.

129 { m_keepSpaces = keepSpaces; return *this; }
bool keepSpaces() const
Definition util.h:105

References keepSpaces(), and m_keepSpaces.

◆ setScope()

◆ setSelf()

Member Data Documentation

◆ m_al

const ArgumentList* LinkifyTextOptions::m_al = nullptr
private

Definition at line 142 of file util.h.

Referenced by argumentList(), and setArgumentList().

◆ m_autoBreak

bool LinkifyTextOptions::m_autoBreak = false
private

Definition at line 143 of file util.h.

Referenced by autoBreak(), and setAutoBreak().

◆ m_breakThreshold

size_t LinkifyTextOptions::m_breakThreshold = 30
private

Definition at line 147 of file util.h.

Referenced by breakThreshold(), and setBreakThreshold().

◆ m_external

bool LinkifyTextOptions::m_external = true
private

Definition at line 144 of file util.h.

Referenced by external(), and setExternal().

◆ m_fileScope

const FileDef* LinkifyTextOptions::m_fileScope = nullptr
private

Definition at line 140 of file util.h.

Referenced by fileScope(), and setFileScope().

◆ m_indentLevel

int LinkifyTextOptions::m_indentLevel = 0
private

Definition at line 146 of file util.h.

Referenced by indentLevel(), and setIndentLevel().

◆ m_keepSpaces

bool LinkifyTextOptions::m_keepSpaces = false
private

Definition at line 145 of file util.h.

Referenced by keepSpaces(), and setKeepSpaces().

◆ m_scope

const Definition* LinkifyTextOptions::m_scope = nullptr
private

Definition at line 139 of file util.h.

Referenced by scope(), and setScope().

◆ m_self

const Definition* LinkifyTextOptions::m_self = nullptr
private

Definition at line 141 of file util.h.

Referenced by self(), and setSelf().


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