Encapsulates the information given with the links that this whole project was created for. Instances represent an XLink to a doxygen Target as given by the user.
Definition at line 25 of file styles.hpp.
#include <styles.hpp>
Public Static Field Index: | |
| static constexpr alib::String | Class = "xl-class" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Code = "xl-entity" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Concept = "xl-concept" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Dir = "xl-dir" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Doc = "xl-doc" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | EL = "el" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | ELRef = "elRef" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | ELUnknown = "xl-elukn" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Enum = "xl-enum" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | EnumElem = "xl-enumelem" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | File = "xl-file" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | FileOrDir = "xl-filedir" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Func = "xl-func" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Indirect = "xl-indirect" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Macro = "xl-macro" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Namespace = "xl-ns" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | NsMem = "xl-in-ns" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | RecMem = "xl-in-rec" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Record = "xl-record" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | SrcFile = "xl-srcfile" |
| todo: only set with EL/ELRef today. | |
| static constexpr alib::String | SrcFileLine = "xl-srcline" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Struct = "xl-struct" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Template = "xl-template" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | TemplSpec = "xl-tempspec" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Typedef = "xl-typedef" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Union = "xl-union" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | Var = "xl-var" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | WithDisp = "xl-display" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
| static constexpr alib::String | XLEL = "xl-el" |
| CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output. | |
Public Method Index: | |
| Styles ()=default | |
| Constructor. | |
| void | Add (const alib::String &style) |
| const alib::String & | Get (int idx) const |
| bool | IsCodeEntity () const |
| bool | IsDir () const |
| bool | IsFile () const |
| bool | IsVerbal () const |
| void | Set (const Index::Node &node, bool hasDisplayText, bool isIndirect) |
| int | Size () const |
Protected Static Field Index: | |
| static constexpr int | MAX_STYLES = 7 |
| The maximum number of styles attached by DoxygenXLinks. | |
Protected Field Index: | |
| bool | isCodeEntity = false |
| This set when a code entity is targeted by the XLink. | |
| bool | isDir = false |
| This set when a dir is targeted by the XLink. | |
| bool | isFile = false |
| This set when a file is targeted by the XLink. | |
| bool | isVerbal = false |
| This is set when a display text was given to the XLink. | |
| const alib::String * | list [MAX_STYLES] |
| The original source string. | |
| int | size = 0 |
| The number of styles in list. | |
|
friend |
Definition at line 26 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 71 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 64 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 68 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 62 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 57 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 54 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 55 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 89 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 73 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 74 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 59 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 78 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 76 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 82 of file styles.hpp.
|
protected |
This set when a code entity is targeted by the XLink.
Definition at line 44 of file styles.hpp.
|
protected |
This set when a dir is targeted by the XLink.
Definition at line 47 of file styles.hpp.
|
protected |
This set when a file is targeted by the XLink.
Definition at line 50 of file styles.hpp.
|
protected |
This is set when a display text was given to the XLink.
Definition at line 41 of file styles.hpp.
|
protected |
The original source string.
Definition at line 35 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 66 of file styles.hpp.
|
staticconstexprprotected |
The maximum number of styles attached by DoxygenXLinks.
Definition at line 32 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 69 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 83 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 84 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 79 of file styles.hpp.
|
protected |
The number of styles in list.
Definition at line 38 of file styles.hpp.
|
staticconstexpr |
todo: only set with EL/ELRef today.
Definition at line 60 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 61 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 70 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 80 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 81 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 67 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 72 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 75 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 85 of file styles.hpp.
|
staticconstexpr |
CSS class name. See user manual chapter 2. CSS Link Styles for HTML Output.
Definition at line 88 of file styles.hpp.
|
inline |
Adds the given style class string to this list of styles.
| style | The target node. |
Definition at line 118 of file styles.hpp.
|
inline |
Receives a style-class string.
| idx | The index requested |
Definition at line 113 of file styles.hpp.
|
inline |
true if a code entity is targeted by the XLink, false otherwise. Definition at line 102 of file styles.hpp.
|
inline |
true if a directory is targeted by the XLink, false otherwise. Definition at line 105 of file styles.hpp.
|
inline |
true if a file is targeted by the XLink, false otherwise. Definition at line 108 of file styles.hpp.
|
inline |
true if a display text was given to the XLink, false otherwise. Definition at line 99 of file styles.hpp.
| void dxl::Styles::Set | ( | const Index::Node & | node, |
| bool | hasDisplayText, | ||
| bool | isIndirect ) |
Sets the styles from the given parameters.
| node | The target-node to set the styles for. |
| hasDisplayText | Denotes whether a dedicated display text was given to the XLink. |
| isIndirect | Denotes whether a type-definition or an inherited member was resolved. |
Definition at line 18 of file styles.cpp.
|
inline |
Receives the number of style-classes set.
Definition at line 96 of file styles.hpp.