The Argument
Struct Reference
This class contains the information about the argument of a function or template. More...
Declaration
Included Headers
Public Member Functions Index
bool | hasDocumentation () const |
bool | hasTemplateDocumentation () const |
Public Member Attributes Index
QCString | attrib |
QCString | type |
QCString | canType |
QCString | name |
QCString | array |
QCString | defval |
QCString | docs |
QCString | typeConstraint |
Description
This class contains the information about the argument of a function or template.
Definition at line 26 of file arguments.h.
Public Member Functions
hasDocumentation()
| inline |
return TRUE if this argument is documentation and the argument has a non empty name.
Definition at line 31 of file arguments.h.
Referenced by generateXMLForMember and ArgumentList::hasDocumentation.
hasTemplateDocumentation()
| inline |
Definition at line 36 of file arguments.h.
References docs, name and type.
Referenced by ArgumentList::hasTemplateDocumentation.
Public Member Attributes
array
|
Argument's array specifier (may be empty)
Definition at line 45 of file arguments.h.
Referenced by argListToString, extractCanonicalArgType, substituteTemplatesInArgList and writeDefArgumentList.
attrib
|
Argument's attribute (IDL only)
Definition at line 41 of file arguments.h.
Referenced by VHDLOutlineParser::addProto, argListToString and writeDefArgumentList.
canType
|
Cached value of canonical type (after type resolution). Empty initially.
Definition at line 43 of file arguments.h.
Referenced by argListToString and matchArgument2.
defval
|
Argument's default value (may be empty)
Definition at line 46 of file arguments.h.
Referenced by MemberDefImpl::_writeTemplatePrefix, VHDLOutlineParser::addProto, argListToString, isVarWithConstructor, mergeArguments, substituteTemplateArgumentsInString, writeDefArgumentList and ClassDefImpl::writeTemplateSpec.
docs
|
Argument's documentation (may be empty)
Definition at line 47 of file arguments.h.
Referenced by addKnRArgInfo, MemberDefImpl::copyArgumentNames, MemberDefImpl::detectUndocumentedParams, generateXMLForMember, handleParametersCommentBlocks, hasDocumentation, hasTemplateDocumentation, mergeArguments, transferArgumentDocumentation and updateVariablePrepassComment.
name
|
Argument's name (may be empty)
Definition at line 44 of file arguments.h.
Referenced by MemberDefImpl::_writeTemplatePrefix, addKnRArgInfo, VHDLOutlineParser::addProto, addSTLClass, argListToString, anonymous{tagreader.cpp}::TagFileParser::buildClassEntry, checkForKnRstyleC, MemberDefImpl::copyArgumentNames, VHDLOutlineParser::createFunction, MemberDefImpl::detectUndocumentedParams, endScope, extractCanonicalArgType, findArgument, fixArgumentListForJavaScript, generateDEFForMember, PerlModGenerator::generatePerlModForMember, generateXMLForMember, getParameter, handleParametersCommentBlocks, hasDocumentation, hasTemplateDocumentation, insertMemberFunctionParams, isVarWithConstructor, matchArgument2, mergeArguments, MemberDefImpl::resolveUnnamedParameters, substituteTemplateArgumentsInString, substituteTemplatesInString, transferArgumentDocumentation, writeDefArgumentList and ClassDefImpl::writeTemplateSpec.
type
|
Argument's type
Definition at line 42 of file arguments.h.
Referenced by MemberDefImpl::_writeTemplatePrefix, addKnRArgInfo, VHDLOutlineParser::addProto, addSTLClass, applyModifiers, argListToString, anonymous{tagreader.cpp}::TagFileParser::buildClassEntry, checkForKnRstyleC, computeTemplateClassRelations, MemberDefImpl::detectUndocumentedParams, endScope, extractCanonicalArgType, findArgument, fixArgumentListForJavaScript, PerlModGenerator::generatePerlModForMember, generateXMLForMember, handleParametersCommentBlocks, hasTemplateDocumentation, isVarWithConstructor, matchArgument2, matchArguments2, matchTemplateArguments, mergeArguments, substituteTemplateArgumentsInString, substituteTemplatesInArgList, substituteTemplatesInString, writeDefArgumentList and ClassDefImpl::writeTemplateSpec.
typeConstraint
|
Used for Java generics: <T extends C>
Definition at line 48 of file arguments.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.