Doxygen
|
Wrapper class for the Entry type. More...
#include <src/types.h>
Public Member Functions | |
ENTRY_TYPES constexpr bool | isCompound () const noexcept |
constexpr bool | isScope () const noexcept |
constexpr bool | isFile () const noexcept |
constexpr bool | isCompoundDoc () const noexcept |
constexpr bool | isDoc () const noexcept |
std::string | to_string () const |
Private Types | |
enum | TypeName { ENTRY_TYPES } |
enum | CategoryBits { None = 0 , Compound = (1<<16) , Scope = (1<<17) , File = (1<<18) , CompoundDoc = (1<<19) , Doc = (1<<20) , TypeMask = 0x0000FFFF , CategoryMask = 0xFFFF0000 } |
Private Member Functions | |
constexpr | EntryType (int t) noexcept |
std::string | bits_to_string () const |
constexpr TypeName | type () const noexcept |
Private Attributes | |
unsigned int | m_type = Empty |
Friends | |
bool | operator== (const EntryType &t1, const EntryType &t2) |
bool | operator!= (const EntryType &t1, const EntryType &t2) |
Wrapper class for the Entry type.
Can be set only during construction. Packs the type together with category flags.
|
private |
Enumerator | |
---|---|
None | |
Compound | |
Scope | |
File | |
CompoundDoc | |
Doc | |
TypeMask | |
CategoryMask |
Definition at line 848 of file types.h.
|
private |
Enumerator | |
---|---|
ENTRY_TYPES |
|
inlineexplicitconstexprprivatenoexcept |
|
inlineprivate |
|
inlineconstexprnoexcept |
Definition at line 820 of file types.h.
References Compound, and m_type.
Referenced by addClassToContext(), buildClassList(), buildFunctionList(), buildListOfUsingDecls(), findUsingDeclarations(), findUsingDeclImports(), isClassSection(), and isVarWithConstructor().
|
inlineconstexprnoexcept |
Definition at line 823 of file types.h.
References CompoundDoc, and m_type.
Referenced by buildClassDocList(), and isClassSection().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 821 of file types.h.
Referenced by addClassToContext(), addConceptToContext(), addEnumValuesToEnums(), addVariable(), findEnumDocumentation(), findEnums(), and findMember().
|
inline |
Definition at line 825 of file types.h.
References ENTRY_TYPES, and type().
Referenced by fmt::formatter< EntryType >::format(), and printNavTree().
|
inlineconstexprprivatenoexcept |
Definition at line 837 of file types.h.
References EntryType(), and operator==.
Definition at line 836 of file types.h.
References EntryType(), and m_type.
Referenced by operator!=.
|
private |
Definition at line 870 of file types.h.
Referenced by bits_to_string(), isCompound(), isCompoundDoc(), isDoc(), isFile(), isScope(), operator==, and type().