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
const std::vector< const ArgumentList * > & templateArgumentLists () 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 & addTemplateArgumentList (const ArgumentList *tal)
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
std::vector< const ArgumentList * > m_tals
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 44 of file linkifytext.h.

Member Function Documentation

◆ addTemplateArgumentList()

LinkifyTextOptions & LinkifyTextOptions::addTemplateArgumentList ( const ArgumentList * tal)
inline

Definition at line 73 of file linkifytext.h.

74 { m_tals.push_back(tal); return *this; }
std::vector< const ArgumentList * > m_tals
Definition linkifytext.h:97

References m_tals.

Referenced by writeTemplateArgumentList().

◆ argumentList()

const ArgumentList * LinkifyTextOptions::argumentList ( ) const
inline

Definition at line 51 of file linkifytext.h.

51{ return m_al; }
const ArgumentList * m_al
Definition linkifytext.h:96

References m_al.

Referenced by linkifyText().

◆ autoBreak()

bool LinkifyTextOptions::autoBreak ( ) const
inline

Definition at line 53 of file linkifytext.h.

53{ return m_autoBreak; }

References m_autoBreak.

Referenced by linkifyText(), and setAutoBreak().

◆ breakThreshold()

size_t LinkifyTextOptions::breakThreshold ( ) const
inline

Definition at line 57 of file linkifytext.h.

57{ return m_breakThreshold; }

References m_breakThreshold.

Referenced by linkifyText(), and setBreakThreshold().

◆ external()

bool LinkifyTextOptions::external ( ) const
inline

Definition at line 54 of file linkifytext.h.

54{ return m_external; }

References m_external.

Referenced by linkifyText(), and setExternal().

◆ fileScope()

const FileDef * LinkifyTextOptions::fileScope ( ) const
inline

Definition at line 49 of file linkifytext.h.

49{ return m_fileScope; }
const FileDef * m_fileScope
Definition linkifytext.h:94

References m_fileScope.

Referenced by linkifyText(), and setFileScope().

◆ indentLevel()

int LinkifyTextOptions::indentLevel ( ) const
inline

Definition at line 56 of file linkifytext.h.

56{ return m_indentLevel; }

References m_indentLevel.

Referenced by linkifyText(), and setIndentLevel().

◆ keepSpaces()

bool LinkifyTextOptions::keepSpaces ( ) const
inline

Definition at line 55 of file linkifytext.h.

55{ return m_keepSpaces; }

References m_keepSpaces.

Referenced by linkifyText(), and setKeepSpaces().

◆ scope()

const Definition * LinkifyTextOptions::scope ( ) const
inline

Definition at line 48 of file linkifytext.h.

48{ return m_scope; }
const Definition * m_scope
Definition linkifytext.h:93

References m_scope.

Referenced by getTemplateParameterNames(), linkifyText(), and setScope().

◆ self()

const Definition * LinkifyTextOptions::self ( ) const
inline

Definition at line 50 of file linkifytext.h.

50{ return m_self; }
const Definition * m_self
Definition linkifytext.h:95

References m_self.

Referenced by getTemplateParameterNames(), linkifyText(), and setSelf().

◆ setArgumentList()

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

Definition at line 69 of file linkifytext.h.

70 { m_al = al; return *this; }

References m_al.

◆ setAutoBreak()

LinkifyTextOptions & LinkifyTextOptions::setAutoBreak ( bool autoBreak)
inline

Definition at line 76 of file linkifytext.h.

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

References autoBreak(), and m_autoBreak.

◆ setBreakThreshold()

LinkifyTextOptions & LinkifyTextOptions::setBreakThreshold ( size_t breakThreshold)
inline

Definition at line 88 of file linkifytext.h.

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

References breakThreshold(), and m_breakThreshold.

◆ setExternal()

LinkifyTextOptions & LinkifyTextOptions::setExternal ( bool external)
inline

Definition at line 79 of file linkifytext.h.

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

References external(), and m_external.

◆ setFileScope()

◆ setIndentLevel()

LinkifyTextOptions & LinkifyTextOptions::setIndentLevel ( int indentLevel)
inline

Definition at line 85 of file linkifytext.h.

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

References indentLevel(), and m_indentLevel.

◆ setKeepSpaces()

LinkifyTextOptions & LinkifyTextOptions::setKeepSpaces ( bool keepSpaces)
inline

Definition at line 82 of file linkifytext.h.

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

References keepSpaces(), and m_keepSpaces.

◆ setScope()

◆ setSelf()

◆ templateArgumentLists()

const std::vector< const ArgumentList * > & LinkifyTextOptions::templateArgumentLists ( ) const
inline

Definition at line 52 of file linkifytext.h.

52{ return m_tals; }

References m_tals.

Referenced by getTemplateParameterNames().

Member Data Documentation

◆ m_al

const ArgumentList* LinkifyTextOptions::m_al = nullptr
private

Definition at line 96 of file linkifytext.h.

Referenced by argumentList(), and setArgumentList().

◆ m_autoBreak

bool LinkifyTextOptions::m_autoBreak = false
private

Definition at line 98 of file linkifytext.h.

Referenced by autoBreak(), and setAutoBreak().

◆ m_breakThreshold

size_t LinkifyTextOptions::m_breakThreshold = 30
private

Definition at line 102 of file linkifytext.h.

Referenced by breakThreshold(), and setBreakThreshold().

◆ m_external

bool LinkifyTextOptions::m_external = true
private

Definition at line 99 of file linkifytext.h.

Referenced by external(), and setExternal().

◆ m_fileScope

const FileDef* LinkifyTextOptions::m_fileScope = nullptr
private

Definition at line 94 of file linkifytext.h.

Referenced by fileScope(), and setFileScope().

◆ m_indentLevel

int LinkifyTextOptions::m_indentLevel = 0
private

Definition at line 101 of file linkifytext.h.

Referenced by indentLevel(), and setIndentLevel().

◆ m_keepSpaces

bool LinkifyTextOptions::m_keepSpaces = false
private

Definition at line 100 of file linkifytext.h.

Referenced by keepSpaces(), and setKeepSpaces().

◆ m_scope

const Definition* LinkifyTextOptions::m_scope = nullptr
private

Definition at line 93 of file linkifytext.h.

Referenced by scope(), and setScope().

◆ m_self

const Definition* LinkifyTextOptions::m_self = nullptr
private

Definition at line 95 of file linkifytext.h.

Referenced by self(), and setSelf().

◆ m_tals

std::vector<const ArgumentList *> LinkifyTextOptions::m_tals
private

Definition at line 97 of file linkifytext.h.

Referenced by addTemplateArgumentList(), and templateArgumentLists().


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