summaryrefslogtreecommitdiffstats
path: root/src/entry.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-17 15:02:31 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-17 15:02:31 (GMT)
commitd723d351b1ec59ad9db456f820d59a6e270f21a4 (patch)
tree4174efd197ffb98e336e31881c5c95fa3e09cbcc /src/entry.h
parent6bcfa2ef74dee5be64110aa0b06b368d498c9a73 (diff)
downloadDoxygen-d723d351b1ec59ad9db456f820d59a6e270f21a4.zip
Doxygen-d723d351b1ec59ad9db456f820d59a6e270f21a4.tar.gz
Doxygen-d723d351b1ec59ad9db456f820d59a6e270f21a4.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
};