Doxygen
Loading...
Searching...
No Matches
types.h File Reference

This file contains a number of basic enums and types. More...

#include "qcstring.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Grouping
 Grouping info. More...
class  MemberListType
 Wrapper class for the MemberListType type. More...
class  LocalToc
class  TypeSpecifier
 Wrapper class for a number of boolean properties. More...
class  EntryType
 Wrapper class for the Entry type. More...

Macros

#define PROTECTION_SPECIFICATIONS
 Protection level of members.
#define PROTSPEC(x, y, z)
#define PROTSPEC(x, y, z)
#define PROTSPEC(x, y, z)
#define PROTSPEC(x, y, z)
#define SPECIFIER_SPECIFICATIONS
 Virtualness of a member.
#define SPECSPEC(x, y)
#define SPECSPEC(x, y)
#define SPECSPEC(x, y)
#define METHODTYPE_SPECIFICATIONS
 Kind of method.
#define MTSPEC(x)
#define MTSPEC(x)
#define RELATESTYPE_SPECIFICATIONS
 Type of member relation.
#define RTSPEC(x)
#define RTSPEC(x)
#define RELATIONSHIP_SPECIFICATIONS
 Kind of member relationship.
#define RSSPEC(x)
#define RSSPEC(x)
#define SRCLANGEXT_SPECIFICATIONS
 Language as given by extension.
#define SRCLANGEXT(x, v, z)
#define SRCLANGEXT(x, v, z)
#define ML_TYPES
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)
#define MEMBERTYPE_SPECIFICATIONS
#define MEMBERTYPE(x, y, z)
#define MEMBERTYPE(x, y, z)
#define MEMBERTYPE(x, y, z)
#define MEMBERTYPE(x, y, z)
#define TYPE_SPECIFIERS
#define TSPEC(x)
#define TSPEC0(x)
#define TSPEC(x)
#define TSPEC0(x)
#define TSPEC(x)
#define TSPEC0(x)
#define TSPEC(x)
#define TSPEC0(x)
#define TSPEC(x)
#define TSPEC0(x)
#define TSPEC(x)
#define TSPEC0(x)
#define ENTRY_TYPES
#define ETYPE(x, bits)
#define ETYPE(x, bits)
#define ETYPE(x, bits)

Enumerations

enum class  Protection { PROTECTION_SPECIFICATIONS }
enum class  Specifier { SPECIFIER_SPECIFICATIONS }
enum class  MethodTypes { METHODTYPE_SPECIFICATIONS }
enum class  RelatesType { RELATESTYPE_SPECIFICATIONS }
enum class  Relationship { RELATIONSHIP_SPECIFICATIONS }
enum class  SrcLangExt { SRCLANGEXT_SPECIFICATIONS }
enum class  MemberListContainer {
  File , Namespace , Group , Class ,
  Module
}
enum class  CodeSymbolType {
  Default , Class , Struct , Union ,
  Interface , Protocol , Category , Exception ,
  Service , Singleton , Concept , Namespace ,
  Package , Module , Define , Function ,
  Variable , Typedef , EnumValue , Enumeration ,
  Signal , Slot , Friend , DCOP ,
  Property , Event , Sequence , Dictionary
}
enum class  MemberType { MEMBERTYPE_SPECIFICATIONS }
enum class  FortranFormat { Unknown , Free , Fixed }
enum class  VhdlSpecifier {
  UNKNOWN =0 , LIBRARY , ENTITY , PACKAGE_BODY ,
  ARCHITECTURE , PACKAGE , ATTRIBUTE , SIGNAL ,
  COMPONENT , CONSTANT , TYPE , SUBTYPE ,
  FUNCTION , RECORD , PROCEDURE , USE ,
  PROCESS , PORT , UNITS , GENERIC ,
  INSTANTIATION , GROUP , VFILE , SHAREDVARIABLE ,
  CONFIG , ALIAS , MISCELLANEOUS , UCF_CONST
}

Functions

static constexpr const char * to_string (Protection prot) noexcept
static constexpr const char * to_string_lower (Protection prot) noexcept
static constexpr const char * to_string_lower_class (Protection prot) noexcept
static constexpr const char * to_string (Specifier spec) noexcept
static constexpr const char * to_string_lower (Specifier spec) noexcept
static constexpr const char * to_string (MethodTypes mt) noexcept
static constexpr const char * to_string (RelatesType rt) noexcept
static constexpr const char * to_string (Relationship rs) noexcept
static constexpr const char * to_string (SrcLangExt sle) noexcept
constexpr const char * codeSymbolType2Str (CodeSymbolType type) noexcept
static constexpr const char * to_string (MemberType mt) noexcept
static constexpr const char * to_string_lower (MemberType mt) noexcept
static constexpr bool to_isFunction (MemberType mt) noexcept

Detailed Description

This file contains a number of basic enums and types.

Definition in file types.h.

Macro Definition Documentation

◆ ENTRY_TYPES

#define ENTRY_TYPES

Definition at line 803 of file types.h.

803#define ENTRY_TYPES \
804 ETYPE(Empty, None) \
805 ETYPE(Class, Compound|Scope) \
806 ETYPE(Namespace, Scope) \
807 ETYPE(Concept, None) \
808 ETYPE(ConceptCodePart, None) \
809 ETYPE(ConceptDocPart, None) \
810 ETYPE(ClassDoc, CompoundDoc|Doc) \
811 ETYPE(StructDoc, CompoundDoc|Doc) \
812 ETYPE(UnionDoc, CompoundDoc|Doc) \
813 ETYPE(ExceptionDoc, CompoundDoc|Doc) \
814 ETYPE(InterfaceDoc, CompoundDoc|Doc) \
815 ETYPE(ProtocolDoc, CompoundDoc|Doc) \
816 ETYPE(CategoryDoc, CompoundDoc|Doc) \
817 ETYPE(ServiceDoc, CompoundDoc|Doc) \
818 ETYPE(SingletonDoc, CompoundDoc|Doc) \
819 ETYPE(Source, File) \
820 ETYPE(Header, File) \
821 ETYPE(ModuleDoc, Doc) \
822 ETYPE(ConceptDoc, Doc) \
823 ETYPE(NamespaceDoc, Doc) \
824 ETYPE(EnumDoc, Doc) \
825 ETYPE(PageDoc, Doc) \
826 ETYPE(MemberDoc, Doc) \
827 ETYPE(OverloadDoc, Doc) \
828 ETYPE(Example, Doc) \
829 ETYPE(VariableDoc, Doc) \
830 ETYPE(FileDoc, Doc) \
831 ETYPE(DefineDoc, Doc) \
832 ETYPE(GroupDoc, Doc) \
833 ETYPE(RequirementDoc, Doc) \
834 ETYPE(MainpageDoc, Doc) \
835 ETYPE(MemberGrp, Doc) \
836 ETYPE(PackageDoc, Doc) \
837 ETYPE(DirDoc, Doc) \
838 ETYPE(Variable, None) \
839 ETYPE(Function, None) \
840 ETYPE(Typedef, None) \
841 ETYPE(Include, None) \
842 ETYPE(Enum, None) \
843 ETYPE(Define, None) \
844 ETYPE(UsingDir, None) \
845 ETYPE(UsingDecl, None) \
846 ETYPE(Package, None) \
847 ETYPE(ObjcImpl, None) \
848 ETYPE(ExportedInterface, None) \
849 ETYPE(IncludedService, None) \
850 ETYPE(ExampleLineno, Doc) \
851

◆ ETYPE [1/3]

#define ETYPE ( x,
bits )
Value:
x,

Definition at line 858 of file types.h.

858#define ETYPE(x,bits) \
859 static constexpr EntryType make##x() noexcept { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
860 constexpr bool is##x() const noexcept { return (m_type&TypeMask)==x; }

◆ ETYPE [2/3]

#define ETYPE ( x,
bits )
Value:
case x : return "["+std::string(#x)+bits_to_string()+"]";

Definition at line 858 of file types.h.

858#define ETYPE(x,bits) \
859 static constexpr EntryType make##x() noexcept { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
860 constexpr bool is##x() const noexcept { return (m_type&TypeMask)==x; }

◆ ETYPE [3/3]

#define ETYPE ( x,
bits )
Value:
static constexpr EntryType make##x() noexcept { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
constexpr bool is##x() const noexcept { return (m_type&TypeMask)==x; }
Wrapper class for the Entry type.
Definition types.h:856

Definition at line 858 of file types.h.

858#define ETYPE(x,bits) \
859 static constexpr EntryType make##x() noexcept { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
860 constexpr bool is##x() const noexcept { return (m_type&TypeMask)==x; }

◆ MEMBERTYPE [1/4]

#define MEMBERTYPE ( x,
y,
z )
Value:
case MemberType::x: result = z; break;

Definition at line 570 of file types.h.

◆ MEMBERTYPE [2/4]

#define MEMBERTYPE ( x,
y,
z )
Value:
case MemberType::x: result = #y; break;

Definition at line 570 of file types.h.

◆ MEMBERTYPE [3/4]

#define MEMBERTYPE ( x,
y,
z )
Value:
case MemberType::x: result = #x; break;

Definition at line 570 of file types.h.

◆ MEMBERTYPE [4/4]

#define MEMBERTYPE ( x,
y,
z )
Value:
x,

Definition at line 570 of file types.h.

◆ MEMBERTYPE_SPECIFICATIONS

#define MEMBERTYPE_SPECIFICATIONS
Value:
MEMBERTYPE(Define, define, false) \
MEMBERTYPE(Function, function, true) \
MEMBERTYPE(Variable, variable, false) \
MEMBERTYPE(Typedef, typedef, false) \
MEMBERTYPE(Enumeration, enum, false) \
MEMBERTYPE(EnumValue, enumvalue, false) \
MEMBERTYPE(Signal, signal, true) \
MEMBERTYPE(Slot, slot, true) \
MEMBERTYPE(Friend, friend, true) \
MEMBERTYPE(DCOP, dcop, true) \
MEMBERTYPE(Property, property, false) \
MEMBERTYPE(Event, event, false) \
MEMBERTYPE(Interface, interface, false) \
MEMBERTYPE(Service, service, false) \
MEMBERTYPE(Sequence, sequence, false) \
MEMBERTYPE(Dictionary, dictionary, false)
A class representing a macro definition.
Definition define.h:31
#define MEMBERTYPE(x, y, z)
Definition types.h:570

Definition at line 551 of file types.h.

551#define MEMBERTYPE_SPECIFICATIONS \
552 MEMBERTYPE(Define, define, false) \
553 MEMBERTYPE(Function, function, true) \
554 MEMBERTYPE(Variable, variable, false) \
555 MEMBERTYPE(Typedef, typedef, false) \
556 MEMBERTYPE(Enumeration, enum, false) \
557 MEMBERTYPE(EnumValue, enumvalue, false) \
558 MEMBERTYPE(Signal, signal, true) \
559 MEMBERTYPE(Slot, slot, true) \
560 MEMBERTYPE(Friend, friend, true) \
561 MEMBERTYPE(DCOP, dcop, true) \
562 MEMBERTYPE(Property, property, false) \
563 MEMBERTYPE(Event, event, false) \
564 MEMBERTYPE(Interface, interface, false) \
565 MEMBERTYPE(Service, service, false) \
566 MEMBERTYPE(Sequence, sequence, false) \
567 MEMBERTYPE(Dictionary, dictionary, false)

Referenced by to_isFunction(), to_string(), and to_string_lower().

◆ METHODTYPE_SPECIFICATIONS

#define METHODTYPE_SPECIFICATIONS
Value:
MTSPEC(Method) \
MTSPEC(Signal) \
MTSPEC(Slot) \
MTSPEC(DCOP) \
MTSPEC(Property) \
MTSPEC(Event)
#define MTSPEC(x)
Definition types.h:120

Kind of method.

Definition at line 111 of file types.h.

111#define METHODTYPE_SPECIFICATIONS \
112 MTSPEC(Method) \
113 MTSPEC(Signal) \
114 MTSPEC(Slot) \
115 MTSPEC(DCOP) \
116 MTSPEC(Property) \
117 MTSPEC(Event)

Referenced by to_string().

◆ ML_TYPE [1/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
case x##_ : return to_prot();

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPE [2/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
case x##_ : return to_pub();

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPE [3/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
case x##_ : return xml_str;

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPE [4/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
case x##_ : return label;

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPE [5/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
case x##_ : return "["+std::string(#x)+bits_to_string()+"]";

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPE [6/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
static MemberListType x() { return MemberListType(static_cast<int>(x##_)|static_cast<int>(bits)); } \
constexpr bool is##x() const noexcept { return (m_type&TypeMask)==x##_; }
Wrapper class for the MemberListType type.
Definition types.h:346

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPE [7/7]

#define ML_TYPE ( x,
bits,
to_pub,
to_prot,
label,
xml_str )
Value:
x##_,

Definition at line 364 of file types.h.

364#define ML_TYPE(x,bits,to_pub,to_prot,label,xml_str) \
365 x##_,

◆ ML_TYPES

#define ML_TYPES

Definition at line 263 of file types.h.

263#define ML_TYPES \
264 ML_TYPE(PubMethods, Public, Invalid, Invalid, "pub-methods", "public-func" ) \
265 ML_TYPE(ProMethods, Protected, PubMethods, Invalid, "pro-methods", "protected-func" ) \
266 ML_TYPE(PacMethods, Package, Invalid, Invalid, "pac-methods", "package-func" ) \
267 ML_TYPE(PriMethods, Private, PubMethods, ProMethods, "pri-methods", "private-func" ) \
268 ML_TYPE(PubStaticMethods, Public, Invalid, Invalid, "pub-static-methods", "public-static-func" ) \
269 ML_TYPE(ProStaticMethods, Protected, PubStaticMethods, Invalid, "pro-static-methods", "protected-static-func" ) \
270 ML_TYPE(PacStaticMethods, Package, Invalid, Invalid, "pac-static-methods", "package-static-func" ) \
271 ML_TYPE(PriStaticMethods, Private, PubStaticMethods, ProStaticMethods, "pri-static-methods", "private-static-func" ) \
272 ML_TYPE(PubSlots, Public, Invalid, Invalid, "pub-slots", "public-slot" ) \
273 ML_TYPE(ProSlots, Protected, PubSlots, Invalid, "pro-slots", "protected-slot" ) \
274 ML_TYPE(PriSlots, Private, PubSlots, ProSlots, "pri-slots", "private-slot" ) \
275 ML_TYPE(PubAttribs, Public, Invalid, Invalid, "pub-attribs", "public-attrib" ) \
276 ML_TYPE(ProAttribs, Protected, PubAttribs, Invalid, "pro-attribs", "protected-attrib" ) \
277 ML_TYPE(PacAttribs, Package, Invalid, Invalid, "pac-attribs", "package-attrib" ) \
278 ML_TYPE(PriAttribs, Private, PubAttribs, ProAttribs, "pri-attribs", "private-attrib" ) \
279 ML_TYPE(PubStaticAttribs, Public, Invalid, Invalid, "pub-static-attribs", "public-static-attrib" ) \
280 ML_TYPE(ProStaticAttribs, Protected, PubStaticAttribs, Invalid, "pro-static-attribs", "protected-static-attrib" ) \
281 ML_TYPE(PacStaticAttribs, Package, Invalid, Invalid, "pac-static-attribs", "package-static-attrib" ) \
282 ML_TYPE(PriStaticAttribs, Private, PubStaticAttribs, ProStaticAttribs, "pri-static-attribs", "private-static-attrib" ) \
283 ML_TYPE(PubTypes, Public, Invalid, Invalid, "pub-types", "public-type" ) \
284 ML_TYPE(ProTypes, Protected, PubTypes, Invalid, "pro-types", "protected-type" ) \
285 ML_TYPE(PacTypes, Package, Invalid, Invalid, "pac-types", "package-type" ) \
286 ML_TYPE(PriTypes, Private, PubTypes, ProTypes, "pri-types", "private-type" ) \
287 ML_TYPE(Related, OnlyPublic, Invalid, Invalid, "related", "related" ) \
288 ML_TYPE(Signals, OnlyPublic, Invalid, Invalid, "signals", "signal" ) \
289 ML_TYPE(Friends, OnlyPublic, Invalid, Invalid, "friends", "friend" ) \
290 ML_TYPE(DcopMethods, OnlyPublic, Invalid, Invalid, "dcop-methods", "dcop-func" ) \
291 ML_TYPE(Properties, OnlyPublic, Invalid, Invalid, "properties", "property" ) \
292 ML_TYPE(Events, OnlyPublic, Invalid, Invalid, "events", "event" ) \
293 ML_TYPE(AllMembersList, OnlyPublic, Invalid, Invalid, "all-members-list", "all-members-list" ) \
294 ML_TYPE(EnumFields, OnlyPublic, Invalid, Invalid, "enum-fields", "enum-fields" ) \
295 ML_TYPE(MemberGroup, OnlyPublic, Invalid, Invalid, "member-group", "member-group" ) \
296 ML_TYPE(Interfaces, OnlyPublic, Invalid, Invalid, "interfaces", "interfaces" ) \
297 ML_TYPE(Services, OnlyPublic, Invalid, Invalid, "services", "services" ) \
298 ML_TYPE(DecDefineMembers, Declaration, Invalid, Invalid, "define-members", "define" ) \
299 ML_TYPE(DecProtoMembers, Declaration, Invalid, Invalid, "proto-members", "prototype" ) \
300 ML_TYPE(DecTypedefMembers, Declaration, Invalid, Invalid, "typedef-members", "typedef" ) \
301 ML_TYPE(DecEnumMembers, Declaration, Invalid, Invalid, "enum-members", "enum" ) \
302 ML_TYPE(DecFuncMembers, Declaration, Invalid, Invalid, "func-members", "func" ) \
303 ML_TYPE(DecVarMembers, Declaration, Invalid, Invalid, "var-members", "var" ) \
304 ML_TYPE(DecEnumValMembers, Declaration, Invalid, Invalid, "enumval-members", "" ) \
305 ML_TYPE(DecPubSlotMembers, Declaration, Invalid, Invalid, "pub-slot-members", "" ) \
306 ML_TYPE(DecProSlotMembers, Declaration, Invalid, Invalid, "pro-slot-members", "" ) \
307 ML_TYPE(DecPriSlotMembers, Declaration, Invalid, Invalid, "pri-slot-members", "" ) \
308 ML_TYPE(DecSignalMembers, Declaration, Invalid, Invalid, "signal-members", "" ) \
309 ML_TYPE(DecEventMembers, Declaration, Invalid, Invalid, "event-members", "" ) \
310 ML_TYPE(DecFriendMembers, Declaration, Invalid, Invalid, "friend-members", "" ) \
311 ML_TYPE(DecPropMembers, Declaration, Invalid, Invalid, "prop-members", "" ) \
312 ML_TYPE(DecSequenceMembers, Declaration, Invalid, Invalid, "sequence-members", "sequence" ) \
313 ML_TYPE(DecDictionaryMembers,Declaration, Invalid, Invalid, "dictionary-members", "dictionary" ) \
314 ML_TYPE(TypedefMembers, Detailed, Invalid, Invalid, "doc-typedef-members", "" ) \
315 ML_TYPE(EnumMembers, Detailed, Invalid, Invalid, "doc-enum-members", "" ) \
316 ML_TYPE(EnumValMembers, Detailed, Invalid, Invalid, "doc-enum-val-members", "" ) \
317 ML_TYPE(FunctionMembers, Detailed, Invalid, Invalid, "doc-func-members", "" ) \
318 ML_TYPE(RelatedMembers, Detailed, Invalid, Invalid, "doc-related-members", "" ) \
319 ML_TYPE(VariableMembers, Detailed, Invalid, Invalid, "doc-variable-members", "" ) \
320 ML_TYPE(PropertyMembers, Detailed, Invalid, Invalid, "doc-property-members", "" ) \
321 ML_TYPE(EventMembers, Detailed, Invalid, Invalid, "doc-event-members", "" ) \
322 ML_TYPE(Constructors, Detailed, Invalid, Invalid, "doc-constructors", "" ) \
323 ML_TYPE(InterfaceMembers, Detailed, Invalid, Invalid, "interface-members", "" ) \
324 ML_TYPE(ServiceMembers, Detailed, Invalid, Invalid, "service-members", "" ) \
325 ML_TYPE(DocDefineMembers, Documentation,Invalid, Invalid, "doc-define-members", "" ) \
326 ML_TYPE(DocProtoMembers, Documentation,Invalid, Invalid, "doc-proto-members", "" ) \
327 ML_TYPE(DocTypedefMembers, Documentation,Invalid, Invalid, "doc-typedef-members", "" ) \
328 ML_TYPE(DocEnumMembers, Documentation,Invalid, Invalid, "doc-enum-members", "" ) \
329 ML_TYPE(DocFuncMembers, Documentation,Invalid, Invalid, "doc-func-members", "" ) \
330 ML_TYPE(DocVarMembers, Documentation,Invalid, Invalid, "doc-var-members", "" ) \
331 ML_TYPE(DocEnumValMembers, Documentation,Invalid, Invalid, "doc-enum-val-members", "" ) \
332 ML_TYPE(DocPubSlotMembers, Documentation,Invalid, Invalid, "doc-pub-slot-members", "" ) \
333 ML_TYPE(DocProSlotMembers, Documentation,Invalid, Invalid, "doc-pro-slot-members", "" ) \
334 ML_TYPE(DocPriSlotMembers, Documentation,Invalid, Invalid, "doc-pri-slot-members", "" ) \
335 ML_TYPE(DocSignalMembers, Documentation,Invalid, Invalid, "doc-signal-members", "" ) \
336 ML_TYPE(DocEventMembers, Documentation,Invalid, Invalid, "doc-event-members", "" ) \
337 ML_TYPE(DocFriendMembers, Documentation,Invalid, Invalid, "doc-friend-members", "" ) \
338 ML_TYPE(DocPropMembers, Documentation,Invalid, Invalid, "doc-prop-members", "" ) \
339 ML_TYPE(DocSequenceMembers, Documentation,Invalid, Invalid, "doc-sequence-members", "" ) \
340 ML_TYPE(DocDictionaryMembers,Documentation,Invalid, Invalid, "doc-dictionary-members","" ) \
341

◆ MTSPEC [1/2]

#define MTSPEC ( x)
Value:
case MethodTypes::x: result = #x; break;

Definition at line 120 of file types.h.

◆ MTSPEC [2/2]

#define MTSPEC ( x)
Value:
x,

Definition at line 120 of file types.h.

◆ PROTECTION_SPECIFICATIONS

#define PROTECTION_SPECIFICATIONS
Value:
PROTSPEC(Public,public,public) \
PROTSPEC(Protected,protected,protected) \
PROTSPEC(Private,private,private) \
PROTSPEC(Package,package,protected)
#define PROTSPEC(x, y, z)
Definition types.h:33

Protection level of members.

Definition at line 26 of file types.h.

26#define PROTECTION_SPECIFICATIONS \
27 PROTSPEC(Public,public,public) \
28 PROTSPEC(Protected,protected,protected) \
29 PROTSPEC(Private,private,private) \
30 PROTSPEC(Package,package,protected)

Referenced by to_string(), to_string_lower(), and to_string_lower_class().

◆ PROTSPEC [1/4]

#define PROTSPEC ( x,
y,
z )
Value:
case Protection::x: result = #z; break;

Definition at line 33 of file types.h.

◆ PROTSPEC [2/4]

#define PROTSPEC ( x,
y,
z )
Value:
case Protection::x: result = #y; break;

Definition at line 33 of file types.h.

◆ PROTSPEC [3/4]

#define PROTSPEC ( x,
y,
z )
Value:
case Protection::x: result = #x; break;

Definition at line 33 of file types.h.

◆ PROTSPEC [4/4]

#define PROTSPEC ( x,
y,
z )
Value:
x,

Definition at line 33 of file types.h.

◆ RELATESTYPE_SPECIFICATIONS

#define RELATESTYPE_SPECIFICATIONS
Value:
RTSPEC(Simple) \
RTSPEC(Duplicate) \
RTSPEC(MemberOf)
#define RTSPEC(x)
Definition types.h:144

Type of member relation.

Definition at line 138 of file types.h.

138#define RELATESTYPE_SPECIFICATIONS \
139 RTSPEC(Simple) \
140 RTSPEC(Duplicate) \
141 RTSPEC(MemberOf)

Referenced by to_string().

◆ RELATIONSHIP_SPECIFICATIONS

#define RELATIONSHIP_SPECIFICATIONS
Value:
RSSPEC(Member) \
RSSPEC(Related) \
RSSPEC(Foreign)
#define RSSPEC(x)
Definition types.h:168

Kind of member relationship.

Definition at line 162 of file types.h.

162#define RELATIONSHIP_SPECIFICATIONS \
163 RSSPEC(Member) \
164 RSSPEC(Related) \
165 RSSPEC(Foreign)

Referenced by to_string().

◆ RSSPEC [1/2]

#define RSSPEC ( x)
Value:
case Relationship::x: result = #x; break;

Definition at line 168 of file types.h.

◆ RSSPEC [2/2]

#define RSSPEC ( x)
Value:
x,

Definition at line 168 of file types.h.

◆ RTSPEC [1/2]

#define RTSPEC ( x)
Value:
case RelatesType::x: result = #x; break;

Definition at line 144 of file types.h.

◆ RTSPEC [2/2]

#define RTSPEC ( x)
Value:
x,

Definition at line 144 of file types.h.

◆ SPECIFIER_SPECIFICATIONS

#define SPECIFIER_SPECIFICATIONS
Value:
SPECSPEC(Normal,non-virtual) \
SPECSPEC(Virtual,virtual) \
SPECSPEC(Pure,pure-virtual)
#define SPECSPEC(x, y)
Definition types.h:81

Virtualness of a member.

Definition at line 75 of file types.h.

75#define SPECIFIER_SPECIFICATIONS \
76 SPECSPEC(Normal,non-virtual) \
77 SPECSPEC(Virtual,virtual) \
78 SPECSPEC(Pure,pure-virtual)

Referenced by to_string(), and to_string_lower().

◆ SPECSPEC [1/3]

#define SPECSPEC ( x,
y )
Value:
case Specifier::x: result = #y; break;

Definition at line 81 of file types.h.

◆ SPECSPEC [2/3]

#define SPECSPEC ( x,
y )
Value:
case Specifier::x: result = #x; break;

Definition at line 81 of file types.h.

◆ SPECSPEC [3/3]

#define SPECSPEC ( x,
y )
Value:
x,

Definition at line 81 of file types.h.

◆ SRCLANGEXT [1/2]

#define SRCLANGEXT ( x,
v,
z )
Value:
case SrcLangExt::x: result = #z; break;

Definition at line 208 of file types.h.

◆ SRCLANGEXT [2/2]

#define SRCLANGEXT ( x,
v,
z )
Value:
x = v,

Definition at line 208 of file types.h.

◆ SRCLANGEXT_SPECIFICATIONS

#define SRCLANGEXT_SPECIFICATIONS
Value:
SRCLANGEXT(Unknown , 0x00000, Unknown) \
SRCLANGEXT(IDL , 0x00008, IDL) \
SRCLANGEXT(Java , 0x00010, Java) \
SRCLANGEXT(CSharp , 0x00020, C#) \
SRCLANGEXT(D , 0x00040, D) \
SRCLANGEXT(PHP , 0x00080, PHP) \
SRCLANGEXT(ObjC , 0x00100, Objective-C) \
SRCLANGEXT(Cpp , 0x00200, C++) \
SRCLANGEXT(JS , 0x00400, Javascript) \
SRCLANGEXT(Python , 0x00800, Python) \
SRCLANGEXT(Fortran , 0x01000, Fortran) \
SRCLANGEXT(VHDL , 0x02000, VHDL) \
SRCLANGEXT(XML , 0x04000, XML) \
SRCLANGEXT(Markdown , 0x10000, Markdown) \
SRCLANGEXT(SQL , 0x20000, SQL) \
SRCLANGEXT(Slice , 0x40000, Slice) \
SRCLANGEXT(Lex , 0x80000, Lex)
Helper class to process markdown formatted text.
Definition markdown.h:32
#define SRCLANGEXT(x, v, z)
Definition types.h:208

Language as given by extension.

Definition at line 186 of file types.h.

186#define SRCLANGEXT_SPECIFICATIONS \
187 SRCLANGEXT(Unknown , 0x00000, Unknown) \
188 SRCLANGEXT(IDL , 0x00008, IDL) \
189 SRCLANGEXT(Java , 0x00010, Java) \
190 SRCLANGEXT(CSharp , 0x00020, C#) \
191 SRCLANGEXT(D , 0x00040, D) \
192 SRCLANGEXT(PHP , 0x00080, PHP) \
193 SRCLANGEXT(ObjC , 0x00100, Objective-C) \
194 SRCLANGEXT(Cpp , 0x00200, C++) \
195 SRCLANGEXT(JS , 0x00400, Javascript) \
196 SRCLANGEXT(Python , 0x00800, Python) \
197 SRCLANGEXT(Fortran , 0x01000, Fortran) \
198 SRCLANGEXT(VHDL , 0x02000, VHDL) \
199 SRCLANGEXT(XML , 0x04000, XML) \
200 SRCLANGEXT(Markdown , 0x10000, Markdown) \
201 SRCLANGEXT(SQL , 0x20000, SQL) \
202 SRCLANGEXT(Slice , 0x40000, Slice) \
203 SRCLANGEXT(Lex , 0x80000, Lex)

Referenced by to_string().

◆ TSPEC [1/6]

#define TSPEC ( x)
Value:
public: \
constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
constexpr bool is##x() const noexcept { return m_is##x; } \
private: \
bool m_is##x : 1;
Wrapper class for a number of boolean properties.
Definition types.h:694

Definition at line 756 of file types.h.

756#define TSPEC(x) \
757 public: \
758 constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
759 constexpr bool is##x() const noexcept { return m_is##x; } \
760 private: \
761 bool m_is##x : 1;

◆ TSPEC [2/6]

#define TSPEC ( x)
Value:
if (m_is##x) { \
if (!first) result+=","; \
result+=#x; first=false; \
}

Definition at line 756 of file types.h.

756#define TSPEC(x) \
757 public: \
758 constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
759 constexpr bool is##x() const noexcept { return m_is##x; } \
760 private: \
761 bool m_is##x : 1;

◆ TSPEC [3/6]

#define TSPEC ( x)
Value:
eq = eq && (t1.m_is##x == t2.m_is##x);

Definition at line 756 of file types.h.

756#define TSPEC(x) \
757 public: \
758 constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
759 constexpr bool is##x() const noexcept { return m_is##x; } \
760 private: \
761 bool m_is##x : 1;

◆ TSPEC [4/6]

#define TSPEC ( x)
Value:
m_is##x = m_is##x || other.is##x();

Definition at line 756 of file types.h.

756#define TSPEC(x) \
757 public: \
758 constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
759 constexpr bool is##x() const noexcept { return m_is##x; } \
760 private: \
761 bool m_is##x : 1;

◆ TSPEC [5/6]

#define TSPEC ( x)
Value:
m_is##x = 0;

Definition at line 756 of file types.h.

756#define TSPEC(x) \
757 public: \
758 constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
759 constexpr bool is##x() const noexcept { return m_is##x; } \
760 private: \
761 bool m_is##x : 1;

◆ TSPEC [6/6]

#define TSPEC ( x)
Value:
,m_is##x(0)

Definition at line 756 of file types.h.

756#define TSPEC(x) \
757 public: \
758 constexpr TypeSpecifier &set##x(bool b) noexcept { m_is##x = b; return *this; } \
759 constexpr bool is##x() const noexcept { return m_is##x; } \
760 private: \
761 bool m_is##x : 1;

◆ TSPEC0 [1/6]

#define TSPEC0 ( x)
Value:
#define TSPEC(x)
Definition types.h:756

Definition at line 762 of file types.h.

◆ TSPEC0 [2/6]

#define TSPEC0 ( x)
Value:

Definition at line 762 of file types.h.

◆ TSPEC0 [3/6]

#define TSPEC0 ( x)
Value:

Definition at line 762 of file types.h.

◆ TSPEC0 [4/6]

#define TSPEC0 ( x)
Value:

Definition at line 762 of file types.h.

◆ TSPEC0 [5/6]

#define TSPEC0 ( x)
Value:

Definition at line 762 of file types.h.

◆ TSPEC0 [6/6]

#define TSPEC0 ( x)
Value:
m_is##x(0)

Definition at line 762 of file types.h.

◆ TYPE_SPECIFIERS

#define TYPE_SPECIFIERS
Value:
TSPEC0(Template) TSPEC(Generic) TSPEC(Ref) TSPEC(Value) TSPEC(Interface) \
TSPEC(SealedClass) TSPEC(AbstractClass) TSPEC(Enum) TSPEC(Service) TSPEC(Singleton) \
TSPEC(ForwardDecl) TSPEC(Local) TSPEC(EnumStruct) TSPEC(ConstExpr) TSPEC(PrivateGettable) \
TSPEC(ProtectedGettable) TSPEC(PrivateSettable) TSPEC(ProtectedSettable) TSPEC(Inline) TSPEC(Explicit) \
TSPEC(Mutable) TSPEC(Settable) TSPEC(Gettable) TSPEC(Readable) TSPEC(Writable) \
TSPEC(Final) TSPEC(Abstract) TSPEC(Addable) TSPEC(Removable) TSPEC(Raisable) \
TSPEC(Override) TSPEC(New) TSPEC(Sealed) TSPEC(Initonly) TSPEC(Optional) \
TSPEC(Required) TSPEC(NonAtomic) TSPEC(Copy) TSPEC(Retain) TSPEC(Assign) \
TSPEC(Strong) TSPEC(Weak) TSPEC(Unretained) TSPEC(Alias) TSPEC(ConstExp) \
TSPEC(Default) TSPEC(Delete) TSPEC(NoExcept) TSPEC(Attribute) TSPEC(Property) \
TSPEC(Readonly) TSPEC(Bound) TSPEC(Constrained) TSPEC(Transient) TSPEC(MaybeVoid) \
TSPEC(MaybeDefault) TSPEC(MaybeAmbiguous) TSPEC(Published) TSPEC(ConstEval) TSPEC(ConstInit) \
TSPEC(NoDiscard) TSPEC(ThreadLocal)
@ Inline
command appears inline in the output which can be a brief description.
#define TSPEC0(x)
Definition types.h:762

Definition at line 673 of file types.h.

673#define TYPE_SPECIFIERS \
674/* 0 */ TSPEC0(Template) TSPEC(Generic) TSPEC(Ref) TSPEC(Value) TSPEC(Interface) \
675/* 5 */ TSPEC(Struct) TSPEC(Union) TSPEC(Exception) TSPEC(Protocol) TSPEC(Category) \
676/* 10 */ TSPEC(SealedClass) TSPEC(AbstractClass) TSPEC(Enum) TSPEC(Service) TSPEC(Singleton) \
677/* 15 */ TSPEC(ForwardDecl) TSPEC(Local) TSPEC(EnumStruct) TSPEC(ConstExpr) TSPEC(PrivateGettable) \
678/* 20 */ TSPEC(ProtectedGettable) TSPEC(PrivateSettable) TSPEC(ProtectedSettable) TSPEC(Inline) TSPEC(Explicit) \
679/* 25 */ TSPEC(Mutable) TSPEC(Settable) TSPEC(Gettable) TSPEC(Readable) TSPEC(Writable) \
680/* 30 */ TSPEC(Final) TSPEC(Abstract) TSPEC(Addable) TSPEC(Removable) TSPEC(Raisable) \
681/* 35 */ TSPEC(Override) TSPEC(New) TSPEC(Sealed) TSPEC(Initonly) TSPEC(Optional) \
682/* 40 */ TSPEC(Required) TSPEC(NonAtomic) TSPEC(Copy) TSPEC(Retain) TSPEC(Assign) \
683/* 45 */ TSPEC(Strong) TSPEC(Weak) TSPEC(Unretained) TSPEC(Alias) TSPEC(ConstExp) \
684/* 50 */ TSPEC(Default) TSPEC(Delete) TSPEC(NoExcept) TSPEC(Attribute) TSPEC(Property) \
685/* 55 */ TSPEC(Readonly) TSPEC(Bound) TSPEC(Constrained) TSPEC(Transient) TSPEC(MaybeVoid) \
686/* 60 */ TSPEC(MaybeDefault) TSPEC(MaybeAmbiguous) TSPEC(Published) TSPEC(ConstEval) TSPEC(ConstInit) \
687/* 65 */ TSPEC(NoDiscard) TSPEC(ThreadLocal)

Referenced by TypeSpecifier::to_string(), and TypeSpecifier::TypeSpecifier().

Enumeration Type Documentation

◆ CodeSymbolType

enum class CodeSymbolType
strong
Enumerator
Default 
Class 
Struct 
Union 
Interface 
Protocol 
Category 
Exception 
Service 
Singleton 
Concept 
Namespace 
Package 
Module 
Define 
Function 
Variable 
Typedef 
EnumValue 
Enumeration 
Signal 
Slot 
Friend 
DCOP 
Property 
Event 
Sequence 
Dictionary 

Definition at line 480 of file types.h.

481{
482 Default,
483 // Class types
484 Class,
485 Struct,
486 Union,
487 Interface,
488 Protocol,
489 Category,
490 Exception,
491 Service,
492 Singleton,
493 // Other container types
494 Concept,
495 Namespace,
496 Package,
497 Module,
498 // Member types
499 Define,
500 Function,
501 Variable,
502 Typedef,
503 EnumValue,
505 Signal,
506 Slot,
507 Friend,
508 DCOP,
509 Property,
510 Event,
511 Sequence,
513};

◆ FortranFormat

enum class FortranFormat
strong
Enumerator
Unknown 
Free 
Fixed 

Definition at line 611 of file types.h.

612{
613 Unknown,
614 Free,
615 Fixed
616};

◆ MemberListContainer

enum class MemberListContainer
strong
Enumerator
File 
Namespace 
Group 
Class 
Module 

Definition at line 471 of file types.h.

◆ MemberType

enum class MemberType
strong
Enumerator
MEMBERTYPE_SPECIFICATIONS 

Definition at line 569 of file types.h.

569 {
570#define MEMBERTYPE(x,y,z) x,
572#undef MEMBERTYPE
573};
@ MEMBERTYPE_SPECIFICATIONS
Definition types.h:571

◆ MethodTypes

enum class MethodTypes
strong
Enumerator
METHODTYPE_SPECIFICATIONS 

Definition at line 119 of file types.h.

119 {
120#define MTSPEC(x) x,
122#undef MTSPEC
123};
@ METHODTYPE_SPECIFICATIONS
Definition types.h:121

◆ Protection

enum class Protection
strong
Enumerator
PROTECTION_SPECIFICATIONS 

Definition at line 32 of file types.h.

32 {
33#define PROTSPEC(x,y,z) x,
35#undef PROTSPEC
36};
@ PROTECTION_SPECIFICATIONS
Definition types.h:34

◆ RelatesType

enum class RelatesType
strong
Enumerator
RELATESTYPE_SPECIFICATIONS 

Definition at line 143 of file types.h.

143 {
144#define RTSPEC(x) x,
146#undef RTSPEC
147};
@ RELATESTYPE_SPECIFICATIONS
Definition types.h:145

◆ Relationship

enum class Relationship
strong
Enumerator
RELATIONSHIP_SPECIFICATIONS 

Definition at line 167 of file types.h.

167 {
168#define RSSPEC(x) x,
170#undef RSSPEC
171};
@ RELATIONSHIP_SPECIFICATIONS
Definition types.h:169

◆ Specifier

enum class Specifier
strong
Enumerator
SPECIFIER_SPECIFICATIONS 

Definition at line 80 of file types.h.

80 {
81#define SPECSPEC(x,y) x,
83#undef SPECSPEC
84};
@ SPECIFIER_SPECIFICATIONS
Definition types.h:82

◆ SrcLangExt

enum class SrcLangExt
strong
Enumerator
SRCLANGEXT_SPECIFICATIONS 

Definition at line 207 of file types.h.

207 {
208#define SRCLANGEXT(x, v, z) x = v,
210#undef SRCLANGEXT
211};
@ SRCLANGEXT_SPECIFICATIONS
Definition types.h:209

◆ VhdlSpecifier

enum class VhdlSpecifier
strong
Enumerator
UNKNOWN 
LIBRARY 
ENTITY 
PACKAGE_BODY 
ARCHITECTURE 
PACKAGE 
ATTRIBUTE 
SIGNAL 
COMPONENT 
CONSTANT 
TYPE 
SUBTYPE 
FUNCTION 
RECORD 
PROCEDURE 
USE 
PROCESS 
PORT 
UNITS 
GENERIC 
INSTANTIATION 
GROUP 
VFILE 
SHAREDVARIABLE 
CONFIG 
ALIAS 
MISCELLANEOUS 
UCF_CONST 

Definition at line 769 of file types.h.

770{
771 UNKNOWN=0,
772 LIBRARY,
773 ENTITY,
776 PACKAGE,
777 ATTRIBUTE,
778 SIGNAL,
779 COMPONENT,
780 CONSTANT,
781 TYPE,
782 SUBTYPE,
783 FUNCTION,
784 RECORD,
785 PROCEDURE,
786 USE,
787 PROCESS,
788 PORT,
789 UNITS,
790 GENERIC,
792 GROUP,
793 VFILE,
795 CONFIG,
796 ALIAS,
799};
@ INSTANTIATION
Definition types.h:791
@ MISCELLANEOUS
Definition types.h:797
@ SHAREDVARIABLE
Definition types.h:794

Function Documentation

◆ codeSymbolType2Str()

const char * codeSymbolType2Str ( CodeSymbolType type)
constexprnoexcept

Definition at line 515 of file types.h.

516{
517 switch (type)
518 {
519 case CodeSymbolType::Class: return "class";
520 case CodeSymbolType::Struct: return "struct";
521 case CodeSymbolType::Union: return "union";
522 case CodeSymbolType::Interface: return "interface";
523 case CodeSymbolType::Protocol: return "protocol";
524 case CodeSymbolType::Category: return "category";
525 case CodeSymbolType::Exception: return "exception";
526 case CodeSymbolType::Service: return "service";
527 case CodeSymbolType::Singleton: return "singleton";
528 case CodeSymbolType::Concept: return "concept";
529 case CodeSymbolType::Namespace: return "namespace";
530 case CodeSymbolType::Package: return "package";
531 case CodeSymbolType::Define: return "define";
532 case CodeSymbolType::Function: return "function";
533 case CodeSymbolType::Variable: return "variable";
534 case CodeSymbolType::Typedef: return "typedef";
535 case CodeSymbolType::EnumValue: return "enumvalue";
536 case CodeSymbolType::Enumeration: return "enumeration";
537 case CodeSymbolType::Signal: return "signal";
538 case CodeSymbolType::Slot: return "slot";
539 case CodeSymbolType::Friend: return "friend";
540 case CodeSymbolType::DCOP: return "dcop";
541 case CodeSymbolType::Property: return "property";
542 case CodeSymbolType::Event: return "event";
543 case CodeSymbolType::Sequence: return "sequence";
544 case CodeSymbolType::Dictionary: return "dictionary";
545 default:
546 return nullptr;
547 }
548}

References Category, Class, Concept, DCOP, Define, Dictionary, Enumeration, EnumValue, Event, Exception, Friend, Function, Interface, Namespace, Package, Property, Protocol, Sequence, Service, Signal, Singleton, Slot, Struct, Typedef, Union, and Variable.

Referenced by HtmlCodeGenerator::writeCodeLink().

◆ to_isFunction()

constexpr bool to_isFunction ( MemberType mt)
staticconstexprnoexcept

Definition at line 599 of file types.h.

600{
601 bool result = false;
602 switch (mt)
603 {
604#define MEMBERTYPE(x,y,z) case MemberType::x: result = z; break;
606#undef MEMBERTYPE
607 }
608 return result;
609}
#define MEMBERTYPE_SPECIFICATIONS
Definition types.h:551

References MEMBERTYPE_SPECIFICATIONS.

Referenced by generateDEFForMember(), PerlModGenerator::generatePerlModForMember(), generateSqlite3ForMember(), and generateXMLForMember().

◆ to_string() [1/7]

constexpr const char * to_string ( MemberType mt)
staticconstexprnoexcept

Definition at line 575 of file types.h.

576{
577 const char *result = "Unknown";
578 switch (mt)
579 {
580#define MEMBERTYPE(x,y,z) case MemberType::x: result = #x; break;
582#undef MEMBERTYPE
583 }
584 return result;
585}

References MEMBERTYPE_SPECIFICATIONS.

◆ to_string() [2/7]

constexpr const char * to_string ( MethodTypes mt)
staticconstexprnoexcept

Definition at line 125 of file types.h.

126{
127 const char *result = "ERROR";
128 switch (mt)
129 {
130#define MTSPEC(x) case MethodTypes::x: result = #x; break;
132#undef MTSPEC
133 }
134 return result;
135}
#define METHODTYPE_SPECIFICATIONS
Kind of method.
Definition types.h:111

References METHODTYPE_SPECIFICATIONS.

◆ to_string() [3/7]

constexpr const char * to_string ( Protection prot)
staticconstexprnoexcept

Definition at line 38 of file types.h.

39{
40 const char *result = "ERROR";
41 switch (prot)
42 {
43#define PROTSPEC(x,y,z) case Protection::x: result = #x; break;
45#undef PROTSPEC
46 }
47 return result;
48}
#define PROTECTION_SPECIFICATIONS
Protection level of members.
Definition types.h:26

References PROTECTION_SPECIFICATIONS.

Referenced by fmt::formatter< MemberType >::format(), fmt::formatter< MethodTypes >::format(), fmt::formatter< Protection >::format(), fmt::formatter< RelatesType >::format(), fmt::formatter< Relationship >::format(), fmt::formatter< Specifier >::format(), fmt::formatter< SrcLangExt >::format(), and langToString().

◆ to_string() [4/7]

constexpr const char * to_string ( RelatesType rt)
staticconstexprnoexcept

Definition at line 149 of file types.h.

150{
151 const char *result = "ERROR";
152 switch (rt)
153 {
154#define RTSPEC(x) case RelatesType::x: result = #x; break;
156#undef RTSPEC
157 }
158 return result;
159}
#define RELATESTYPE_SPECIFICATIONS
Type of member relation.
Definition types.h:138

References RELATESTYPE_SPECIFICATIONS.

◆ to_string() [5/7]

constexpr const char * to_string ( Relationship rs)
staticconstexprnoexcept

Definition at line 173 of file types.h.

174{
175 const char *result = "ERROR";
176 switch (rs)
177 {
178#define RSSPEC(x) case Relationship::x: result = #x; break;
180#undef RSSPEC
181 }
182 return result;
183}
#define RELATIONSHIP_SPECIFICATIONS
Kind of member relationship.
Definition types.h:162

References RELATIONSHIP_SPECIFICATIONS.

◆ to_string() [6/7]

constexpr const char * to_string ( Specifier spec)
staticconstexprnoexcept

Definition at line 86 of file types.h.

87{
88 const char *result = "ERROR";
89 switch (spec)
90 {
91#define SPECSPEC(x,y) case Specifier::x: result = #x; break;
93#undef SPECSPEC
94 }
95 return result;
96}
#define SPECIFIER_SPECIFICATIONS
Virtualness of a member.
Definition types.h:75

References SPECIFIER_SPECIFICATIONS.

◆ to_string() [7/7]

constexpr const char * to_string ( SrcLangExt sle)
staticconstexprnoexcept

Definition at line 213 of file types.h.

214{
215 const char *result = "ERROR";
216 switch (sle)
217 {
218#define SRCLANGEXT(x,v,z) case SrcLangExt::x: result = #z; break;
220#undef SRCLANGEXT
221 }
222 return result;
223}
#define SRCLANGEXT_SPECIFICATIONS
Language as given by extension.
Definition types.h:186

References SRCLANGEXT_SPECIFICATIONS.

◆ to_string_lower() [1/3]

constexpr const char * to_string_lower ( MemberType mt)
staticconstexprnoexcept

Definition at line 587 of file types.h.

588{
589 const char *result = "unknown";
590 switch (mt)
591 {
592#define MEMBERTYPE(x,y,z) case MemberType::x: result = #y; break;
594#undef MEMBERTYPE
595 }
596 return result;
597}

References MEMBERTYPE_SPECIFICATIONS.

◆ to_string_lower() [2/3]

constexpr const char * to_string_lower ( Protection prot)
staticconstexprnoexcept

Definition at line 50 of file types.h.

51{
52 const char *result = "error";
53 switch (prot)
54 {
55#define PROTSPEC(x,y,z) case Protection::x: result = #y; break;
57#undef PROTSPEC
58 }
59 return result;
60}

References PROTECTION_SPECIFICATIONS.

Referenced by generateDEFForClass(), generateDEFForMember(), PerlModGenerator::generatePerlModForMember(), generateXMLForClass(), generateXMLForMember(), getProtectionName(), getVirtualnessName(), MemberDefImpl::memberTypeName(), writeInnerClasses(), writeListOfAllMembers(), and MemberDefImpl::writeTagFile().

◆ to_string_lower() [3/3]

constexpr const char * to_string_lower ( Specifier spec)
staticconstexprnoexcept

Definition at line 98 of file types.h.

99{
100 const char *result = "error";
101 switch (spec)
102 {
103#define SPECSPEC(x,y) case Specifier::x: result = #y; break;
105#undef SPECSPEC
106 }
107 return result;
108}

References SPECIFIER_SPECIFICATIONS.

◆ to_string_lower_class()

constexpr const char * to_string_lower_class ( Protection prot)
staticconstexprnoexcept

Definition at line 62 of file types.h.

63{
64 const char *result = "error";
65 switch (prot)
66 {
67#define PROTSPEC(x,y,z) case Protection::x: result = #z; break;
69#undef PROTSPEC
70 }
71 return result;
72}

References PROTECTION_SPECIFICATIONS.

Referenced by generateDEFForClass().