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 |
Public Member Functions | |
bool | hasDocumentation () const |
bool | hasParameters () const |
void | reset () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
bool | empty () const |
size_t | size () const |
void | clear () |
void | push_back (const Argument &a) |
Argument & | back () |
const Argument & | back () const |
Argument & | front () |
const Argument & | front () const |
Argument & | at (size_t i) |
const Argument & | at (size_t i) const |
bool | constSpecifier () const |
bool | volatileSpecifier () const |
bool | pureSpecifier () const |
QCString | trailingReturnType () const |
bool | isDeleted () const |
RefQualifierType | refQualifier () const |
bool | noParameters () const |
void | setConstSpecifier (bool b) |
void | setVolatileSpecifier (bool b) |
void | setPureSpecifier (bool b) |
void | setTrailingReturnType (const QCString &s) |
void | setIsDeleted (bool b) |
void | setRefQualifier (RefQualifierType t) |
void | setNoParameters (bool b) |
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 59 of file arguments.h.
using ArgumentList::const_iterator = typename Vec::const_iterator |
Definition at line 64 of file arguments.h.
using ArgumentList::iterator = typename Vec::iterator |
Definition at line 63 of file arguments.h.
using ArgumentList::Vec = std::vector<Argument> |
Definition at line 62 of file arguments.h.
|
inline |
Definition at line 100 of file arguments.h.
References m_args.
Referenced by makeQualifiedNameWithTemplateParameters().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 86 of file arguments.h.
References m_args.
Referenced by MemberDefImpl::_writeTemplatePrefix(), argListToString(), MemberDefImpl::copyArgumentNames(), MemberDefImpl::detectUndocumentedParams(), generateDEFForMember(), PerlModGenerator::generatePerlModForMember(), generateXMLForMember(), hasDocumentation(), insertMemberFunctionParams(), matchArguments2(), mergeArguments(), MemberDefImpl::resolveUnnamedParameters(), substituteTemplateArgumentsInString(), substituteTemplatesInArgList(), substituteTemplatesInString(), transferArgumentDocumentation(), and writeDefArgumentList().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 94 of file arguments.h.
References m_args.
Referenced by reset().
|
inline |
Definition at line 104 of file arguments.h.
References m_constSpecifier.
Referenced by argListToString(), PerlModGenerator::generatePerlModForMember(), generateSqlite3ForMember(), generateXMLForMember(), matchArguments2(), substituteTemplatesInArgList(), and writeDefArgumentList().
|
inline |
Definition at line 92 of file arguments.h.
References m_args.
Referenced by addClassToContext(), addMemberFunction(), 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 87 of file arguments.h.
References m_args.
Referenced by MemberDefImpl::_writeTemplatePrefix(), argListToString(), MemberDefImpl::copyArgumentNames(), MemberDefImpl::detectUndocumentedParams(), generateDEFForMember(), PerlModGenerator::generatePerlModForMember(), generateXMLForMember(), hasDocumentation(), insertMemberFunctionParams(), matchArguments2(), 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 69 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().
|
inline |
Definition at line 108 of file arguments.h.
References m_isDeleted.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 110 of file arguments.h.
References m_noParameters.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 106 of file arguments.h.
References m_pureSpecifier.
Referenced by argListToString(), and substituteTemplatesInArgList().
|
inline |
Definition at line 95 of file arguments.h.
References m_args.
Referenced by addSTLClass(), anonymous_namespace{tagreader.cpp}::TagFileParser::buildLists(), DocParser::checkUnOrMultipleDocumentedParams(), and substituteTemplatesInArgList().
|
inline |
Definition at line 109 of file arguments.h.
References m_refQualifier.
Referenced by argListToString(), generateXMLForMember(), matchArguments2(), substituteTemplatesInArgList(), and writeDefArgumentList().
|
inline |
Definition at line 73 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 112 of file arguments.h.
References m_constSpecifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 116 of file arguments.h.
References m_isDeleted.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 118 of file arguments.h.
References m_noParameters.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 114 of file arguments.h.
References m_pureSpecifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 117 of file arguments.h.
References m_refQualifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 115 of file arguments.h.
References m_trailingReturnType.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 113 of file arguments.h.
References m_volatileSpecifier.
Referenced by substituteTemplatesInArgList().
|
inline |
Definition at line 93 of file arguments.h.
References m_args.
Referenced by addMemberFunction(), FlowChart::alignFuncProc(), DocParser::checkUnOrMultipleDocumentedParams(), combineDeclarationAndDefinition(), findGlobalMember(), GroupDefImpl::insertMember(), insertMemberFunctionParams(), matchArguments2(), mergeArguments(), writeDefArgumentList(), VhdlDocGen::writeFuncProcDocu(), VhdlDocGen::writeFunctionProto(), and VhdlDocGen::writeProcedureProto().
|
inline |
Definition at line 107 of file arguments.h.
References m_trailingReturnType.
Referenced by argListToString(), substituteTemplatesInArgList(), MemberDefImpl::warnIfUndocumentedParams(), and writeDefArgumentList().
|
inline |
Definition at line 105 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 123 of file arguments.h.
Referenced by constSpecifier(), reset(), and setConstSpecifier().
|
private |
method with =delete
Definition at line 131 of file arguments.h.
Referenced by isDeleted(), reset(), and setIsDeleted().
|
private |
is it an explicit empty list
Definition at line 135 of file arguments.h.
Referenced by hasParameters(), noParameters(), reset(), and setNoParameters().
|
private |
Is this a pure virtual member?
Definition at line 127 of file arguments.h.
Referenced by pureSpecifier(), reset(), and setPureSpecifier().
|
private |
C++11 ref qualifier
Definition at line 133 of file arguments.h.
Referenced by refQualifier(), reset(), and setRefQualifier().
|
private |
C++11 style Trailing return type?
Definition at line 129 of file arguments.h.
Referenced by reset(), setTrailingReturnType(), and trailingReturnType().
|
private |
Is the member volatile?
Definition at line 125 of file arguments.h.
Referenced by reset(), setVolatileSpecifier(), and volatileSpecifier().