summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-04-02 19:27:49 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-04-02 19:27:49 (GMT)
commitebf4b3641c9149eaf4468aa8df64e1c7517e5f0c (patch)
tree23804fcf753b3487b9a1ea28d4d28b71fa4ae208 /src/namespacedef.h
parentdeaa34e0c1d990f37fe00e465ac7a22f705904f0 (diff)
downloadDoxygen-ebf4b3641c9149eaf4468aa8df64e1c7517e5f0c.zip
Doxygen-ebf4b3641c9149eaf4468aa8df64e1c7517e5f0c.tar.gz
Doxygen-ebf4b3641c9149eaf4468aa8df64e1c7517e5f0c.tar.bz2
Release-1.8.3.1-20130402
Diffstat (limited to 'src/namespacedef.h')
-rw-r--r--src/namespacedef.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/namespacedef.h b/src/namespacedef.h
index dbc98d5..ff64107 100644
--- a/src/namespacedef.h
+++ b/src/namespacedef.h
@@ -39,7 +39,8 @@ class NamespaceDef : public Definition
public:
NamespaceDef(const char *defFileName,int defLine,int defColumn,
const char *name,const char *ref=0,
- const char *refFile=0);
+ const char *refFile=0,const char*type=0,
+ bool isPublished=false);
~NamespaceDef();
DefType definitionType() const { return TypeNamespace; }
QCString getOutputFileBase() const;
@@ -63,7 +64,10 @@ class NamespaceDef : public Definition
void combineUsingRelations();
QCString displayName(bool=TRUE) const;
QCString localName() const;
-
+
+ bool isConstantGroup() const { return CONSTANT_GROUP == m_type; }
+ bool isModule() const { return MODULE == m_type; }
+
bool isLinkableInProject() const;
bool isLinkable() const;
void addMembersToMemberGroup();
@@ -101,12 +105,14 @@ class NamespaceDef : public Definition
void endMemberDeclarations(OutputList &ol);
void writeClassDeclarations(OutputList &ol,const QCString &title);
void writeInlineClasses(OutputList &ol);
- void writeNamespaceDeclarations(OutputList &ol,const QCString &title);
+ void writeNamespaceDeclarations(OutputList &ol,const QCString &title,
+ bool isConstantGroup=false);
void writeMemberGroups(OutputList &ol);
void writeAuthorSection(OutputList &ol);
void startMemberDocumentation(OutputList &ol);
void endMemberDocumentation(OutputList &ol);
void writeSummaryLinks(OutputList &ol);
+ void addNamespaceAttributes(OutputList &ol);
QCString fileName;
QStrList files;
@@ -121,6 +127,8 @@ class NamespaceDef : public Definition
ClassSDict *classSDict;
NamespaceSDict *namespaceSDict;
bool m_subGrouping;
+ enum { NAMESPACE, MODULE, CONSTANT_GROUP } m_type;
+ bool m_isPublished;
};
/** A list of NamespaceDef objects. */
@@ -164,7 +172,8 @@ class NamespaceSDict : public SDict<NamespaceDef>
((NamespaceDef *)item2)->name()
);
}
- void writeDeclaration(OutputList &ol,const char *title,bool localName=FALSE);
+ void writeDeclaration(OutputList &ol,const char *title,
+ bool isConstantGroup=false, bool localName=FALSE);
bool declVisible() const;
};