|
Doxygen
|
#include <src/cite.h>
Public Member Functions | |
| constexpr | CiteInfoOption () |
| constexpr void | changeToNumber () noexcept |
| constexpr void | setNoPar () noexcept |
| constexpr void | setNoCite () noexcept |
| constexpr bool | isUnknown () const noexcept |
| constexpr bool | isNumber () const noexcept |
| constexpr bool | isShortAuthor () const noexcept |
| constexpr bool | isYear () const noexcept |
| constexpr bool | noPar () const noexcept |
| constexpr bool | noCite () const noexcept |
Static Public Member Functions | |
| static constexpr CiteInfoOption | makeNumber () |
| static constexpr CiteInfoOption | makeShortAuthor () |
| static constexpr CiteInfoOption | makeYear () |
Private Types | |
| enum | Bits { UNKNOWN = 0 , NUMBER = (1<<0) , SHORTAUTHOR = (1<<1) , YEAR = (1<<2) , TypeMask = 0x0000FFFF , OptionMask = 0xFFFF0000 , NOPAR_BIT = (1<<16) , NOCITE_BIT = (1<<17) } |
Private Member Functions | |
| constexpr | CiteInfoOption (int bits) |
Private Attributes | |
| unsigned int | m_bits = UNKNOWN |
Friends | |
| bool | operator== (const CiteInfoOption &t1, const CiteInfoOption &t2) |
| bool | operator!= (const CiteInfoOption &t1, const CiteInfoOption &t2) |
|
private |
| Enumerator | |
|---|---|
| UNKNOWN | |
| NUMBER | |
| SHORTAUTHOR | |
| YEAR | |
| TypeMask | |
| OptionMask | |
| NOPAR_BIT | |
| NOCITE_BIT | |
Definition at line 51 of file cite.h.
|
inlineconstexpr |
Definition at line 28 of file cite.h.
Referenced by makeNumber(), makeShortAuthor(), makeYear(), operator!=, and operator==.
|
inlineconstexprprivate |
|
inlineconstexprnoexcept |
Definition at line 33 of file cite.h.
References m_bits, NUMBER, and OptionMask.
Referenced by DocPara::handleCite().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexpr |
Definition at line 29 of file cite.h.
References CiteInfoOption(), and NUMBER.
Referenced by DocPara::handleCite().
|
inlinestaticconstexpr |
Definition at line 30 of file cite.h.
References CiteInfoOption(), and SHORTAUTHOR.
Referenced by DocPara::handleCite().
|
inlinestaticconstexpr |
Definition at line 31 of file cite.h.
References CiteInfoOption(), and YEAR.
Referenced by DocPara::handleCite().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 35 of file cite.h.
References m_bits, and NOCITE_BIT.
Referenced by DocPara::handleCite().
|
inlineconstexprnoexcept |
|
friend |
Definition at line 46 of file cite.h.
References CiteInfoOption(), and operator==.
|
friend |
Definition at line 45 of file cite.h.
References CiteInfoOption(), and m_bits.
Referenced by operator!=.
|
private |
Definition at line 64 of file cite.h.
Referenced by changeToNumber(), CiteInfoOption(), isNumber(), isShortAuthor(), isUnknown(), isYear(), noCite(), noPar(), operator==, setNoCite(), and setNoPar().