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

#include <src/linkifytext.h>

Collaboration diagram for LinkifyTextOptions:

Public Member Functions

const Definition * scope () const
const FileDef * fileScope () const
const Definition * self () const
const ArgumentList * argumentList () const
bool autoBreak () const
bool external () const
bool keepSpaces () const
int indentLevel () const
size_t breakThreshold () const
LinkifyTextOptions & setScope (const Definition *scope)
LinkifyTextOptions & setFileScope (const FileDef *fileScope)
LinkifyTextOptions & setSelf (const Definition *self)
LinkifyTextOptions & setArgumentList (const ArgumentList *al)
LinkifyTextOptions & setAutoBreak (bool autoBreak)
LinkifyTextOptions & setExternal (bool external)
LinkifyTextOptions & setKeepSpaces (bool keepSpaces)
LinkifyTextOptions & setIndentLevel (int indentLevel)
LinkifyTextOptions & setBreakThreshold (size_t breakThreshold)

Private Attributes

const Definition * m_scope = nullptr
const FileDef * m_fileScope = nullptr
const Definition * m_self = nullptr
const ArgumentList * m_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 43 of file linkifytext.h.

Member Function Documentation

◆ argumentList()

const ArgumentList * LinkifyTextOptions::argumentList ( ) const
inline

Definition at line 50 of file linkifytext.h.

50{ return m_al; }
const ArgumentList * m_al
Definition linkifytext.h:90

References m_al.

Referenced by linkifyText().

◆ autoBreak()

bool LinkifyTextOptions::autoBreak ( ) const
inline

Definition at line 51 of file linkifytext.h.

51{ return m_autoBreak; }

References m_autoBreak.

Referenced by linkifyText(), and setAutoBreak().

◆ breakThreshold()

size_t LinkifyTextOptions::breakThreshold ( ) const
inline

Definition at line 55 of file linkifytext.h.

55{ return m_breakThreshold; }

References m_breakThreshold.

Referenced by linkifyText(), and setBreakThreshold().

◆ external()

bool LinkifyTextOptions::external ( ) const
inline

Definition at line 52 of file linkifytext.h.

52{ return m_external; }

References m_external.

Referenced by linkifyText(), and setExternal().

◆ fileScope()

const FileDef * LinkifyTextOptions::fileScope ( ) const
inline

Definition at line 48 of file linkifytext.h.

48{ return m_fileScope; }
const FileDef * m_fileScope
Definition linkifytext.h:88

References m_fileScope.

Referenced by linkifyText(), and setFileScope().

◆ indentLevel()

int LinkifyTextOptions::indentLevel ( ) const
inline

Definition at line 54 of file linkifytext.h.

54{ return m_indentLevel; }

References m_indentLevel.

Referenced by linkifyText(), and setIndentLevel().

◆ keepSpaces()

bool LinkifyTextOptions::keepSpaces ( ) const
inline

Definition at line 53 of file linkifytext.h.

53{ return m_keepSpaces; }

References m_keepSpaces.

Referenced by linkifyText(), and setKeepSpaces().

◆ scope()

const Definition * LinkifyTextOptions::scope ( ) const
inline

Definition at line 47 of file linkifytext.h.

47{ return m_scope; }
const Definition * m_scope
Definition linkifytext.h:87

References m_scope.

Referenced by linkifyText(), and setScope().

◆ self()

const Definition * LinkifyTextOptions::self ( ) const
inline

Definition at line 49 of file linkifytext.h.

49{ return m_self; }
const Definition * m_self
Definition linkifytext.h:89

References m_self.

Referenced by linkifyText(), and setSelf().

◆ setArgumentList()

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

Definition at line 67 of file linkifytext.h.

68 { m_al = al; return *this; }

References m_al.

◆ setAutoBreak()

LinkifyTextOptions & LinkifyTextOptions::setAutoBreak ( bool autoBreak)
inline

Definition at line 70 of file linkifytext.h.

71 { m_autoBreak = autoBreak; return *this; }
bool autoBreak() const
Definition linkifytext.h:51

References autoBreak(), and m_autoBreak.

◆ setBreakThreshold()

LinkifyTextOptions & LinkifyTextOptions::setBreakThreshold ( size_t breakThreshold)
inline

Definition at line 82 of file linkifytext.h.

83 { m_breakThreshold = breakThreshold; return *this; }
size_t breakThreshold() const
Definition linkifytext.h:55

References breakThreshold(), and m_breakThreshold.

◆ setExternal()

LinkifyTextOptions & LinkifyTextOptions::setExternal ( bool external)
inline

Definition at line 73 of file linkifytext.h.

74 { m_external = external; return *this; }
bool external() const
Definition linkifytext.h:52

References external(), and m_external.

◆ setFileScope()

◆ setIndentLevel()

LinkifyTextOptions & LinkifyTextOptions::setIndentLevel ( int indentLevel)
inline

Definition at line 79 of file linkifytext.h.

80 { m_indentLevel = indentLevel; return *this; }
int indentLevel() const
Definition linkifytext.h:54

References indentLevel(), and m_indentLevel.

◆ setKeepSpaces()

LinkifyTextOptions & LinkifyTextOptions::setKeepSpaces ( bool keepSpaces)
inline

Definition at line 76 of file linkifytext.h.

77 { m_keepSpaces = keepSpaces; return *this; }
bool keepSpaces() const
Definition linkifytext.h:53

References keepSpaces(), and m_keepSpaces.

◆ setScope()

◆ setSelf()

Member Data Documentation

◆ m_al

const ArgumentList* LinkifyTextOptions::m_al = nullptr
private

Definition at line 90 of file linkifytext.h.

Referenced by argumentList(), and setArgumentList().

◆ m_autoBreak

bool LinkifyTextOptions::m_autoBreak = false
private

Definition at line 91 of file linkifytext.h.

Referenced by autoBreak(), and setAutoBreak().

◆ m_breakThreshold

size_t LinkifyTextOptions::m_breakThreshold = 30
private

Definition at line 95 of file linkifytext.h.

Referenced by breakThreshold(), and setBreakThreshold().

◆ m_external

bool LinkifyTextOptions::m_external = true
private

Definition at line 92 of file linkifytext.h.

Referenced by external(), and setExternal().

◆ m_fileScope

const FileDef* LinkifyTextOptions::m_fileScope = nullptr
private

Definition at line 88 of file linkifytext.h.

Referenced by fileScope(), and setFileScope().

◆ m_indentLevel

int LinkifyTextOptions::m_indentLevel = 0
private

Definition at line 94 of file linkifytext.h.

Referenced by indentLevel(), and setIndentLevel().

◆ m_keepSpaces

bool LinkifyTextOptions::m_keepSpaces = false
private

Definition at line 93 of file linkifytext.h.

Referenced by keepSpaces(), and setKeepSpaces().

◆ m_scope

const Definition* LinkifyTextOptions::m_scope = nullptr
private

Definition at line 87 of file linkifytext.h.

Referenced by scope(), and setScope().

◆ m_self

const Definition* LinkifyTextOptions::m_self = nullptr
private

Definition at line 89 of file linkifytext.h.

Referenced by self(), and setSelf().


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