Doxygen
|
This class represents an function or template argument list. More...
#include <src/arguments.h>
Public Types | |
using | Vec = std::vector<Argument> |
using | iterator = typename Vec::iterator |
using | const_iterator = typename Vec::const_iterator |
Private Attributes | |
std::vector< Argument > | m_args |
bool | m_constSpecifier = FALSE |
bool | m_volatileSpecifier = FALSE |
bool | m_pureSpecifier = FALSE |
QCString | m_trailingReturnType |
bool | m_isDeleted = FALSE |
RefQualifierType | m_refQualifier = RefQualifierType::None |
bool | m_noParameters = FALSE |
This class represents an function or template argument list.
This class also stores some information about member that is typically put after the argument list, such as whether the member is const, volatile or pure virtual.
Definition at line 64 of file arguments.h.
using ArgumentList::const_iterator = typename Vec::const_iterator |
Definition at line 69 of file arguments.h.
using ArgumentList::iterator = typename Vec::iterator |
Definition at line 68 of file arguments.h.
using ArgumentList::Vec = std::vector<Argument> |
Definition at line 67 of file arguments.h.
|
inline |
Definition at line 107 of file arguments.h.
References m_args.
Referenced by makeQualifiedNameWithTemplateParameters().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 93 of file arguments.h.
References m_args.
Referenced by MemberDefImpl::_writeTemplatePrefix(), argListToString(), MemberDefImpl::copyArgumentNames(), MemberDefImpl::detectUndocumentedParams(), generateDEFForMember(), PerlModGenerator::generatePerlModForMember(), generateXMLForMember(), hasDocumentation(), hasTemplateDocumentation(), insertMemberFunctionParams(), matchArguments2(), matchTemplateArguments(), mergeArguments(), MemberDefImpl::resolveUnnamedParameters(), substituteTemplateArgumentsInString(), substituteTemplatesInArgList(), substituteTemplatesInString(), transferArgumentDocumentation(), and writeDefArgumentList().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 101 of file arguments.h.
References m_args.
Referenced by reset().
|
inline |
Definition at line 111 of file arguments.h.
References m_constSpecifier.
Referenced by argListToString(), PerlModGenerator::generatePerlModForMember(), generateSqlite3ForMember(), generateXMLForMember(), matchArguments2(), substituteTemplatesInArgList(), and writeDefArgumentList().
|
inline |
Definition at line 99 of file arguments.h.
References m_args.
Referenced by addClassToContext(), addMemberFunction(), buildFunctionList(), DocParser::checkArgumentName(), DocParser::checkUnOrMultipleDocumentedParams(), computeTemplateClassRelations(), MemberDefImpl::detectUndocumentedParams(), findGlobalMember(), PerlModGenerator::generatePerlModForMember(), generateXMLForMember(), getTemplateArgumentsFromName(), hasParameters(), insertMemberDefineParams(), insertTemplateSpecifierInScope(), isVarWithConstructor(), makeQualifiedNameWithTemplateParameters(), matchArguments2(), SymbolResolver::Private::newResolveTypedef(), searchTemplateSpecs(), substituteTemplateArgumentsInString(), tempArgListToString(), MemberDefImpl::writeDocumentation(), and writeTypeConstraints().
|
inline |
Definition at line 94 of file arguments.h.
References m_args.
Referenced by MemberDefImpl::_writeTemplatePrefix(), argListToString(), MemberDefImpl::copyArgumentNames(), MemberDefImpl::detectUndocumentedParams(), generateDEFForMember(), PerlModGenerator::generatePerlModForMember(), generateXMLForMember(), hasDocumentation(), hasTemplateDocumentation(), insertMemberFunctionParams(), matchArguments2(), matchTemplateArguments(), mergeArguments(), MemberDefImpl::resolveUnnamedParameters(), substituteTemplateArgumentsInString(), substituteTemplatesInArgList(), substituteTemplatesInString(), transferArgumentDocumentation(), and writeDefArgumentList().
|
inline |
|
inline |
|
inline |
bool ArgumentList::hasDocumentation | ( | ) | const |
Does any argument of this list have documentation?
the argument list is documented if one of its arguments is documented
Definition at line 21 of file arguments.cpp.
References begin(), end(), and Argument::hasDocumentation().
Referenced by inlineArgListToDoc().
|
inline |
Does this list have zero or more parameters
Definition at line 76 of file arguments.h.
References empty(), and m_noParameters.
Referenced by addMemberFunction(), addTemplateArgumentList(), argListToString(), combineDeclarationAndDefinition(), MemberDefImpl::detectUndocumentedParams(), generateXMLForMember(), writeDefArgumentList(), VhdlDocGen::writeFunctionProto(), VhdlDocGen::writeProcessProto(), writeTemplateArgumentList(), and VhdlDocGen::writeVHDLDeclaration().
bool ArgumentList::hasTemplateDocumentation | ( | ) | const |
Does any template argument of this list have documentation?
the template argument list is documented if one of its template arguments is documented
Definition at line 29 of file arguments.cpp.
References begin(), end(), and Argument::hasTemplateDocumentation().
Referenced by inlineTemplateArgListToDoc().
|
inline |
Definition at line 115 of file arguments.h.
References m_isDeleted.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 117 of file arguments.h.
References m_noParameters.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 113 of file arguments.h.
References m_pureSpecifier.
Referenced by argListToString(), and substituteTemplatesInArgList().
|
inline |
Definition at line 102 of file arguments.h.
References m_args.
Referenced by addSTLClass(), anonymous_namespace{tagreader.cpp}::TagFileParser::buildLists(), DocParser::checkUnOrMultipleDocumentedParams(), and substituteTemplatesInArgList().
|
inline |
Definition at line 116 of file arguments.h.
References m_refQualifier.
Referenced by argListToString(), generateXMLForMember(), matchArguments2(), substituteTemplatesInArgList(), and writeDefArgumentList().
|
inline |
Definition at line 80 of file arguments.h.
References clear(), FALSE, m_constSpecifier, m_isDeleted, m_noParameters, m_pureSpecifier, m_refQualifier, m_trailingReturnType, m_volatileSpecifier, and None.
|
inline |
Definition at line 119 of file arguments.h.
References m_constSpecifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 123 of file arguments.h.
References m_isDeleted.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 125 of file arguments.h.
References m_noParameters.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 121 of file arguments.h.
References m_pureSpecifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 124 of file arguments.h.
References m_refQualifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 122 of file arguments.h.
References m_trailingReturnType.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 120 of file arguments.h.
References m_volatileSpecifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 100 of file arguments.h.
References m_args.
Referenced by addMemberFunction(), FlowChart::alignFuncProc(), DocParser::checkUnOrMultipleDocumentedParams(), combineDeclarationAndDefinition(), findGlobalMember(), GroupDefImpl::insertMember(), insertMemberFunctionParams(), matchArguments2(), matchTemplateArguments(), mergeArguments(), writeDefArgumentList(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), and VhdlDocGen::writeProcedureProto().
|
inline |
Definition at line 114 of file arguments.h.
References m_trailingReturnType.
Referenced by argListToString(), substituteTemplatesInArgList(), MemberDefImpl::warnIfUndocumentedParams(), and writeDefArgumentList().
|
inline |
Definition at line 112 of file arguments.h.
References m_volatileSpecifier.
Referenced by argListToString(), PerlModGenerator::generatePerlModForMember(), generateSqlite3ForMember(), generateXMLForMember(), matchArguments2(), substituteTemplatesInArgList(), and writeDefArgumentList().
|
private |
|
private |
Does the member modify the state of the class?
Definition at line 130 of file arguments.h.
Referenced by constSpecifier(), reset(), and setConstSpecifier().
|
private |
method with =delete
Definition at line 138 of file arguments.h.
Referenced by isDeleted(), reset(), and setIsDeleted().
|
private |
is it an explicit empty list
Definition at line 142 of file arguments.h.
Referenced by hasParameters(), noParameters(), reset(), and setNoParameters().
|
private |
Is this a pure virtual member?
Definition at line 134 of file arguments.h.
Referenced by pureSpecifier(), reset(), and setPureSpecifier().
|
private |
C++11 ref qualifier
Definition at line 140 of file arguments.h.
Referenced by refQualifier(), reset(), and setRefQualifier().
|
private |
C++11 style Trailing return type?
Definition at line 136 of file arguments.h.
Referenced by reset(), setTrailingReturnType(), and trailingReturnType().
|
private |
Is the member volatile?
Definition at line 132 of file arguments.h.
Referenced by reset(), setVolatileSpecifier(), and volatileSpecifier().