summaryrefslogtreecommitdiffstats
path: root/src/entry.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-03-05 18:16:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-03-05 18:16:47 (GMT)
commit000241f7603af61328b25cd9a9defc40be43e558 (patch)
treefea55c7f521b9b8d4c7cdecc6579109f17cae89a /src/entry.h
parent75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883 (diff)
downloadDoxygen-000241f7603af61328b25cd9a9defc40be43e558.zip
Doxygen-000241f7603af61328b25cd9a9defc40be43e558.tar.gz
Doxygen-000241f7603af61328b25cd9a9defc40be43e558.tar.bz2
Release_1.1.0-20000305
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/entry.h b/src/entry.h
index f8b4e82..4d1c1c4 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -33,7 +33,9 @@ struct BaseInfo
struct Argument
{
+ /*! Construct a new argument. */
Argument() {}
+ /*! Copy an argument (does a deep copy of all strings). */
Argument(const Argument &a)
{
attrib=a.attrib.copy();
@@ -43,6 +45,7 @@ struct Argument
docs=a.docs.copy();
array=a.array.copy();
}
+ /* Assignment of an argument (does a deep copy of all strings). */
Argument &operator=(const Argument &a)
{
if (this!=&a)
@@ -56,17 +59,20 @@ struct Argument
}
return *this;
}
+ /*! return TRUE if this argument is documentation and the argument has a
+ * non empty name.
+ */
bool hasDocumentation() const
{
return !name.isEmpty() && !docs.isEmpty();
}
- QCString attrib; // argument attribute (IDL only)
- QCString type; // argument type
- QCString name; // argument name (if any)
- QCString array; // argument array specifier (if any)
- QCString defval; // argument default value (if any)
- QCString docs; // arguments documentation (if any)
+ QCString attrib; /*!< Argument's attribute (IDL only) */
+ QCString type; /*!< Argument's type */
+ QCString name; /*!< Argument's name (may be empty) */
+ QCString array; /*!< Argument's array specifier (may be empty) */
+ QCString defval; /*!< Argument's default value (may be empty) */
+ QCString docs; /*!< Argument's documentation (may be empty) */
};
class ArgumentList : public QList<Argument>