Skip to main content

The types.h File Reference

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

Included Headers

#include "qcstring.h"

Classes Index

structGrouping

Grouping info. More...

classMemberListType

Wrapper class for the MemberListType type. More...

classLocalToc
classTypeSpecifier

Wrapper class for a number of boolean properties. More...

classEntryType

Wrapper class for the Entry type. More...

Enumerations Index

enum classProtection { ... }
enum classSpecifier { ... }
enum classMethodTypes { ... }
enum classRelatesType { ... }
enum classRelationship { ... }
enum classSrcLangExt { ... }
enum classMemberListContainer { ... }
enum classCodeSymbolType { ... }
enum classMemberType { ... }
enum classFortranFormat { ... }
enum classVhdlSpecifier { ... }

Functions Index

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

Macro Definitions Index

#definePROTECTION_SPECIFICATIONS   ...

Protection level of members. More...

#definePROTSPEC(x, y, z)   x,
#definePROTSPEC(x, y, z)   case Protection::x: result = #x; break;
#definePROTSPEC(x, y, z)   case Protection::x: result = #y; break;
#definePROTSPEC(x, y, z)   case Protection::x: result = #z; break;
#defineSPECIFIER_SPECIFICATIONS   ...

Virtualness of a member. More...

#defineSPECSPEC(x, y)   x,
#defineSPECSPEC(x, y)   case Specifier::x: result = #x; break;
#defineSPECSPEC(x, y)   case Specifier::x: result = #y; break;
#defineMETHODTYPE_SPECIFICATIONS   ...

Kind of method. More...

#defineMTSPEC(x)   x,
#defineMTSPEC(x)   case MethodTypes::x: result = #x; break;
#defineRELATESTYPE_SPECIFICATIONS   ...

Type of member relation. More...

#defineRTSPEC(x)   x,
#defineRTSPEC(x)   case RelatesType::x: result = #x; break;
#defineRELATIONSHIP_SPECIFICATIONS   ...

Kind of member relationship. More...

#defineRSSPEC(x)   x,
#defineRSSPEC(x)   case Relationship::x: result = #x; break;
#defineSRCLANGEXT_SPECIFICATIONS   ...

Language as given by extension. More...

#defineSRCLANGEXT(x, v, z)   x = v,
#defineSRCLANGEXT(x, v, z)   case SrcLangExt::x: result = #z; break;
#defineML_TYPES
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    x##_,
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)   ...
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    case x##_ : return "["+std::string(#x)+bits_to_string()+"]";
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    case x##_ : return label;
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    case x##_ : return xml_str;
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    case x##_ : return to_pub();
#defineML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    case x##_ : return to_prot();
#defineTYPE_SPECIFIERS   ...
#defineTSPEC(x)   m_is##x = m_is##x || other.is##x();
#defineTSPEC(x)   eq = eq && (t1.m_is##x == t2.m_is##x);
#defineTSPEC(x)   ...
#defineTSPEC(x)   ...
#defineENTRY_TYPES
#defineETYPE(x, bits)   ...
#defineETYPE(x, bits)    case x : return "["+std::string(#x)+bits_to_string()+"]";
#defineETYPE(x, bits)    x,

Description

This file contains a number of basic enums and types.

Enumerations

CodeSymbolType

enum class CodeSymbolType
strong
Enumeration values
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.

FortranFormat

enum class FortranFormat
strong
Enumeration values
Unknown
Free
Fixed

Definition at line 571 of file types.h.

572{
576};

MemberListContainer

enum class MemberListContainer
strong
Enumeration values
File
Namespace
Group
Class
Module

Definition at line 471 of file types.h.

MemberType

enum class MemberType
strong
Enumeration values
Define
Function
Variable
Typedef
Enumeration
EnumValue
Signal
Slot
Friend
DCOP
Property
Event
Interface
Service
Sequence
Dictionary

Definition at line 551 of file types.h.

MethodTypes

enum class MethodTypes
strong
Enumeration values
METHODTYPE_SPECIFICATIONS

Definition at line 119 of file types.h.

119enum class MethodTypes {
120#define MTSPEC(x) x,
122#undef MTSPEC
123};

Protection

enum class Protection
strong
Enumeration values
PROTECTION_SPECIFICATIONS

Definition at line 32 of file types.h.

32enum class Protection {
33#define PROTSPEC(x,y,z) x,
35#undef PROTSPEC
36};

RelatesType

enum class RelatesType
strong
Enumeration values
RELATESTYPE_SPECIFICATIONS

Definition at line 143 of file types.h.

143enum class RelatesType {
144#define RTSPEC(x) x,
146#undef RTSPEC
147};

Relationship

enum class Relationship
strong
Enumeration values
RELATIONSHIP_SPECIFICATIONS

Definition at line 167 of file types.h.

167enum class Relationship {
168#define RSSPEC(x) x,
170#undef RSSPEC
171};

Specifier

enum class Specifier
strong
Enumeration values
SPECIFIER_SPECIFICATIONS

Definition at line 80 of file types.h.

80enum class Specifier {
81#define SPECSPEC(x,y) x,
83#undef SPECSPEC
84};

SrcLangExt

enum class SrcLangExt
strong
Enumeration values
SRCLANGEXT_SPECIFICATIONS

Definition at line 207 of file types.h.

207enum class SrcLangExt {
208#define SRCLANGEXT(x, v, z) x = v,
210#undef SRCLANGEXT
211};

VhdlSpecifier

enum class VhdlSpecifier
strong
Enumeration values
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

Definition at line 709 of file types.h.

Functions

codeSymbolType2Str()

const char * codeSymbolType2Str (CodeSymbolType type)
constexpr

Definition at line 515 of file types.h.

515constexpr const char *codeSymbolType2Str(CodeSymbolType type)
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_string()

const char * to_string (Protection prot)
static

Definition at line 38 of file types.h.

38[[maybe_unused]] static const char *to_string(Protection prot)
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}

Reference PROTECTION_SPECIFICATIONS.

Referenced by 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()

const char * to_string (Specifier spec)
static

Definition at line 86 of file types.h.

86[[maybe_unused]] static const char *to_string(Specifier spec)
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}

Reference SPECIFIER_SPECIFICATIONS.

to_string()

const char * to_string (MethodTypes mt)
static

Definition at line 125 of file types.h.

125[[maybe_unused]] static const char *to_string(MethodTypes mt)
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}

Reference METHODTYPE_SPECIFICATIONS.

to_string()

const char * to_string (RelatesType rt)
static

Definition at line 149 of file types.h.

149[[maybe_unused]] static const char *to_string(RelatesType rt)
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}

Reference RELATESTYPE_SPECIFICATIONS.

to_string()

const char * to_string (Relationship rs)
static

Definition at line 173 of file types.h.

173[[maybe_unused]] static const char *to_string(Relationship rs)
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}

Reference RELATIONSHIP_SPECIFICATIONS.

to_string()

const char * to_string (SrcLangExt sle)
static

Definition at line 213 of file types.h.

213[[maybe_unused]] static const char *to_string(SrcLangExt sle)
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}

Reference SRCLANGEXT_SPECIFICATIONS.

to_string_lower()

const char * to_string_lower (Protection prot)
static

Definition at line 50 of file types.h.

50[[maybe_unused]] static const char *to_string_lower(Protection prot)
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}

Reference PROTECTION_SPECIFICATIONS.

Referenced by generateDEFForClass, generateDEFForMember, generateXMLForClass, generateXMLForMember, getProtectionName, getVirtualnessName, writeInnerClasses and writeListOfAllMembers.

to_string_lower()

const char * to_string_lower (Specifier spec)
static

Definition at line 98 of file types.h.

98[[maybe_unused]] static const char *to_string_lower(Specifier spec)
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}

Reference SPECIFIER_SPECIFICATIONS.

to_string_lower_class()

const char * to_string_lower_class (Protection prot)
static

Definition at line 62 of file types.h.

62[[maybe_unused]] static const char *to_string_lower_class(Protection prot)
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}

Reference PROTECTION_SPECIFICATIONS.

Referenced by generateDEFForClass.

Macro Definitions

ENTRY_TYPES

#define ENTRY_TYPES

Definition at line 743 of file types.h.

743#define ENTRY_TYPES \
744 ETYPE(Empty, None) \
745 ETYPE(Class, Compound|Scope) \
746 ETYPE(Namespace, Scope) \
747 ETYPE(Concept, None) \
748 ETYPE(ClassDoc, CompoundDoc|Doc) \
749 ETYPE(StructDoc, CompoundDoc|Doc) \
750 ETYPE(UnionDoc, CompoundDoc|Doc) \
751 ETYPE(ExceptionDoc, CompoundDoc|Doc) \
752 ETYPE(InterfaceDoc, CompoundDoc|Doc) \
753 ETYPE(ProtocolDoc, CompoundDoc|Doc) \
754 ETYPE(CategoryDoc, CompoundDoc|Doc) \
755 ETYPE(ServiceDoc, CompoundDoc|Doc) \
756 ETYPE(SingletonDoc, CompoundDoc|Doc) \
757 ETYPE(Source, File) \
758 ETYPE(Header, File) \
759 ETYPE(ModuleDoc, Doc) \
760 ETYPE(ConceptDoc, Doc) \
761 ETYPE(NamespaceDoc, Doc) \
762 ETYPE(EnumDoc, Doc) \
763 ETYPE(PageDoc, Doc) \
764 ETYPE(MemberDoc, Doc) \
765 ETYPE(OverloadDoc, Doc) \
766 ETYPE(Example, Doc) \
767 ETYPE(VariableDoc, Doc) \
768 ETYPE(FileDoc, Doc) \
769 ETYPE(DefineDoc, Doc) \
770 ETYPE(GroupDoc, Doc) \
771 ETYPE(MainpageDoc, Doc) \
772 ETYPE(MemberGrp, Doc) \
773 ETYPE(PackageDoc, Doc) \
774 ETYPE(DirDoc, Doc) \
775 ETYPE(Variable, None) \
776 ETYPE(Function, None) \
777 ETYPE(Typedef, None) \
778 ETYPE(Include, None) \
779 ETYPE(Enum, None) \
780 ETYPE(Define, None) \
781 ETYPE(UsingDir, None) \
782 ETYPE(UsingDecl, None) \
783 ETYPE(Package, None) \
784 ETYPE(ObjcImpl, None) \
785 ETYPE(ExportedInterface, None) \
786 ETYPE(IncludedService, None) \
787 ETYPE(ExampleLineno, Doc) \
788

ETYPE

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

Definition at line 795 of file types.h.

795#define ETYPE(x,bits) \
796 static EntryType make##x() { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
797 bool is##x() const { return (m_type&TypeMask)==x; }

ETYPE

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

Definition at line 809 of file types.h.

795#define ETYPE(x,bits) \
796 static EntryType make##x() { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
797 bool is##x() const { return (m_type&TypeMask)==x; }

ETYPE

#define ETYPE(x, bits)    x,

Definition at line 822 of file types.h.

795#define ETYPE(x,bits) \
796 static EntryType make##x() { return EntryType(static_cast<int>(x)|static_cast<int>(bits)); } \
797 bool is##x() const { return (m_type&TypeMask)==x; }

METHODTYPE_SPECIFICATIONS

#define METHODTYPE_SPECIFICATIONS   ...

Kind of method.

Value

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

#define ML_TYPE(x, bits, to_pub, to_prot, label, xml_str)    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_TYPE

#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)); } \ bool is##x() const { return (m_type&TypeMask)==x##_; }

Definition at line 373 of file types.h.

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

ML_TYPE

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

Definition at line 391 of file types.h.

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

ML_TYPE

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

Definition at line 407 of file types.h.

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

ML_TYPE

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

Definition at line 419 of file types.h.

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

ML_TYPE

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

Definition at line 431 of file types.h.

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

ML_TYPE

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

Definition at line 443 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

#define MTSPEC(x)   x,

Definition at line 120 of file types.h.

120#define MTSPEC(x) x,

MTSPEC

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

Definition at line 130 of file types.h.

120#define MTSPEC(x) x,

PROTECTION_SPECIFICATIONS

#define PROTECTION_SPECIFICATIONS   ...

Protection level of members.

Value
PROTSPEC(Public,public,public) \ PROTSPEC(Protected,protected,protected) \ PROTSPEC(Private,private,private) \ PROTSPEC(Package,package,protected)

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

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

Definition at line 33 of file types.h.

33#define PROTSPEC(x,y,z) x,

PROTSPEC

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

Definition at line 43 of file types.h.

33#define PROTSPEC(x,y,z) x,

PROTSPEC

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

Definition at line 55 of file types.h.

33#define PROTSPEC(x,y,z) x,

PROTSPEC

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

Definition at line 67 of file types.h.

33#define PROTSPEC(x,y,z) x,

RELATESTYPE_SPECIFICATIONS

#define RELATESTYPE_SPECIFICATIONS   ...

Type of member relation.

Value
RTSPEC(Simple) \ RTSPEC(Duplicate) \ RTSPEC(MemberOf)

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   ...

Kind of member relationship.

Value
RSSPEC(Member) \ RSSPEC(Related) \ RSSPEC(Foreign)

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

#define RSSPEC(x)   x,

Definition at line 168 of file types.h.

168#define RSSPEC(x) x,

RSSPEC

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

Definition at line 178 of file types.h.

168#define RSSPEC(x) x,

RTSPEC

#define RTSPEC(x)   x,

Definition at line 144 of file types.h.

144#define RTSPEC(x) x,

RTSPEC

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

Definition at line 154 of file types.h.

144#define RTSPEC(x) x,

SPECIFIER_SPECIFICATIONS

#define SPECIFIER_SPECIFICATIONS   ...

Virtualness of a member.

Value
SPECSPEC(Normal,non-virtual) \ SPECSPEC(Virtual,virtual) \ SPECSPEC(Pure,pure-virtual)

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

#define SPECSPEC(x, y)   x,

Definition at line 81 of file types.h.

81#define SPECSPEC(x,y) x,

SPECSPEC

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

Definition at line 91 of file types.h.

81#define SPECSPEC(x,y) x,

SPECSPEC

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

Definition at line 103 of file types.h.

81#define SPECSPEC(x,y) x,

SRCLANGEXT

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

Definition at line 208 of file types.h.

208#define SRCLANGEXT(x, v, z) x = v,

SRCLANGEXT

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

Definition at line 218 of file types.h.

208#define SRCLANGEXT(x, v, z) x = v,

SRCLANGEXT_SPECIFICATIONS

#define SRCLANGEXT_SPECIFICATIONS   ...

Language as given by extension.

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)

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

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

Definition at line 662 of file types.h.

698#define TSPEC(x) \
699 public: \
700 TypeSpecifier &set##x(bool b) { m_is##x = b; return *this; } \
701 bool is##x() const { return m_is##x; } \
702 private: \
703 bool m_is##x : 1;

TSPEC

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

Definition at line 670 of file types.h.

698#define TSPEC(x) \
699 public: \
700 TypeSpecifier &set##x(bool b) { m_is##x = b; return *this; } \
701 bool is##x() const { return m_is##x; } \
702 private: \
703 bool m_is##x : 1;

TSPEC

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

Definition at line 686 of file types.h.

698#define TSPEC(x) \
699 public: \
700 TypeSpecifier &set##x(bool b) { m_is##x = b; return *this; } \
701 bool is##x() const { return m_is##x; } \
702 private: \
703 bool m_is##x : 1;

TSPEC

#define TSPEC(x)   ...
Value
public: \ TypeSpecifier &set##x(bool b) { m_is##x = b; return *this; } \ bool is##x() const { return m_is##x; } \ private: \ bool m_is##x : 1;

Definition at line 698 of file types.h.

698#define TSPEC(x) \
699 public: \
700 TypeSpecifier &set##x(bool b) { m_is##x = b; return *this; } \
701 bool is##x() const { return m_is##x; } \
702 private: \
703 bool m_is##x : 1;

TYPE_SPECIFIERS

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

Definition at line 634 of file types.h.

634#define TYPE_SPECIFIERS \
635/* 0 */ TSPEC(Template) TSPEC(Generic) TSPEC(Ref) TSPEC(Value) TSPEC(Interface) \
636/* 5 */ TSPEC(Struct) TSPEC(Union) TSPEC(Exception) TSPEC(Protocol) TSPEC(Category) \
637/* 10 */ TSPEC(SealedClass) TSPEC(AbstractClass) TSPEC(Enum) TSPEC(Service) TSPEC(Singleton) \
638/* 15 */ TSPEC(ForwardDecl) TSPEC(Local) TSPEC(EnumStruct) TSPEC(ConstExpr) TSPEC(PrivateGettable) \
639/* 20 */ TSPEC(ProtectedGettable) TSPEC(PrivateSettable) TSPEC(ProtectedSettable) TSPEC(Inline) TSPEC(Explicit) \
640/* 25 */ TSPEC(Mutable) TSPEC(Settable) TSPEC(Gettable) TSPEC(Readable) TSPEC(Writable) \
641/* 30 */ TSPEC(Final) TSPEC(Abstract) TSPEC(Addable) TSPEC(Removable) TSPEC(Raisable) \
642/* 35 */ TSPEC(Override) TSPEC(New) TSPEC(Sealed) TSPEC(Initonly) TSPEC(Optional) \
643/* 40 */ TSPEC(Required) TSPEC(NonAtomic) TSPEC(Copy) TSPEC(Retain) TSPEC(Assign) \
644/* 45 */ TSPEC(Strong) TSPEC(Weak) TSPEC(Unretained) TSPEC(Alias) TSPEC(ConstExp) \
645/* 50 */ TSPEC(Default) TSPEC(Delete) TSPEC(NoExcept) TSPEC(Attribute) TSPEC(Property) \
646/* 55 */ TSPEC(Readonly) TSPEC(Bound) TSPEC(Constrained) TSPEC(Transient) TSPEC(MaybeVoid) \
647/* 60 */ TSPEC(MaybeDefault) TSPEC(MaybeAmbiguous) TSPEC(Published) TSPEC(ConstEval) TSPEC(ConstInit) \
648/* 65 */ TSPEC(NoDiscard)

Referenced by TypeSpecifier::merge, TypeSpecifier::operator== and TypeSpecifier::to_string.


Generated via doxygen2docusaurus by Doxygen 1.14.0.