summaryrefslogtreecommitdiffstats
path: root/src/entry.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-06-17 15:02:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-06-17 15:02:31 (GMT)
commitd5150cf4f1de010ad62f6de641532805ba81940a (patch)
tree4174efd197ffb98e336e31881c5c95fa3e09cbcc /src/entry.h
parentdf80e2787c543a3b48f775fbd5c18723abe64a07 (diff)
downloadDoxygen-d5150cf4f1de010ad62f6de641532805ba81940a.zip
Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.tar.gz
Doxygen-d5150cf4f1de010ad62f6de641532805ba81940a.tar.bz2
Release-1.2.8-20010617
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h74
1 files changed, 33 insertions, 41 deletions
diff --git a/src/entry.h b/src/entry.h
index beee698..7717eb9 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -121,50 +121,42 @@ struct TagInfo
QCString anchor;
};
-struct Grouping {
- typedef enum {
- GROUPING_LOWEST,
- GROUPING_AUTO_WEAK =
- GROUPING_LOWEST, //!< membership in group was defined via @weakgroup @{ @}
- GROUPING_AUTO_ADD, //!< membership in group was defined via @add[to]group @{ @}
- GROUPING_AUTO_DEF, //!< membership in group was defined via @defgroup @{ @}
- GROUPING_AUTO_HIGHEST =
- GROUPING_AUTO_DEF,
- GROUPING_INGROUP, //!< membership in group was defined by @ingroup
- GROUPING_HIGHEST =
- GROUPING_INGROUP
- } GroupPri_t;
+struct Grouping
+{
+ enum GroupPri_t
+ {
+ GROUPING_LOWEST,
+ GROUPING_AUTO_WEAK =
+ GROUPING_LOWEST, //!< membership in group was defined via @weakgroup @{ @}
+ GROUPING_AUTO_ADD, //!< membership in group was defined via @add[to]group @{ @}
+ GROUPING_AUTO_DEF, //!< membership in group was defined via @defgroup @{ @}
+ GROUPING_AUTO_HIGHEST =
+ GROUPING_AUTO_DEF,
+ GROUPING_INGROUP, //!< membership in group was defined by @ingroup
+ GROUPING_HIGHEST =
+ GROUPING_INGROUP
+ };
- static const char *getGroupPriName( GroupPri_t priority )
+ static const char *getGroupPriName( GroupPri_t priority )
+ {
+ switch( priority )
{
- switch( priority )
- {
- case GROUPING_AUTO_WEAK:
- return "@weakgroup";
- break;
- case GROUPING_AUTO_ADD:
- return "@addtogroup";
- break;
- case GROUPING_AUTO_DEF:
- return "@defgroup";
- break;
- case GROUPING_INGROUP:
- return "@ingroup";
- break;
- default:
- return "???";
- break;
- }
- }
+ case GROUPING_AUTO_WEAK:
+ return "@weakgroup";
+ case GROUPING_AUTO_ADD:
+ return "@addtogroup";
+ case GROUPING_AUTO_DEF:
+ return "@defgroup";
+ case GROUPING_INGROUP:
+ return "@ingroup";
+ }
+ return "???";
+ }
- Grouping( const char *gn, GroupPri_t p ) :
- groupname(gn),
- pri(p) {}
- Grouping( const Grouping &g ) :
- groupname(g.groupname),
- pri(g.pri) {}
- QCString groupname; //!< name of the group
- GroupPri_t pri; //!< priority of this definition
+ Grouping( const char *gn, GroupPri_t p ) : groupname(gn), pri(p) {}
+ Grouping( const Grouping &g ) : groupname(g.groupname), pri(g.pri) {}
+ QCString groupname; //!< name of the group
+ GroupPri_t pri; //!< priority of this definition
};