Doxygen
Loading...
Searching...
No Matches
Argument Struct Reference

This class contains the information about the argument of a function or template. More...

#include <src/arguments.h>

+ Collaboration diagram for Argument:

Public Member Functions

bool hasDocumentation () const
 

Public Attributes

QCString attrib
 
QCString type
 
QCString canType
 
QCString name
 
QCString array
 
QCString defval
 
QCString docs
 
QCString typeConstraint
 

Detailed Description

This class contains the information about the argument of a function or template.

Definition at line 26 of file arguments.h.

Member Function Documentation

◆ hasDocumentation()

bool Argument::hasDocumentation ( ) const
inline

return TRUE if this argument is documentation and the argument has a non empty name.

Definition at line 31 of file arguments.h.

32 {
33 return !name.isEmpty() && !docs.isEmpty();
34 }
QCString name
Definition arguments.h:39
QCString docs
Definition arguments.h:42

References docs, and name.

Referenced by generateXMLForMember(), and ArgumentList::hasDocumentation().

Member Data Documentation

◆ array

QCString Argument::array

Argument's array specifier (may be empty)

Definition at line 40 of file arguments.h.

Referenced by argListToString(), extractCanonicalArgType(), substituteTemplatesInArgList(), and writeDefArgumentList().

◆ attrib

QCString Argument::attrib

Argument's attribute (IDL only)

Definition at line 36 of file arguments.h.

Referenced by VHDLOutlineParser::addProto(), argListToString(), and writeDefArgumentList().

◆ canType

QCString Argument::canType

Cached value of canonical type (after type resolution). Empty initially.

Definition at line 38 of file arguments.h.

Referenced by argListToString(), and matchArgument2().

◆ defval

◆ docs

◆ name

◆ type

◆ typeConstraint

QCString Argument::typeConstraint

Used for Java generics: <T extends C>

Definition at line 43 of file arguments.h.

Referenced by ClassDefImpl::addTypeConstraints().


The documentation for this struct was generated from the following file: