summaryrefslogtreecommitdiffstats
path: root/src/translator.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-04-01 17:28:27 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-04-01 17:28:27 (GMT)
commit790edce05edc348b237258995816da1708d67a73 (patch)
tree9ab56725fa008f006370f074ed17023811bbc55f /src/translator.h
parentea948596d3aecd47d7459244fc4e28a2903d8985 (diff)
downloadDoxygen-790edce05edc348b237258995816da1708d67a73.zip
Doxygen-790edce05edc348b237258995816da1708d67a73.tar.gz
Doxygen-790edce05edc348b237258995816da1708d67a73.tar.bz2
Release-1.2.6-20010401
Diffstat (limited to 'src/translator.h')
-rw-r--r--src/translator.h57
1 files changed, 43 insertions, 14 deletions
diff --git a/src/translator.h b/src/translator.h
index 59aad27..2764c03 100644
--- a/src/translator.h
+++ b/src/translator.h
@@ -169,7 +169,7 @@ class Translator
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Field Documentation";
}
@@ -242,7 +242,7 @@ class Translator
/*! This is put above each page as a link to the list of annotated classes */
virtual QCString trCompoundList()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Structures";
}
@@ -263,7 +263,7 @@ class Translator
/*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Fields";
}
@@ -276,7 +276,7 @@ class Translator
/*! This is put above each page as a link to all members of files. */
virtual QCString trFileMembers()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Globals";
}
@@ -317,7 +317,7 @@ class Translator
virtual QCString trCompoundListDescription()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Here are the data structures with brief descriptions:";
}
@@ -332,12 +332,41 @@ class Translator
virtual QCString trCompoundMembersDescription(bool extractAll)
{
QCString result="Here is a list of all ";
- if (!extractAll) result+="documented ";
- result+="class members with links to ";
+ if (!extractAll)
+ {
+ result+="documented ";
+ }
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ result+="struct and union fields";
+ }
+ else
+ {
+ result+="class members";
+ }
+ result+=" with links to ";
if (extractAll)
- result+="the class documentation for each member:";
+ {
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ result+="the struct/union documentation for each field:";
+ }
+ else
+ {
+ result+="the class documentation for each member:";
+ }
+ }
else
- result+="the classes they belong to:";
+ {
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ result+="the structures/unions they belong to:";
+ }
+ else
+ {
+ result+="the classes they belong to:";
+ }
+ }
return result;
}
@@ -347,7 +376,7 @@ class Translator
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="functions, variables, defines, enums, and typedefs";
}
@@ -409,7 +438,7 @@ class Translator
*/
virtual QCString trCompoundIndex()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Structure Index";
}
@@ -552,7 +581,7 @@ class Translator
*/
virtual QCString trCompounds()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Structures";
}
@@ -992,7 +1021,7 @@ class Translator
}
virtual QCString trPublicAttribs()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Fields";
}
@@ -1195,7 +1224,7 @@ class Translator
/*! Used for Java classes in the summary section of Java packages */
virtual QCString trClasses()
{
- if (Config::optimizeForCFlag)
+ if (Config::instance()->getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Data Structures";
}