id
int64 0
755k
| file_name
stringlengths 3
109
| file_path
stringlengths 13
185
| content
stringlengths 31
9.38M
| size
int64 31
9.38M
| language
stringclasses 1
value | extension
stringclasses 11
values | total_lines
int64 1
340k
| avg_line_length
float64 2.18
149k
| max_line_length
int64 7
2.22M
| alphanum_fraction
float64 0
1
| repo_name
stringlengths 6
65
| repo_stars
int64 100
47.3k
| repo_forks
int64 0
12k
| repo_open_issues
int64 0
3.4k
| repo_license
stringclasses 9
values | repo_extraction_date
stringclasses 92
values | exact_duplicates_redpajama
bool 2
classes | near_duplicates_redpajama
bool 2
classes | exact_duplicates_githubcode
bool 2
classes | exact_duplicates_stackv2
bool 1
class | exact_duplicates_stackv1
bool 2
classes | near_duplicates_githubcode
bool 2
classes | near_duplicates_stackv1
bool 2
classes | near_duplicates_stackv2
bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,683
|
docbookgen.h
|
doxygen_doxygen/src/docbookgen.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef DOCBOOKGEN_H
#define DOCBOOKGEN_H
#include <memory>
#include <array>
#include "config.h"
#include "outputgen.h"
#if 0
// define for cases that have been implemented with an empty body
#define DB_GEN_EMPTY m_t << "<!-- DBG_GEN_head_check " << __LINE__ << " -->\n";
#else
#define DB_GEN_EMPTY
#endif
#if 0
// Generic debug statements
#define DB_GEN_H DB_GEN_H1(m_t)
#define DB_GEN_H1(x) x << "<!-- DBG_GEN_head " << __LINE__ << " -->\n";
#define DB_GEN_H2(y) DB_GEN_H2a(m_t,y)
#define DB_GEN_H2a(x,y) x << "<!-- DBG_GEN_head " << __LINE__ << " " << y << " -->\n";
// define for cases that have NOT yet been implemented / considered
#define DB_GEN_NEW fprintf(stderr,"DBG_GEN_head %d\n",__LINE__); DB_GEN_H
#else
#define DB_GEN_H
#define DB_GEN_H1(x)
#define DB_GEN_H2(y)
#define DB_GEN_H2a(x,y)
#define DB_GEN_NEW
#endif
class OutputCodeList;
class DocbookCodeGenerator : public OutputCodeIntf
{
public:
DocbookCodeGenerator(TextStream *t);
void setTextStream(TextStream *t) { m_t = t; }
OutputType type() const override { return OutputType::Docbook; }
std::unique_ptr<OutputCodeIntf> clone() override { return std::make_unique<DocbookCodeGenerator>(m_t); }
void codify(const QCString &text) override;
void stripCodeComments(bool b) override;
void startSpecialComment() override;
void endSpecialComment() override;
void setStripIndentAmount(size_t amount) override;
void writeCodeLink(CodeSymbolType type,
const QCString &ref,const QCString &file,
const QCString &anchor,const QCString &name,
const QCString &tooltip) override;
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &,
const QCString &, const SourceLinkInfo &, const SourceLinkInfo &
) override;
void startCodeLine(int) override;
void endCodeLine() override;
void startFontClass(const QCString &colorClass) override;
void endFontClass() override;
void writeCodeAnchor(const QCString &) override;
void writeLineNumber(const QCString &extRef,const QCString &compId,
const QCString &anchorId,int l, bool writeLineAnchor) override;
void startCodeFragment(const QCString &style) override;
void endCodeFragment(const QCString &style) override;
void startFold(int,const QCString &,const QCString &) override {}
void endFold() override {}
void setRelativePath(const QCString &path) { m_relPath = path; }
void setSourceFileName(const QCString &sourceFileName) { m_sourceFileName = sourceFileName; }
QCString sourceFileName() { return m_sourceFileName; }
void finish();
private:
void writeCodeLinkLine(CodeSymbolType type,
const QCString &ref,const QCString &file,
const QCString &anchor,const QCString &name,
const QCString &tooltip, bool);
TextStream *m_t;
QCString m_refId;
QCString m_external;
int m_lineNumber = -1;
size_t m_col = 0;
bool m_insideCodeLine = false;
bool m_insideSpecialHL = false;
QCString m_relPath;
QCString m_sourceFileName;
bool m_stripCodeComments = false;
bool m_hide = false;
size_t m_stripIndentAmount = 0;
};
class DocbookGenerator : public OutputGenerator, public OutputGenIntf
{
public:
DocbookGenerator();
DocbookGenerator(const DocbookGenerator &);
DocbookGenerator &operator=(const DocbookGenerator &);
DocbookGenerator(DocbookGenerator &&) = delete;
DocbookGenerator &operator=(DocbookGenerator &&) = delete;
~DocbookGenerator();
static void init();
//void setCurrentDoc(const Definition *,const QCString &,bool) override {DB_GEN_EMPTY}
//void addWord(const QCString &,bool) override {DB_GEN_EMPTY}
//--------------------------------------
OutputType type() const override { return OutputType::Docbook; }
std::unique_ptr<OutputGenIntf> clone() override { return std::make_unique<DocbookGenerator>(*this); }
void addCodeGen(OutputCodeList &list) override;
void cleanup() override;
void writeDoc(const IDocNodeAST *node,const Definition *ctx,const MemberDef *md,int id) override;
void startFile(const QCString &name,const QCString &manName,const QCString &title,int id,int hierarchyLevel) override;
void endFile() override;
void writeSearchInfo() override {DB_GEN_EMPTY};
void writeFooter(const QCString &) override {DB_GEN_NEW};
void startIndexSection(IndexSection) override;
void endIndexSection(IndexSection) override;
void writePageLink(const QCString &,bool) override;
void startProjectNumber() override {DB_GEN_NEW};
void endProjectNumber() override {DB_GEN_NEW};
void writeStyleInfo(int) override {DB_GEN_EMPTY};
void startTitleHead(const QCString &) override;
void endTitleHead(const QCString &fileName,const QCString &name) override;
void startIndexListItem() override {DB_GEN_NEW};
void endIndexListItem() override {DB_GEN_NEW};
void startIndexList() override {DB_GEN_NEW};
void endIndexList() override {DB_GEN_NEW};
void startIndexKey() override {DB_GEN_NEW};
void endIndexKey() override {DB_GEN_NEW};
void startIndexValue(bool) override {DB_GEN_NEW};
void endIndexValue(const QCString &,bool) override {DB_GEN_NEW};
void startItemList() override {DB_GEN_EMPTY};
void endItemList() override {DB_GEN_EMPTY};
void startIndexItem(const QCString &,const QCString &) override {DB_GEN_NEW};
void endIndexItem(const QCString &,const QCString &) override {DB_GEN_NEW};
void startItemListItem() override {DB_GEN_EMPTY};
void endItemListItem() override {DB_GEN_EMPTY};
void docify(const QCString &text) override;
void writeChar(char) override;
void writeString(const QCString &) override;
void startParagraph(const QCString &) override;
void endParagraph() override;
void writeObjectLink(const QCString &,const QCString &,const QCString &,const QCString &) override;
void startBold() override;
void endBold() override;
void startTypewriter() override;
void endTypewriter() override;
void startEmphasis() override {DB_GEN_NEW};
void endEmphasis() override {DB_GEN_NEW};
void writeRuler() override;
void startDescForItem() override {DB_GEN_EMPTY};
void endDescForItem() override {DB_GEN_EMPTY};
void startCenter() override {DB_GEN_NEW};
void endCenter() override {DB_GEN_NEW};
void startSmall() override {DB_GEN_NEW};
void endSmall() override {DB_GEN_NEW};
void startExamples() override;
void endExamples() override;
void writeAnchor(const QCString &,const QCString &) override {DB_GEN_EMPTY};
void startSection(const QCString &,const QCString &,SectionType) override;
void endSection(const QCString &,SectionType) override;
void lineBreak(const QCString &) override;
void addIndexItem(const QCString &,const QCString &) override;
void writeNonBreakableSpace(int) override;
void startDescTable(const QCString &title,const bool hasInits) override;
void endDescTable() override;
void startDescTableRow() override;
void endDescTableRow() override;
void startDescTableTitle() override;
void endDescTableTitle() override;
void startDescTableInit() override;
void endDescTableInit() override;
void startDescTableData() override;
void endDescTableData() override;
void startTextLink(const QCString &,const QCString &) override {DB_GEN_NEW};
void endTextLink() override {DB_GEN_NEW};
void startPageRef() override {DB_GEN_NEW};
void endPageRef(const QCString &,const QCString &) override {DB_GEN_NEW};
void startGroupHeader(int) override;
void endGroupHeader(int) override;
void startMemberSections() override {DB_GEN_EMPTY};
void endMemberSections() override {DB_GEN_EMPTY};
void startHeaderSection() override {DB_GEN_EMPTY};
void endHeaderSection() override {DB_GEN_EMPTY};
void startMemberHeader(const QCString &anchor, int typ) override;
void endMemberHeader() override;
void startMemberSubtitle() override {DB_GEN_EMPTY};
void endMemberSubtitle() override {DB_GEN_EMPTY};
void startMemberDocList() override;
void endMemberDocList() override;
void startMemberList() override;
void endMemberList() override;
void startInlineHeader() override {DB_GEN_NEW};
void endInlineHeader() override {DB_GEN_NEW};
void startAnonTypeScope(int) override {DB_GEN_EMPTY};
void endAnonTypeScope(int) override {DB_GEN_EMPTY};
void startMemberItem(const QCString &,MemberItemType,const QCString &) override;
void endMemberItem(MemberItemType) override;
void startMemberTemplateParams() override;
void endMemberTemplateParams(const QCString &,const QCString &) override;
void startCompoundTemplateParams() override;
void endCompoundTemplateParams() override;
void startMemberGroupHeader(bool) override;
void endMemberGroupHeader() override;
void startMemberGroupDocs() override {DB_GEN_EMPTY};
void endMemberGroupDocs() override {DB_GEN_EMPTY};
void startMemberGroup() override;
void endMemberGroup(bool) override;
void insertMemberAlign(bool) override {DB_GEN_EMPTY};
void insertMemberAlignLeft(MemberItemType,bool) override {DB_GEN_EMPTY};
void startMemberDoc(const QCString &,const QCString &,
const QCString &,const QCString &,int,int,bool) override;
void endMemberDoc(bool) override;
void startDoxyAnchor(const QCString &fName,const QCString &manName,
const QCString &anchor,const QCString &name,
const QCString &args) override;
void endDoxyAnchor(const QCString &fileName,const QCString &anchor) override;
void addLabel(const QCString &,const QCString &) override;
void writeLatexSpacing() override {DB_GEN_EMPTY}
void writeStartAnnoItem(const QCString &,const QCString &,
const QCString &,const QCString &) override {DB_GEN_NEW};
void startMemberDescription(const QCString &,const QCString &,bool) override {DB_GEN_EMPTY};
void endMemberDescription() override {DB_GEN_EMPTY};
void startMemberDeclaration() override {DB_GEN_EMPTY};
void endMemberDeclaration(const QCString &,const QCString &) override {DB_GEN_EMPTY};
void writeInheritedSectionTitle(const QCString &,const QCString &,
const QCString &,const QCString &,
const QCString &,const QCString &) override;
void startIndent() override {DB_GEN_EMPTY};
void endIndent() override {DB_GEN_EMPTY};
void writeSynopsis() override {DB_GEN_EMPTY};
void startClassDiagram() override;
void endClassDiagram(const ClassDiagram &,const QCString &,const QCString &) override;
void startDotGraph() override;
void endDotGraph(DotClassGraph &g) override;
void startInclDepGraph() override;
void endInclDepGraph(DotInclDepGraph &g) override;
void startGroupCollaboration() override;
void endGroupCollaboration(DotGroupCollaboration &g) override;
void startCallGraph() override;
void endCallGraph(DotCallGraph &g) override;
void startDirDepGraph() override;
void endDirDepGraph(DotDirDeps &g) override;
void writeGraphicalHierarchy(DotGfxHierarchyTable &) override {DB_GEN_NEW};
void startQuickIndices() override {DB_GEN_EMPTY};
void endQuickIndices() override {DB_GEN_EMPTY};
void writeSplitBar(const QCString &) override {DB_GEN_EMPTY};
void writeNavigationPath(const QCString &) override {DB_GEN_NEW};
void writeLogo() override {DB_GEN_NEW};
void writeQuickLinks(HighlightedItem,const QCString &) override {DB_GEN_EMPTY};
void writeSummaryLink(const QCString &,const QCString &,const QCString &,bool) override {DB_GEN_EMPTY};
void startContents() override {DB_GEN_EMPTY};
void endContents() override {DB_GEN_EMPTY};
void startPageDoc(const QCString &) override {DB_GEN_EMPTY}
void endPageDoc() override {DB_GEN_EMPTY}
void startTextBlock(bool) override;
void endTextBlock(bool) override;
void lastIndexPage() override {DB_GEN_EMPTY};
void startMemberDocPrefixItem() override;
void endMemberDocPrefixItem() override;
void startMemberDocName(bool) override;
void endMemberDocName() override;
void startParameterType(bool,const QCString &) override {DB_GEN_EMPTY};
void endParameterType() override {DB_GEN_EMPTY};
void startParameterName(bool) override;
void endParameterName() override;
void startParameterExtra() override;
void endParameterExtra(bool,bool,bool) override;
void startParameterDefVal(const char *sep) override;
void endParameterDefVal() override;
void startParameterList(bool) override;
void endParameterList() override;
void exceptionEntry(const QCString &,bool) override;
void startConstraintList(const QCString &) override;
void startConstraintParam() override;
void endConstraintParam() override;
void startConstraintType() override;
void endConstraintType() override;
void startConstraintDocs() override;
void endConstraintDocs() override;
void endConstraintList() override;
void startMemberDocSimple(bool) override;
void endMemberDocSimple(bool) override;
void startInlineMemberType() override;
void endInlineMemberType() override;
void startInlineMemberName() override;
void endInlineMemberName() override;
void startInlineMemberDoc() override;
void endInlineMemberDoc() override;
void startLabels() override;
void writeLabel(const QCString &,bool) override;
void endLabels() override;
void writeLocalToc(const SectionRefs &sr,const LocalToc <) override;
void startPlainFile(const QCString &name) override { OutputGenerator::startPlainFile(name); }
void endPlainFile() override { OutputGenerator::endPlainFile(); }
private:
void openSection(const QCString &attr=QCString());
void closeSection();
void closeAllSections();
QCString relPath;
std::unique_ptr<OutputCodeList> m_codeList;
DocbookCodeGenerator *m_codeGen = nullptr;
bool m_denseText = false;
bool m_inGroup = false;
int m_levelListItem = 0;
std::array<bool,20> m_inListItem = { false, };
std::array<bool,20> m_inSimpleSect = { false, };
bool m_descTable = false;
bool m_simpleTable = false;
int m_inLevel = -1;
bool m_firstMember = false;
int m_openSectionCount = 0;
QCString m_pageLinks;
};
QCString convertToDocBook(const QCString &s, const bool retainNewline = false);
#endif
| 15,153
|
C++
|
.h
| 314
| 43.121019
| 122
| 0.724713
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,684
|
translator_am.h
|
doxygen_doxygen/src/translator_am.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*/
/*
* Translation by
* Armen Tangamyan <armen.tangamyan@anu.edu.au>
*/
#ifndef TRANSLATOR_AM_H
#define TRANSLATOR_AM_H
class TranslatorArmenian : public TranslatorAdapter_1_8_0
{
public:
/*! Used for identification of the language. */
QCString idLanguage() override
{ return "armenian"; }
/* Used to get the command(s) for the language support. */
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[latin]{armtex}\n"
"\\usepackage[armscii8]{inputenc}\n";
}
QCString trISOLang() override
{ return "hy"; }
QCString getLanguageString() override
{
return "0x42b Armenian";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Դասին վերաբերվող ֆունկցիաներ"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Հաշվի առեք, որ սրանք անդամ ֆունկցիաներ չեն)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Մանրամասն նկարագրություն"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Մանրամասներ"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Անդամ տիպի սահմանումներ (typedef)"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Անդամ hամարակալումներ"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Անդամ ֆունկցիաներ"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Դաշտեր";
}
else
{
return "Անդամ տվյալներ";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Մանրամասն..."; }
/*! put in the class documentation */
/* Isn't used when optimization for C is on. */
QCString trListOfAllMembers() override
{
return "Բոլոր անդամների ցուցակը";
}
/*! used as the title of the "list of all members" page of a class */
/* Isn't used when optimization for C is on. */
QCString trMemberList() override
{
return "Անդամների ցուցակ";
}
/*! this is the first part of a sentence that is followed by a class name */
/* Isn't used when optimization for C is on. */
QCString trThisIsTheListOfAllMembers() override
{ return "Սա դասի անդամների ամբողջական ցուցակն է"; }
/*! this is the remainder of the sentence after the class name */
/* Isn't used when optimization for C is on. */
QCString trIncludingInheritedMembers() override
{ return ", ներառյալ բոլոր ժառանգված անդամները"; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Ավտոմատ ստեղծված է ելքային կոդից, Doxygen-ի միջոցով, ";
if (!s.isEmpty()) result+=s+" համար:";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "համարակալման անուն"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "համարակալման արժեք"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "սահմանված"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Մոդուլներ"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Դասերի հիերարխա"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների կառուցվածք";
}
else
{
return "Դասերի ցուցակ";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Ֆայլերի ցուցակ"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների դաշտեր";
}
else
{
return "Դասի անդամներ";
}
}
/*! This is put above each page as a link to all members of files. */
/*??*/
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Գլոբալներ";
}
else
{
return "Ֆայլի անդամներ";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Նմանատիպ էջեր"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Օրինակներ"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Որոնում"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Այս ժառանգման ցուցակը կոպտորեն է տեսակավորված, "
"բայց ոչ ամբողջապես, այբբենական կարգով.";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Բոլոր ";
if (!extractAll) result+="փաստագրված ";
result+="ֆայլերի մի ցուցակ` կարճ բացատրություններով:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների կառուցվածքը` կարճ բացատրություններով.";
}
else
{
return "Դասերը, կառուցվածքները, միավորումները "
"և ինտերֆեյսները` կարճ բացատրություններով.";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Բոլոր ";
if(!extractAll) result+="փաստագրված ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result+="կառուցվածքների և միավորումների դաշտերի ";
else
result+="դասի անդամների ";
result+="ցուցակը`";
result+=" հղումներով դեպի ";
if(!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result+="կառուցվածք/միավորում փաստագրությունները բոլոր անդամների համար.";
else
result+="դասի փաստագրությունը բոլոր անդամների համար.";
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result += "կառուցվածքները/միավորումները, որոնց նրանք պատկանում են.";
else
result += "դասերը, որոնց նրանք պատկանում են.";
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Բոլոր ";
if (!extractAll) result+="փաստագրված ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="ֆունկցիաների, փոփոխականների, մակրո-հայտարարությունների, "
"համարակալումների և տիպի սահմանումների (typedef)";
}
else
{
result+="ֆայլի անդամների ";
}
result+="ցուցակը`";
result+=" հղումներով դեպի ";
if (extractAll)
result+="ֆայլերը, որոնց նրանք պատկանում են.";
else
result+="փաստագրությունը.";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Բոլոր օրինակների ցուցակը."; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Բոլոր նմանատիպ փաստագրության էջերի ցուցակը."; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Բոլոր մոդուլների ցուցակը."; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + " - Փաստագրություն"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Մոդուլներ"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Դասակարգումներ"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների կառուցվածք";
}
else
{
return "Դասեր";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Ֆայլեր"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Մոդուլներ"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների կառուցվածքներ";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Դասեր";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Ֆայլեր"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Հղումների ձեռնարկ"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Մակրոսներ"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Տիպի սահմանումներ (typedef)"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Համարակալումներ"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Ֆունկցիաներ"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Փոփոխականներ"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Հաշվիչ"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Մակրոսներ"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Տիպի սահմանումներ (typedef)"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Համարակալման տիպեր"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Ֆունկցիաներ"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Փոփոխականներ"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների կառուցվածք";
}
else
{
return "Դասեր";
}
}
/*! This is used in the documentation of a group before the list of
* links to documented files
*/
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result=QCString("Ստեղծվել է ")+date;
if (!projName.isEmpty()) result+=projName+" -ի համար,";
result+=" հետևյալ համակարգով.";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return clName+QCString(" -ի ժառանգման գծագիրը.");
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Զգուշացում"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Տարբերակ"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Տարեթիվ"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Վերադարձնում է"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Տեսեք նաև"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Պարամետրեր"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Բացառություններ"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Ստեղծված է հետևյալ համակարգի կողմից"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Անունների տարածությունների ցուցակ"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Բոլոր ";
if (!extractAll) result+="փաստագրված ";
result+="անունների տարածությունների ցուցակը` կարճ բացատրություններով.";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Ընկերներ"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Դասի ընկերներ և կապված ֆունկցիաներ"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
if (isTemplate)
{
switch(compType)
{
case ClassDef::Class: result+=" Դասի"; break;
case ClassDef::Struct: result+=" Կառուցվածքի"; break;
case ClassDef::Union: result+=" Միավորման"; break;
case ClassDef::Interface: result+=" Ինտերֆեյսի"; break;
case ClassDef::Protocol: result+=" Արձանագրության"; break;
case ClassDef::Category: result+=" Դասակարգման"; break;
case ClassDef::Exception: result+=" Բացառության"; break;
default: break;
}
result+=" Ձևանմուշներ";
}
else
{
switch(compType)
{
case ClassDef::Class: result+=" Դաս"; break;
case ClassDef::Struct: result+=" Կառուցվածք"; break;
case ClassDef::Union: result+=" Միավորում"; break;
case ClassDef::Interface: result+=" Ինտերֆեյս"; break;
case ClassDef::Protocol: result+=" Արձանագրություն"; break;
case ClassDef::Category: result+=" Դասակարգում"; break;
case ClassDef::Exception: result+=" Բացառություն"; break;
default: break;
}
}
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
return fileName+QCString(" ֆայլեր");
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" անունների տարածություններ";
return result;
}
QCString trPublicMembers() override
{ return "Բաց անդամ ֆունկցիաներ"; }
QCString trPublicSlots() override
{ return "Բաց սլոթեր"; }
QCString trSignals() override
{ return "Ազդանշաններ"; }
QCString trStaticPublicMembers() override
{ return "Բաց ստատիկ անդամ ֆունկցիաներ"; }
QCString trProtectedMembers() override
{ return "Պաշտպանված անդամ ֆունկցիաներ"; }
QCString trProtectedSlots() override
{ return "Պաշտպանված սլոթեր"; }
QCString trStaticProtectedMembers() override
{ return "Պաշտպանված ստատիկ անդամ ֆունկցիաներ"; }
QCString trPrivateMembers() override
{ return "Փակ ֆունկցիաներ"; }
QCString trPrivateSlots() override
{ return "Փակ սլոթեր"; }
QCString trStaticPrivateMembers() override
{ return "Փակ ստատիկ անդամ ֆունկցիաներ"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" և ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Հենքային դասեր - "+trWriteList(numEntries)+":";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Ժառանգորդ դասեր - "+trWriteList(numEntries)+":";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Վերասահմանված ֆունկցիաներ - "+trWriteList(numEntries)+":";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Վերասահմանված է "+trWriteList(numEntries)+" ում:";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Անունների տարածության անդամներ"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Բոլոր ";
if (!extractAll) result+="փաստագրված ";
result+="անունների տարածության անդամների ցուցակը` "
"հղումներով դեպի ";
if (extractAll)
result+="բոլոր անդամների անունների տարածության փաստագրությունը.";
else
result+="անունների տարածությունը, որին նրանք պատկանում են.";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Անունների տարածություններ"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Անունների տարածություն"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Անունների տարածություններ"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{
QCString result = "Այս ";
switch(compType)
{
case ClassDef::Class: result+="դասի"; break;
case ClassDef::Struct: result+="կառուցվածքի"; break;
case ClassDef::Union: result+="միավորման"; break;
case ClassDef::Interface: result+="ինտերֆեյսի"; break;
case ClassDef::Protocol: result+="արձանագրության"; break;
case ClassDef::Category: result+="դասակարգման"; break;
case ClassDef::Exception: result+="բացառության"; break;
default: break;
}
result+=" փաստագրությունը ստեղծվել է հետևյալ ֆայլ";
if (single) result+="ից."; else result+="երից.";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Վերադարձվող արժեքներ"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Գլխավոր էջ"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "էջ:"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991106
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Սահմանումը @1 ֆայլի @0 տողում է:";
}
QCString trDefinedInSourceFile() override
{
return "Սահմանումը @0 ֆայլում է:";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Հնացած է";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return clName+"-ի համագործակցությունների գծագիր.";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return fName+"-ի ներառումների կախվածությունների գծագիր.";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Կառուցիչներ";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Տե'ս այս ֆայլի ելքային կոդը";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Տե'ս այս ֆայլի փաստագրությունը:";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Նախապայման";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Հետպայման";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Անփոփոխ";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Նախնական արժեք";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "Ելքային կոդ";
}
QCString trGraphicalHierarchy() override
{
return "Գրաֆիկական դասերի հիերարխիա:";
}
QCString trGotoGraphicalHierarchy() override
{
return "Տե'ս դասերի գրաֆիկական հիերարխիան:";
}
QCString trGotoTextualHierarchy() override
{
return "Տե'ս դասերի տեքստային հիերարխիան:";
}
QCString trPageIndex() override
{
return "էջեր";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Նշում";
}
QCString trPublicTypes() override
{
return "Բաց տիպեր";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների դաշտեր";
}
else
{
return "Բաց ատրիբուտներ";
}
}
QCString trStaticPublicAttribs() override
{
return "Բաց ստատիկ ատրիբուտներ";
}
QCString trProtectedTypes() override
{
return "Պաշտպանված տիպեր";
}
QCString trProtectedAttribs() override
{
return "Պաշտպանված ատրիբուտներ";
}
QCString trStaticProtectedAttribs() override
{
return "Պաշտպանված ստատիկ ատրիբուտներ";
}
QCString trPrivateTypes() override
{
return "Փակ տիպեր";
}
QCString trPrivateAttribs() override
{
return "Փակ ատրիբուտներ";
}
QCString trStaticPrivateAttribs() override
{
return "Փակ ստատիկ ատրիբուտներ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a todo item */
QCString trTodo() override
/*??*/
{
return "Կատարման ենթակա";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
/*??*/
{
return "Խնդիրների ցուցակ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Օգտագործվում է հետևյալում - ";
}
QCString trRemarks() override
{
return "Դիտողություններ";
}
QCString trAttention() override
{
return "Ուշադրություն";
}
QCString trInclByDepGraph() override
{
return "Այս գրաֆը ցույց է տալիս, թե որ ֆայլերն են "
"ուղղակի կամ անուղղակի ներառում տվյալ ֆայլը.";
}
QCString trSince() override
/*??*/
{
return "Սկսած";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Լեգենդ";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Այս էջը նկարագրում է, թե ինչպես մեկնաբանել doxygen-ի ստեղծած գրաֆները:<p>\n"
"Դիտարկենք հետևյալ օրինակը.\n"
"\\code\n"
"/*! Կրճատման հետևանքով անտեսանելի դաս */\n"
"class Invisible { };\n\n"
"/*! Կրճատված դաս, ժառանգությունների հարաբերությունը փակ է */\n"
"class Truncated : public Invisible { };\n\n"
"/* Չփաստագրված դաս */\n"
"class Undocumented { };\n\n"
"/*! Բաց ժառանգում */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! Դասի ձևաչափ */\n"
"template<class T> class Templ {};\n\n"
"/*! Պաշտպանված ժառանգում */\n"
"class ProtectedBase { };\n\n"
"/*! Փակ ժառանգում */\n"
"class PrivateBase { };\n\n"
"/*! Դաս, որը օգտագործվում է Inherited դասի կողմից */\n"
"class Used { };\n\n"
"/*! Դաս, որը ժառանգում է մի շարք այլ դասերից */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Սրանով կստանանք հետևյալ գրաֆը."
"<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Այս գրաֆի ուղղանկյունները ունեն հետևյալ իմաստը.\n"
"<ul>\n"
"<li>%A լցոնվաց մոխրագույն ուղղանկյունը ներկայացնում է այն դասը կամ կառուցվածքը, "
"որի համար ստեղծվել է տվյալ գրաֆը:</li>\n"
"<li>%A սև եզրերով ուղղանկյունը նշանակում է փաստագրված դաս կամ կարուցվածք:</li>\n"
"<li>%A մոխրագույն եզրերով ուղղանկյունը նշանակում է չփաստագրված դաս կամ կառուցվածք:</li>\n"
"<li>%A կարմիր եզրերով ուղղանկյունը նշանակում է դաս կամ կառուցվածք, որի համար\n"
" ոչ բոլոր ժառանգում/պարունակում կապերն են ցուցադրված: Գրաֆը կրճատված է, "
"եթե այն չի տեղավորվում նշված սահմաններում:</li>\n"
"</ul>\n"
"Սլաքները ունեն հետևյալ իմաստը.\n"
"<ul>\n"
"<li>%A մուգ կապույտ սլաքը օգտագործվում է երկու դասերի միջև բաց ժառանգում "
"կապը ցուցադրելու համար:</li>\n"
"<li>%A մուգ կանաչ սլաքը օգտագործվում է պաշտպանված ժառանգման համար:</li>\n"
"<li>%A մուգ կարմիր սլաքը օգտագործվում է փակ ժառանգման համար:</li>\n"
"<li>%A մանուշակագույն կետագիծ սլաքը օգտագորշվում է, եթե դասը պարունակվում է"
"այլ դասում կամ օգտագորշվում է այլ դասի կողմից: Սլաքը պիտակավորվաշ է"
"փոփոխական(ներ)ով, որի միջոցով մատնանշված դասը կամ կառուցվածքը հասանելի է:</li>\n"
"<li>Դեզին կետագիծ սլաքը ցույց է տալիս ձևանմուշի օրինակի կապը այն ձևանմուշի հետ, "
"որից այն իրականցվել է. Սլաքը պիտակավորված է օրինակի ձևանմուշային պարամետրերով:</li>\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "լեգենդ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Թեստ";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Թեստերի ցուցակ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Հատկություններ";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Հատկություններ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Տվյալների կառուցվածք";
}
else
{
return "Դասեր";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Փաթեթ "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Բոլոր փաթեթները` կարճ բացատրություններով (եթե հասանելի են).";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Փաթեթներ";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Արժեքներ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Սխալ";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Սխալների ցուցակ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file */
QCString trRTFansicp() override
{
return "armscii-8";
}
/*! Used as ansicpg for RTF fcharset */
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Ցուցիչ";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
QCString result((first_capital ? "Տվյալների կառուցվածք" : "տվյալների կառուցվածք"));
return result;
}
else
{
QCString result((first_capital ? "Դաս" : "դաս"));
if(!singular) result+="եր";
return result;
}
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Ֆայլ" : "ֆայլ"));
if (!singular) result+="եր";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Անունների տարածություն" : "անունների տարածություն"));
if (!singular) result+="ներ";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Խ" : "խ"));
result+=(singular ? "ումբ" : "մբեր");
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Էջ" : "էջ"));
if (!singular) result+="եր";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Անդամ" : "անդամ"));
if (!singular) result+="ներ";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Գլոբալ" : "գլոբալ"));
if (!singular) result+="ներ";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Հեղինակ" : "հեղինակ"));
if (!singular) result+="ներ";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Հղումներ - ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Իրագործում է հետևյալ դաս(եր)ի ֆունկցիաները - "+trWriteList(numEntries)+":";
}
/*! used in member documentation blocks to produce a list of
* all members that implementation this member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Իրագործվում է հետևյալում - "+trWriteList(numEntries)+":";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Բովանդակություն";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Հնացած սահմանումների ցուցակը";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Պատահարներ";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Պատահարների ցուցակը";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Փաթեթի տիպեր";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Փաթեթի ֆունկցիաներ";
}
QCString trPackageMembers() override
{
return "Փաթեթի անդամներ";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Փաթեթի ստատիկ ֆունկցիաներ";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Փաթեթի ատրիբուտներ";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Փաթեթի ստատիկ ատրիբուտներ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Բոլոր";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Այս ֆունկցիայի կանչերի գրաֆը.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Որոնման արդյունքները";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Ներեցեք, բայց Ձեր որոնումը արդյունք չտվեց:";
}
else if( numDocuments == 1 )
{
return "Հայտնաբերվել է 1 փաստաթուղթ:";
}
else
{
return "Հայտնաբերվել է <b>$num</b> փաստաթուղթ:"
"Փաստաթղթերը դասակարգված են ըստ համապասխանության";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Որոնման արդյունքներ:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Ելակետային ֆայլ " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Ֆայլադարանների հիերարխիա"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Ֆայլադարաններ"; }
/*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Ֆայլադրաններ"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" Ֆայլադարան"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Ֆայլադարան" : "ֆայլադարան"));
if (!singular) result+="ներ";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Սա վերաբեռնված ֆունկցիա է` տրամադրված հարմարության համար: "
"Այն տարբերվում է նախնականից միայն արգումնետներով:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Այս ֆունկցիայի կանչերի գրաֆը.";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Համարակալումներ"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Անդամ ֆունցիաներ/ենթածրագրեր"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Տվյալների տիպերի ցուցակը"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Տվյալների դաշտեր"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Տվյալների տիպերը` կարճ բացատրություններով."; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Բոլոր ";
if (!extractAll)
{
result+="փաստագրված ";
}
result+="տվյալների տիպերի անդամների ցուցակը` հղումներով դեպի ";
if (!extractAll)
{
result+="բոլոր անդամների տվյալների կառուցվածքի փաստագրությունը";
}
else
{
result+="տվյալների տիպերը, որոնց նրանք պատկանում են";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Տվյալների տիպեր"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Տվյալների տիպեր"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Ֆունկցիաներ/ենթածրագրեր"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Ֆունկցիաներ/ենթածրագրեր"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Տվյալների տիպեր"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Մոդուլների ցուցակ"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Բոլոր";
if (!extractAll) result+="փաստագրված ";
result+="մոդուլների ցուցակը` կարճ բացատրություններով.";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
if (!isTemplate)
{
switch(compType)
{
case ClassDef::Class: result+=" Մոդուլ"; break;
case ClassDef::Struct: result+=" Տիպ"; break;
case ClassDef::Union: result+=" Միավորում"; break;
case ClassDef::Interface: result+=" Ինտերֆեյս"; break;
case ClassDef::Protocol: result+=" Արձանագրություն"; break;
case ClassDef::Category: result+=" Դասակարգում"; break;
case ClassDef::Exception: result+=" Բացառություն"; break;
default: break;
}
}
else
{
switch(compType)
{
case ClassDef::Class: result+=" Մոդուլի"; break;
case ClassDef::Struct: result+=" Տիպի"; break;
case ClassDef::Union: result+=" Միավորման"; break;
case ClassDef::Interface: result+=" Ինտերֆեյսի"; break;
case ClassDef::Protocol: result+=" Արձանագրության"; break;
case ClassDef::Category: result+=" Դասակարգման"; break;
case ClassDef::Exception: result+=" Բացառության"; break;
default: break;
}
result+=" Ձևանմուշ";
}
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
return QCString("Մոդուլ ") + namespaceName;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Մոդուլի անդամներ"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Մոդուլի բոլոր ";
if (!extractAll) result+="փաստագրված ";
result+="անդամների ցուցակը` հղումներով դեպի ";
if (extractAll)
{
result+="բոլոր անդամների փաստագրությունները.";
}
else
{
result+="մոդուլները, որոնց նրանք պատկանում են.";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Մոդուլներ"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Մոդուլ" : "մոդուլ"));
if (!singular) result+="ներ";
return result;
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="Այս ";
switch(compType)
{
case ClassDef::Class: result+="մոդուլի"; break;
case ClassDef::Struct: result+="տիպի"; break;
case ClassDef::Union: result+="միավորման"; break;
case ClassDef::Interface: result+="ինտերֆեյսի"; break;
case ClassDef::Protocol: result+="արձանագրության"; break;
case ClassDef::Category: result+="դասակարգման"; break;
case ClassDef::Exception: result+="բացառության"; break;
default: break;
}
result+=" փաստագրությունը ստեղծվել է հետևալ ֆայլ";
if (single) result+="ից."; else result+="երից.";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Տիպ" : "տիպ"));
if (!singular) result+="եր";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Ե" : "ե"));
if (singular) result+="նթածրագիր"; else result+="նթածրագրեր";
return result;
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Տիպերի Սահմանափակումներ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return QCString(name)+" Կապ";
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Բեռնում...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Գլոբալ անունների տարածություն";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Որոնում...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Անարդյունք";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "Ֆայլը " + name + " ում";
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Ներառում է ֆայլը " + name + " ում";
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Երկուշաբթի,","Երեքշաբթի,","Չորեքշաբթի,","Հինգշաբթի,",
"Ուրբաթ,","Շաբաթ,","Կիրակի," };
static const char *months[] = { "Հունիսի","Փետրվարի","Մարտի","Ապրրիլի","Մայիսի","Հունիսի",
"Հուլիսի","Օգոստոսի","Սեպտեմբերի","Հոկտեբմերի","Նոյեմբերի","Դեկտեմբերի" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d ",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "Երկ", "Երք", "Չրք", "Հնգ", "Ուր", "Շբթ", "Կիր" };
static const char *days_full[] = { "Երկուշաբթի", "Երեքշաբթի", "Չորեքշաբթի", "Հինգշաբթի", "Ուրբաթ", "Շաբաթ", "Կիրակի" };
return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "Հնվ", "Փտվ", "Մրտ", "Ապր", "Մյս", "Հնս", "Հլս", "Օգս", "Սպտ", "Հկտ", "Նյմ", "Դկտ" };
static const char *months_full[] = { "Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս", "Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր" };
return full? months_full[month-1] : months_short[month-1];
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "AM", "PM" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Գրականություն"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Հեղինակային իրավունք"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return name + QCString("-ի ֆայլադարանների կախվածությունների գծագիր:"); }
};
#endif
| 67,477
|
C++
|
.h
| 1,613
| 31.624923
| 175
| 0.590918
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,685
|
groupdef.h
|
doxygen_doxygen/src/groupdef.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef GROUPDEF_H
#define GROUPDEF_H
#include <memory>
#include "definition.h"
#include "dirdef.h"
#include "layout.h"
#include "membergroup.h"
#include "linkedmap.h"
class MemberList;
class MemberLists;
class FileList;
class ClassLinkedRefMap;
class ConceptLinkedRefMap;
class ModuleLinkedRefMap;
class NamespaceLinkedRefMap;
class FileDef;
class ClassDef;
class ConceptDef;
class NamespaceDef;
class GroupList;
class OutputList;
class PageLinkedRefMap;
class PageDef;
class DirDef;
class FTVHelp;
class Entry;
class MemberDef;
class ModuleDef;
/** A model of a group of symbols. */
class GroupDef : public DefinitionMutable, public Definition
{
public:
ABSTRACT_BASE_CLASS(GroupDef)
virtual QCString groupTitle() const = 0;
virtual void setGroupTitle( const QCString &newtitle ) = 0;
virtual bool hasGroupTitle( ) const = 0;
virtual void addFile(FileDef *def) = 0;
virtual bool containsFile(const FileDef *def) const = 0;
virtual bool addClass(ClassDef *def) = 0;
virtual bool addConcept(ConceptDef *def) = 0;
virtual bool addModule(ModuleDef *def) = 0;
virtual bool addNamespace(NamespaceDef *def) = 0;
virtual void addGroup(GroupDef *def) = 0;
virtual void addPage(PageDef *def) = 0;
virtual void addExample(PageDef *def) = 0;
virtual void addDir(DirDef *dd) = 0;
virtual bool insertMember(MemberDef *def,bool docOnly=FALSE) = 0;
virtual void removeMember(MemberDef *md) = 0;
virtual bool findGroup(const GroupDef *def) const = 0;
virtual void writeDocumentation(OutputList &ol) = 0;
virtual void writeMemberPages(OutputList &ol, int hierarchyLevel) = 0;
virtual void writeTagFile(TextStream &) = 0;
virtual size_t numDocMembers() const = 0;
virtual bool isVisibleInHierarchy() const = 0;
virtual bool isASubGroup() const = 0;
virtual void computeAnchors() = 0;
virtual void countMembers() = 0;
virtual void addMembersToMemberGroup() = 0;
virtual void distributeMemberGroupDocumentation() = 0;
virtual void findSectionsInDocumentation() = 0;
virtual void addListReferences() = 0;
virtual void sortMemberLists() = 0;
virtual bool subGrouping() const = 0;
virtual void setGroupScope(Definition *d) = 0;
virtual Definition *getGroupScope() const = 0;
virtual MemberList *getMemberList(MemberListType lt) const = 0;
virtual const MemberLists &getMemberLists() const = 0;
/* user defined member groups */
virtual const MemberGroupList &getMemberGroups() const = 0;
virtual const FileList &getFiles() const = 0;
virtual const ClassLinkedRefMap &getClasses() const = 0;
virtual const ConceptLinkedRefMap &getConcepts() const = 0;
virtual const ModuleLinkedRefMap &getModules() const = 0;
virtual const NamespaceLinkedRefMap &getNamespaces() const = 0;
virtual const GroupList &getSubGroups() const = 0;
virtual const PageLinkedRefMap &getPages() const = 0;
virtual const DirList & getDirs() const = 0;
virtual const PageLinkedRefMap &getExamples() const = 0;
virtual bool hasDetailedDescription() const = 0;
virtual void sortSubGroups() = 0;
// group graph related members
virtual bool hasGroupGraph() const = 0;
virtual void overrideGroupGraph(bool e) = 0;
};
std::unique_ptr<GroupDef> createGroupDef(const QCString &fileName,int line,const QCString &name,
const QCString &title,const QCString &refFileName=QCString());
// --- Cast functions
GroupDef *toGroupDef(Definition *d);
const GroupDef *toGroupDef(const Definition *d);
// ------------------
class GroupLinkedMap : public LinkedMap<GroupDef>
{
};
class GroupList : public std::vector<GroupDef *>
{
};
void addClassToGroups (const Entry *root,ClassDef *cd);
void addConceptToGroups (const Entry *root,ConceptDef *cd);
void addModuleToGroups (const Entry *root,ModuleDef *mod);
void addNamespaceToGroups(const Entry *root,NamespaceDef *nd);
void addGroupToGroups (const Entry *root,GroupDef *subGroup);
void addMemberToGroups (const Entry *root,MemberDef *md);
void addPageToGroups (const Entry *root,PageDef *pd);
void addExampleToGroups (const Entry *root,PageDef *eg);
void addDirToGroups (const Entry *root,DirDef *dd);
#endif
| 4,954
|
C++
|
.h
| 122
| 37.278689
| 103
| 0.730977
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,687
|
dot.h
|
doxygen_doxygen/src/dot.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOT_H
#define DOT_H
#include <map>
#include "threadpool.h"
#include "qcstring.h"
#include "dotgraph.h" // only for GraphOutputFormat
#include "dotfilepatcher.h"
#include "dotrunner.h"
#include "doxygen.h"
#include "construct.h"
class DotRunner;
class DotRunnerQueue;
class TextStream;
/** Singleton that manages parallel dot invocations and patching files for embedding image maps */
class DotManager
{
public:
static DotManager *instance();
DotRunner* createRunner(const QCString& absDotName, const QCString& md5Hash);
DotFilePatcher *createFilePatcher(const QCString &fileName);
bool run();
private:
DotManager();
virtual ~DotManager();
NON_COPYABLE(DotManager)
std::map<std::string, std::unique_ptr<DotRunner> > m_runners;
std::map<std::string, DotFilePatcher> m_filePatchers;
ThreadPool m_workers;
};
void writeDotGraphFromFile(const QCString &inFile,const QCString &outDir,
const QCString &outFile,GraphOutputFormat format,
const QCString &srcFile,int srcLine);
void writeDotImageMapFromFile(TextStream &t,
const QCString &inFile, const QCString& outDir,
const QCString &relPath,const QCString& baseName,
const QCString &context,int graphId,
const QCString &srcFile,int srcLine);
#endif
| 2,141
|
C++
|
.h
| 52
| 35.557692
| 98
| 0.665385
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,688
|
emoji.h
|
doxygen_doxygen/src/emoji.h
|
/******************************************************************************
*
* Copyright (C) 1997-2018 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef EMOJIENTITY_H
#define EMOJIENTITY_H
#include <map>
#include <string>
#include "construct.h"
class TextStream;
/** @brief Singleton helper class to map emoji entities to other formats */
class EmojiEntityMapper
{
public:
static EmojiEntityMapper &instance();
const char *name(int index) const;
const char *unicode(int index) const;
void writeEmojiFile(TextStream &t);
int symbol2index(const std::string &symName) const;
private:
EmojiEntityMapper();
~EmojiEntityMapper();
NON_COPYABLE(EmojiEntityMapper)
static EmojiEntityMapper *s_instance;
std::map<std::string,int> m_name2symGh;
};
#endif
| 1,304
|
C++
|
.h
| 37
| 32.567568
| 79
| 0.716098
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,689
|
dotlegendgraph.h
|
doxygen_doxygen/src/dotlegendgraph.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOTLEGENDGRAPH_H
#define DOTLEGENDGRAPH_H
#include "dotgraph.h"
/** Representation of a legend explaining the meaning of boxes, arrows, and colors */
class DotLegendGraph : public DotGraph
{
public:
void writeGraph(const QCString &path);
private:
QCString getBaseName() const override;
void computeTheGraph() override;
QCString getMapLabel() const override;
};
#endif
| 1,046
|
C++
|
.h
| 28
| 35.392857
| 85
| 0.724036
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,690
|
translator_nl.h
|
doxygen_doxygen/src/translator_nl.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_NL_H
#define TRANSLATOR_NL_H
class TranslatorDutch : public Translator
{
public:
QCString idLanguage() override
{ return "dutch"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*/
QCString latexLanguageSupportCommand() override
{ return "\\usepackage[dutch]{babel}\n"; }
QCString trISOLang() override
{ return "nl"; }
QCString getLanguageString() override
{
return "0x413 Dutch";
}
QCString trRelatedFunctions() override
{ return "Gerelateerde functies"; }
QCString trRelatedSubscript() override
{ return "(Merk op dat dit geen member functies zijn.)"; }
QCString trDetailedDescription() override
{ return "Gedetailleerde Beschrijving"; }
QCString trDetails() override
{ return "Details"; }
QCString trMemberTypedefDocumentation() override
{ return "Documentatie van type definitie members"; }
QCString trMemberEnumerationDocumentation() override
{ return "Documentatie van enumeratie members"; }
QCString trMemberFunctionDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Documentatie van functie/procedure/process members";
}
else
{
return "Documentatie van functie members";
}
}
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentatie van data velden";
}
else
{
return "Documentatie van data members";
}
}
QCString trMore() override
{ return "Meer..."; }
QCString trListOfAllMembers() override
{ return "Lijst van alle members"; }
QCString trMemberList() override
{ return "Member Lijst"; }
QCString trThisIsTheListOfAllMembers() override
{ return "Dit is de complete lijst van alle members voor"; }
QCString trIncludingInheritedMembers() override
{ return ", inclusief alle overgeërfde members."; }
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Automatisch gegenereerd door Doxygen";
if (!s.isEmpty()) result+=" voor "+s;
result+=" uit de programmatekst.";
return result;
}
QCString trEnumName() override
{ return "enum naam"; }
QCString trEnumValue() override
{ return "enum waarde"; }
QCString trDefinedIn() override
{ return "gedefinieerd in"; }
QCString trModules() override
{ return "Modules"; }
QCString trClassHierarchy() override
{ return "Klasse Hiërarchie"; }
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structuren Lijst";
}
else
{
return "Klasse Lijst";
}
}
QCString trFileList() override
{ return "Bestandslijst"; }
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Velden";
}
else
{
return "Klasse Members";
}
}
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Glabale members";
}
else
{
return "Bestand members";
}
}
QCString trRelatedPages() override
{ return "Gerelateerde pagina's"; }
QCString trExamples() override
{ return "Voorbeelden"; }
QCString trSearch() override
{ return "Zoeken"; }
QCString trClassHierarchyDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Hieronder is een hiërarchische lijst met alle entiteiten:";
}
else
{
return "Deze inheritance lijst is min of meer alfabetisch gesorteerd:";
}
}
QCString trFileListDescription(bool extractAll) override
{
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="bestanden, elk met een korte beschrijving:";
return result;
}
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Hieronder volgen de structs "
"met voor elk een korte beschrijving:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Hieronder volgen de klassen "
"met voor elk een korte beschrijving:";
}
else
{
return "Hieronder volgen de klassen, structs en "
"unions met voor elk een korte beschrijving:";
}
}
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct en union velden";
}
else
{
result+="klasse members";
}
result+=" met links naar ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="de struct/union documentatie voor elke veld:";
}
else
{
result+="de klasse documentatie voor elke member:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="de structures/unions waartoe ze behoren:";
}
else
{
result+="de klassen waartoe ze behoren:";
}
}
return result;
}
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="functies, variabelen, macros, enumeraties, en typedefs";
}
else
{
result+="bestand members";
}
result+=" met links naar ";
if (extractAll) result+="de bestand's documentatie voor elke member:";
else result+="de bestanden waartoe ze behoren:";
return result;
}
QCString trExamplesDescription() override
{ return "Hieronder volgt de lijst met alle voorbeelden:"; }
QCString trRelatedPagesDescription() override
{ return "Hieronder volgt de lijst met alle pagina's die gerelateerde documentatie bevatten:"; }
QCString trModulesDescription() override
{ return "Hieronder volgt de lijst met alle modules:"; }
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentatie"; }
QCString trModuleIndex() override
{ return "Module Index"; }
QCString trHierarchicalIndex() override
{ return "Hiërarchische Index"; }
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structuren Index";
}
else
{
return "Klasse Index";
}
}
QCString trFileIndex() override
{ return "Bestand Index"; }
QCString trModuleDocumentation() override
{ return "Module Documentatie"; }
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Klassen Documentatie";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Klassen Documentatie";
}
}
QCString trFileDocumentation() override
{ return "Bestand Documentatie"; }
QCString trReferenceManual() override
{ return "Naslagwerk"; }
QCString trDefines() override
{ return "Macros"; }
QCString trTypedefs() override
{ return "Typedefs"; }
QCString trEnumerations() override
{ return "Enumeraties"; }
QCString trFunctions() override
{ return "Functies"; }
QCString trVariables() override
{ return "Variabelen"; }
QCString trEnumerationValues() override
{ return "Enumeratie waarden"; }
QCString trDefineDocumentation() override
{ return "Documentatie van macro's"; }
QCString trTypedefDocumentation() override
{ return "Documentatie van typedefs"; }
QCString trEnumerationTypeDocumentation() override
{ return "Documentatie van enumeratie types"; }
QCString trEnumerationValueDocumentation() override
{ return "Documentatie van enumeratie waarden"; }
QCString trFunctionDocumentation() override
{ return "Documentatie van functies"; }
QCString trVariableDocumentation() override
{ return "Documentatie van variabelen"; }
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structuren";
}
else
{
return "Klassen";
}
}
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Gegenereerd op "+date;
if (!projName.isEmpty()) result+=" voor "+projName;
result+=" door";
return result;
}
QCString trClassDiagram(const QCString &clName) override
{
return "Klasse diagram voor "+clName;
}
QCString trWarning() override
{ return "Waarschuwing"; }
QCString trVersion() override
{ return "Versie"; }
QCString trDate() override
{ return "Datum"; }
QCString trReturns() override
{ return "Retourneert"; }
QCString trSeeAlso() override
{ return "Zie ook"; }
QCString trParameters() override
{ return "Parameters"; }
QCString trExceptions() override
{ return "Excepties"; }
QCString trGeneratedBy() override
{ return "Gegenereerd door"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
QCString trNamespaceList() override
{ return "Namespace Lijst"; }
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Hier is een lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="namespaces met voor elk een korte beschrijving:";
return result;
}
QCString trFriends() override
{ return "Friends"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
QCString trRelatedFunctionDocumentation() override
{ return "Documentatie van friends en gerelateerde functies"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
// used as the title of the HTML page of a class/struct/union
{
QCString result=clName;
if (isTemplate) result+=" Template";
switch(compType)
{
case ClassDef::Class: result+=" Class"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
result+=" Referentie";
return result;
}
QCString trFileReference(const QCString &fileName) override
// used as the title of the HTML page of a file
{
QCString result=fileName;
result+=" Bestand Referentie";
return result;
}
QCString trNamespaceReference(const QCString &namespaceName) override
// used as the title of the HTML page of a namespace
{
QCString result=namespaceName;
result+=" Namespace Referentie";
return result;
}
// these are for the member sections of a class, struct or union
QCString trPublicMembers() override
{ return "Public Members"; }
QCString trPublicSlots() override
{ return "Public Slots"; }
QCString trSignals() override
{ return "Signals"; }
QCString trStaticPublicMembers() override
{ return "Static Public Members"; }
QCString trProtectedMembers() override
{ return "Protected Members"; }
QCString trProtectedSlots() override
{ return "Protected Slots"; }
QCString trStaticProtectedMembers() override
{ return "Static Protected Members"; }
QCString trPrivateMembers() override
{ return "Private Members"; }
QCString trPrivateSlots() override
{ return "Private Slots"; }
QCString trStaticPrivateMembers() override
{ return "Static Private Members"; }
// end of member sections
QCString trWriteList(int numEntries) override
{
// this function is used to produce a comma-separated list of items.
// use generateMarker(i) to indicate where item i should be put.
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" en ";
}
}
return result;
}
QCString trInheritsList(int numEntries) override
// used in class documentation to produce a list of base classes,
// if class diagrams are disabled.
{
return "Erft over van "+trWriteList(numEntries)+".";
}
QCString trInheritedByList(int numEntries) override
// used in class documentation to produce a list of super classes,
// if class diagrams are disabled.
{
return "Wordt overgeërfd door "+trWriteList(numEntries)+".";
}
QCString trReimplementedFromList(int numEntries) override
// used in member documentation blocks to produce a list of
// members that are hidden by this one.
{
return "Nieuwe implementatie van "+trWriteList(numEntries)+".";
}
QCString trReimplementedInList(int numEntries) override
{
// used in member documentation blocks to produce a list of
// all member that overwrite the implementation of this member.
return "Opnieuw geïmplementeerd in "+trWriteList(numEntries)+".";
}
QCString trNamespaceMembers() override
// This is put above each page as a link to all members of namespaces.
{ return "Namespace Members"; }
QCString trNamespaceMemberDescription(bool extractAll) override
// This is an introduction to the page with all namespace members
{
QCString result="Hier is een lijst van alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="namespace members met links naar ";
if (extractAll)
result+="de namespace documentatie voor iedere member:";
else
result+="de namespaces waartoe ze behoren:";
return result;
}
QCString trNamespaceIndex() override
// This is used in LaTeX as the title of the chapter with the
// index of all namespaces.
{ return "Namespace Index"; }
QCString trNamespaceDocumentation() override
// This is used in LaTeX as the title of the chapter containing
// the documentation of all namespaces.
{ return "Namespace Documentatie"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{
return "Namespaces";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
QCString result="De documentatie voor ";
switch(compType)
{
case ClassDef::Class: result+=vhdlOpt?"deze ontwerp eenheid":"deze klasse"; break;
case ClassDef::Struct: result+="deze struct"; break;
case ClassDef::Union: result+="deze union"; break;
case ClassDef::Interface: result+="dit interface"; break;
case ClassDef::Protocol: result+="dit protocol"; break;
case ClassDef::Category: result+="deze categorie"; break;
case ClassDef::Exception: result+="deze exceptie"; break;
default: break;
}
result+=" is gegenereerd op basis van ";
if (single) result+="het"; else result+="de";
result+=" volgende bestand";
if (single) result+=":"; else result+="en:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Retour waarden"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Hoofd Pagina"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "p."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991106
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "De definitie bevindt zich op regel @0 in het bestand @1.";
}
QCString trDefinedInSourceFile() override
{
return "De definitie bevindt zich in het bestand @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Verouderd";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Collaboratie diagram voor "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Include afhankelijkheidsgraaf voor "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Constructor & Destructor Documentatie";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Ga naar de broncode van dit bestand.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Ga naar de documentatie van dit bestand.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Preconditie";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Postconditie";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Initiële waarde:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "code";
}
QCString trGraphicalHierarchy() override
{
return "Grafische Klasse Hiërarchie";
}
QCString trGotoGraphicalHierarchy() override
{
return "Ga naar de grafische klasse hiërarchie";
}
QCString trGotoTextualHierarchy() override
{
return "Ga naar de tekstuele klasse hiërarchie";
}
QCString trPageIndex() override
{
return "Pagina Index";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Noot";
}
QCString trPublicTypes() override
{
return "Public Typen";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Velden";
}
else
{
return "Public Attributen";
}
}
QCString trStaticPublicAttribs() override
{
return "Static Public Attributen";
}
QCString trProtectedTypes() override
{
return "Protected Typen";
}
QCString trProtectedAttribs() override
{
return "Protected Attributen";
}
QCString trStaticProtectedAttribs() override
{
return "Static Protected Attributen";
}
QCString trPrivateTypes() override
{
return "Private Typen";
}
QCString trPrivateAttribs() override
{
return "Private Attributen";
}
QCString trStaticPrivateAttribs() override
{
return "Static Private Attributen";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a todo item */
QCString trTodo() override
{
return "Todo";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Todo Lijst";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Wordt aangeroepen door";
}
QCString trRemarks() override
{
return "Opmerkingen";
}
QCString trAttention() override
{
return "Attentie";
}
QCString trInclByDepGraph() override
{
return "Deze graaf geeft aan welke bestanden direct of "
"indirect afhankelijk zijn van dit bestand:";
}
QCString trSince() override
{
return "Sinds";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Graaf Legenda";
}
/*! page explaining how the dot graph's should be interpreted */
QCString trLegendDocs() override
{
return
"Deze pagina legt uit hoe de grafen die gegenereerd worden door doxygen "
"geïnterpreteerd dienen te worden.<p>\n"
"Beschouw het volgende voorbeeld:\n"
"\\code\n"
"/*! Onzichtbare klasse vanwege afkappen van de graaf */\n"
"class Invisible { };\n\n"
"/*! Afgekapte klasse, overervingsrelatie is verborgen */\n"
"class Truncated : public Invisible { };\n\n"
"/* Klasse is niet gedocumenteerd met doxygen commentaar */\n"
"class Undocumented { };\n\n"
"/*! Klasse met public inheritance */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Klasse met protected inheritance */\n"
"class ProtectedBase { };\n\n"
"/*! Klasse met private inheritance */\n"
"class PrivateBase { };\n\n"
"/*! Klasse die wordt gebruikt door de klasse Inherited */\n"
"class Used { };\n\n"
"/*! Super klasse die overerft van een aantal andere klassen */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Dit voorbeeld zal resulteren in de volgende graaf:"
"<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"De rechthoeken in the bovenstaande graaf hebben de volgende betekenis:\n"
"<ul>\n"
"<li>Een gevulde grijze rechthoek representeert de structure of klasse waarvoor "
"de graaf is gegenereerd.\n"
"<li>Een rechthoek met een zwarte rand representeert een gedocumenteerde structure of klasse.\n"
"<li>Een rechthoek met een grijze rand representeert een ongedocumenteerde structure of klasse.\n"
"<li>Een rechthoek met een rode rand representeert een gedocumenteerde structure or klasse waarvoor\n"
"niet alle overervings- of gebruiksrelaties konden worden getoond. Een graaf wordt "
"afgekapt als hij niet past binnen de gespecificeerde grenzen."
"</ul>\n"
"De pijlen hebben de volgende betekenis:\n"
"<ul>\n"
"<li>Een blauwe pijl visualizeert een public inheritance "
"relatie tussen twee klassen.\n"
"<li>Een donkergroene pijl wordt gebruikt voor protected inheritance.\n"
"<li>Een donkerrode pijl wordt gebruikt voor private inheritance.\n"
"<li>Een paars gestippelde pijl wordt gebruikt indien een klasse bevat is of gebruikt wordt "
"door een andere klasse. De pijl is gelabeled met de variable(n) "
"die toegang geven tot de aangewezen klasse of structure. \n"
"<li>Een geel gestippelde pijl wordt gebruikt om een relatie tussen een \n"
"template instantie en een template klasse aan te geven. De pijl is gelabeld met \n"
"template parameters van de instantie.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "legenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Test";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Test Lijst";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Properties";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Property Documentatie";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structuren";
}
else
{
return "Klassen";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Package "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Hier volgen de packages, elk met een korte beschrijving (indien aanwezig):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Packages";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Waarde:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bug";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Bug Lijst";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Index";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "klasse", "n");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "bestand", "en");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "namespace", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "groep", "en");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "pagina", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "member", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "globale member", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "auteur", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Gebruikt";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implementeert "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implementation this member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Wordt geïmplementeerd door "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
QCString trRTFTableOfContents() override
{ return "Inhoudsopgave"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Deprecated Lijst";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for a section of events found in a C# program
*/
QCString trEvents() override
{
return "Events";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Event Documentatie";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Package Types";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Package Functies";
}
QCString trPackageMembers() override
{
return "Package Members";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Statische Package Functies";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Package Attributen";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Statische Package Attributen";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Alle";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Hier is de call graaf voor deze functie:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Zoek Resultaten";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Helaas, er zijn geen documenten gevonden die aan de zoekopdracht voldoen.";
}
else if (numDocuments==1)
{
return "Er is <b>1</b> document gevonden dat aan de zoekopdracht voldoet.";
}
else
{
return "Er zijn <b>$num</b> documenten gevonden die aan de zoekopdracht voldoen. "
"De beste resultaten worden eerst getoond.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Gevonden:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " Bron Bestand";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Folder Hiërarchie"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Folder Documentatie"; }
/*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Folders"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" Folder Referentie"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "folder", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a function.
*/
QCString trOverloadText() override
{
return "Deze functie is overloaded en is beschikbaar gemaakt om het "
"gebruik te vergemakkelijken. Ze verschilt alleen van de "
"bovenstaande functie wat betreft de parameterlijst.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! Put in front of the call graph for a function. */
QCString trCallerGraph() override
{
return "Hier is de caller graaf voor deze functie:";
}
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Member Functie/Subroutine Documentatie"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Lijst met data types"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Data velden"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Hieronder volgen de data types elk een korte beschrijving:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="data types met links naar ";
if (!extractAll) result+="de klasse documentatie voor elke member:";
else result+="de klassen waartoe ze behoren:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Data Type Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Data Type Documentatie"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Functies/Subroutines"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Functie/Subroutine Documentatie"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Data Types"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Module Lijst"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="modulen, elk met een korte beschrijving:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Module"; break;
case ClassDef::Struct: result+=" Type"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Referentie";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Module Referentie";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Module Members"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Hier is een lijst van alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="module members met links naar ";
if (extractAll)
result+="de module documentatie voor iedere member:";
else
result+="de module waartoe ze behoren:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Module Index"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "module", "n");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="De documentatie voor ";
switch(compType)
{
case ClassDef::Class: result+="deze module"; break;
case ClassDef::Struct: result+="dit type"; break;
case ClassDef::Union: result+="deze union"; break;
case ClassDef::Interface: result+="dit interface"; break;
case ClassDef::Protocol: result+="dit protocol"; break;
case ClassDef::Category: result+="deze category"; break;
case ClassDef::Exception: result+="deze exception"; break;
default: break;
}
result+=" is gegenereerd op basis van ";
if (single) result+="het"; else result+="de";
result+=" volgende bestand";
if (single) result+=":"; else result+="en:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "type", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subprogramma", "s");
}
/*! C# Type Contraint list */
QCString trTypeConstraints() override
{
return "Type Beperkingen";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return name+" Relatie";
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Laden...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Globale Namespace";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Zoeken...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Niets gevonden";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "Bestand in "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Includeert bestand in "+name;
}
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Ma","Di","Wo","Do","Vr","Za","Zo" };
static const char *months[] = { "Jan","Feb","Maa","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "ma", "di", "wo", "do", "vr", "za", "zo" };
static const char *days_full[] = { "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag", "zondag" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec" };
static const char *months_full[] = { "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "a.m.", "p.m." };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Bibliografie"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Copyright"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return "Folder afhankelijkheidsgraaf voor "+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "detail niveau"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "Template Parameters"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "en "+number+ " anderen..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{ QCString result = "De documentatie voor deze enum is gegenereerd op basis van ";
if (single) result+="het"; else result+="de";
result+=" volgende bestand";
if (single) result+=":"; else result+="en:";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{ return name+" Enum Referentie"; }
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return members+" overgeërfd van "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "Additionele Overgeërfde Members"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "in" : "uit";
return "klik hier om de paneel synchronisatie "+opt+" te schakelen";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "Wordt aangeboden door category @0.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "Uitbereiding van klasse @0.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "Klasse Methoden";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "Instantie Methoden";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "Methode Documentatie";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "Geëporteerde Interfaces"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "Geïncludeerde Services"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "Konstanten Groepen"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Konstanten Groepen Referentie";
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result=sName;
result+=" Service Referentie";
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result=sName;
result+=" Singleton Referentie";
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{ QCString result = "De documentatie voor deze service is gegenereerd op basis van ";
if (single) result+="het"; else result+="de";
result+=" volgende bestand";
if (single) result+=":"; else result+="en:";
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{ QCString result = "De documentatie voor deze singleton is gegenereerd op basis van ";
if (single) result+="het"; else result+="de";
result+=" volgende bestand";
if (single) result+=":"; else result+="en:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "Ontwerp Eenheid Hiërarchie"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "Ontwerp Eenheid Lijst"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "Ontwerp Eenheid Members"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{
return "hieronder volgt de lijst met all ontwerp eenheden met links "
"naar de entiteiten waar ze bij behoren:";
}
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "Ontwerp Eenheid Index"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "Ontwerp Eenheden"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "Functies/Procedures/Processen"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch(type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "Bibliotheek";
else return "Bibliotheken";
case VhdlSpecifier::PACKAGE:
if (single) return "Package";
else return "Packages";
case VhdlSpecifier::SIGNAL:
if (single) return "Signal";
else return "Signals";
case VhdlSpecifier::COMPONENT:
if (single) return "Bestanddeel";
else return "Bestanddelen";
case VhdlSpecifier::CONSTANT:
if (single) return "Konstante";
else return "Konstanten";
case VhdlSpecifier::ENTITY:
if (single) return "Entiteit";
else return "Entiteiten";
case VhdlSpecifier::TYPE:
if (single) return "Type";
else return "Types";
case VhdlSpecifier::SUBTYPE:
if (single) return "Ondertype";
else return "Ondertypes";
case VhdlSpecifier::FUNCTION:
if (single) return "Funktie";
else return "Funkties";
case VhdlSpecifier::RECORD:
if (single) return "Record";
else return "Records";
case VhdlSpecifier::PROCEDURE:
if (single) return "Procedure";
else return "Procedures";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "Architectuur";
else return "Architecturen";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "Attribuut";
else return "Attributen";
case VhdlSpecifier::PROCESS:
if (single) return "Proces";
else return "Processen";
case VhdlSpecifier::PORT:
if (single) return "Poort";
else return "Porten";
case VhdlSpecifier::USE:
if (single) return "gebruiks clausule";
else return "Gebruiks Clausules";
case VhdlSpecifier::GENERIC:
if (single) return "Algemeen";
else return "Algemene";
case VhdlSpecifier::PACKAGE_BODY:
return "Package Body";
case VhdlSpecifier::UNITS:
return "Eenheden";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "Gedeelde Variable";
else return "Gedeelde Variablen";
case VhdlSpecifier::VFILE:
if (single) return "Bestand";
else return "Bestanden";
case VhdlSpecifier::GROUP:
if (single) return "Groep";
else return "Groepen";
case VhdlSpecifier::INSTANTIATION:
if (single) return "Instantiëring";
else return "Instantiëringen";
case VhdlSpecifier::ALIAS:
if (single) return "Alias";
else return "Aliases";
case VhdlSpecifier::CONFIG:
if (single) return "Configuratie";
else return "Configuraties";
case VhdlSpecifier::MISCELLANEOUS:
return "Diverse";
case VhdlSpecifier::UCF_CONST:
return "Limiteringen";
default:
return "Klasse";
}
}
QCString trCustomReference(const QCString &name) override
{ return name+" Referentie"; }
/* Slice */
QCString trConstants() override
{ return "Konstanten"; }
QCString trConstantDocumentation() override
{ return "Documentatie van konstanten"; }
QCString trSequences() override
{ return "Reeksen"; }
QCString trSequenceDocumentation() override
{ return "Documentatie van reeksen"; }
QCString trDictionaries() override
{ return "Vertalingslijsten"; }
QCString trDictionaryDocumentation() override
{ return "Documentatie van vertalingslijsten"; }
QCString trSliceInterfaces() override
{ return "Interfaces"; }
QCString trInterfaceIndex() override
{ return "Index van interfaces"; }
QCString trInterfaceList() override
{ return "Lijst van interfaces"; }
QCString trInterfaceListDescription() override
{ return "Hieronder volgt de lijst met alle interfaces, elk met een korte beschrijving:"; }
QCString trInterfaceHierarchy() override
{ return "Interface Hiërarchie"; }
QCString trInterfaceHierarchyDescription() override
{ return "Deze inheritance lijst is min of meer alfabetisch gesorteerd:"; }
QCString trInterfaceDocumentation() override
{ return "Documentatie van interfaces"; }
QCString trStructs() override
{ return "Structs"; }
QCString trStructIndex() override
{ return "Index van struct"; }
QCString trStructList() override
{ return "Lijst van struct"; }
QCString trStructListDescription() override
{ return "Hieronder volgt de lijst met alle structs, elk met een korte beschrijving:"; }
QCString trStructDocumentation() override
{ return "Documentatie van structs"; }
QCString trExceptionIndex() override
{ return "Index van exceptions"; }
QCString trExceptionList() override
{ return "Lijst van exceptions"; }
QCString trExceptionListDescription() override
{ return "Hieronder volgt de lijst met alle exeptions, elk met een korte beschrijving:"; }
QCString trExceptionHierarchy() override
{ return "Exception Hiërarchie"; }
QCString trExceptionHierarchyDescription() override
{ return "Deze inheritance lijst is min of meer alfabetisch gesorteerd:"; }
QCString trExceptionDocumentation() override
{ return "Documentatie van exceptions"; }
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result=clName;
if (isLocal) result+=" Lokale";
switch(compType)
{
case ClassDef::Class: result+=" Class"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
result+=" Referentie";
return result;
}
QCString trOperations() override
{ return "Bewerkingen"; }
QCString trOperationDocumentation() override
{ return "Documentatie van bewerkingen"; }
QCString trDataMembers() override
{ return "Data members"; }
QCString trDataMemberDocumentation() override
{ return "Documentatie van data members"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
QCString trDesignUnitDocumentation() override
{ return "Ontwerp Eenheid Documentatie"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
QCString trConcept(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "concept", "en");
}
QCString trConceptReference(const QCString &conceptName) override
{
QCString result=conceptName;
result+=" Concept Referentie";
return result;
}
QCString trConceptList() override
{ return "Concept Lijst"; }
QCString trConceptIndex() override
{ return "Concept Index"; }
QCString trConceptDocumentation() override
{ return "Concept Documentatie"; }
QCString trConceptListDescription(bool extractAll) override
{
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="concepten, elk met een korte beschrijving:";
return result;
}
QCString trConceptDefinition() override
{
return "Concept definitie";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
QCString trPackageList() override
{ return "Package Lijst"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.6
//////////////////////////////////////////////////////////////////////////
/*! This is used for translation of the word that will be
* followed by a single name of the VHDL process flowchart.
*/
QCString trFlowchart() override
{ return "Stroomschema:"; }
/*! Please translate also updated body of the method
* trMemberFunctionDocumentation(), now better adapted for
* VHDL sources documentation.
* Done.
*/
//////////////////////////////////////////////////////////////////////////
// new since 1.9.7
//////////////////////////////////////////////////////////////////////////
/*! used in the compound documentation before a list of related symbols.
*
* Supersedes trRelatedFunctions
*/
QCString trRelatedSymbols() override
{ return "Gerelateerde symbolen"; }
/*! subscript for the related symbols
*
* Supersedes trRelatedSubscript
*/
QCString trRelatedSymbolsSubscript() override
{ return "(Merk op dat dit geen member symbolen zijn.)"; }
/*! used in the class documentation as a header before the list of all
* related classes.
*
* Supersedes trRelatedFunctionDocumentation
*/
QCString trRelatedSymbolDocumentation() override
{ return "Documentatie van friends en gerelateerde symbolen"; }
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
{
QCString result;
switch(compType)
{
case ClassDef::Class:
if (lang == SrcLangExt::Fortran) trType(true,true);
else result=trClass(true,true);
break;
case ClassDef::Struct: result="Struct"; break;
case ClassDef::Union: result="Union"; break;
case ClassDef::Interface: result="Interface"; break;
case ClassDef::Protocol: result="Protocol"; break;
case ClassDef::Category: result="Category"; break;
case ClassDef::Exception: result="Exception"; break;
case ClassDef::Service: result="Service"; break;
case ClassDef::Singleton: result="Singleton"; break;
default: break;
}
return result;
}
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
switch (hl)
{
case FileMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="functies, variabelen, macros, enumeraties, en typedefs";
}
else
{
result+="bestand members";
}
break;
case FileMemberHighlight::Functions:
result+="functies";
break;
case FileMemberHighlight::Variables:
result+="variabelen";
break;
case FileMemberHighlight::Typedefs:
result+="typedefs";
break;
case FileMemberHighlight::Sequences:
result+="reeksen";
break;
case FileMemberHighlight::Dictionaries:
result+="vertalingslijsten";
break;
case FileMemberHighlight::Enums:
result+="enumeratie";
break;
case FileMemberHighlight::EnumValues:
result+="enumeratie waarden";
break;
case FileMemberHighlight::Defines:
result+="macros";
break;
case FileMemberHighlight::Total: // for completeness
break;
}
result+=" met links naar ";
if (extractAll) result+="de bestand's documentatie voor elke member:";
else result+="de bestanden waartoe ze behoren:";
return result;
}
//return trCompoundMembersDescription(Config_getBool(EXTRACT_ALL));
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Hieronder volgt de lijst met alle ";
if (!extractAll) result+="gedocumenteerde ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct en union velden";
}
else
{
result+="klasse members";
}
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct en union velden";
}
else
{
result+="klasse members";
}
break;
case ClassMemberHighlight::Functions:
result+="functies";
break;
case ClassMemberHighlight::Variables:
result+="variabelen";
break;
case ClassMemberHighlight::Typedefs:
result+="typedefs";
break;
case ClassMemberHighlight::Enums:
result+="enumeraties";
break;
case ClassMemberHighlight::EnumValues:
result+="enumeratie waarden";
break;
case ClassMemberHighlight::Properties:
result+="properties";
break;
case ClassMemberHighlight::Events:
result+="events";
break;
case ClassMemberHighlight::Related:
result+="gerelateerde symbolen";
break;
case ClassMemberHighlight::Total: // for completeness
break;
}
result+=" met links naar ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="de struct/union documentatie voor elke veld:";
}
else
{
result+="de klasse documentatie voor elke symbool:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="de structures/unions waartoe ze behoren:";
}
else
{
result+="de klassen waartoe ze behoren:";
}
}
return result;
}
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Hier is een lijst van alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="namespace ";
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case NamespaceMemberHighlight::All:
singularResult="symbool";
pluralResult="symbolen";
break;
case NamespaceMemberHighlight::Functions:
singularResult="e functie";
pluralResult="functies";
break;
case NamespaceMemberHighlight::Variables:
singularResult="e variabele";
pluralResult="variabelen";
break;
case NamespaceMemberHighlight::Typedefs:
singularResult="e typedef";
pluralResult="typedefs";
break;
case NamespaceMemberHighlight::Sequences:
singularResult="e reeks";
pluralResult="reeksen";
break;
case NamespaceMemberHighlight::Dictionaries:
singularResult="e vertalingslijst";
pluralResult="vertalingslijsten";
break;
case NamespaceMemberHighlight::Enums:
singularResult="e enumeratie";
pluralResult="enumeraties";
break;
case NamespaceMemberHighlight::EnumValues:
singularResult="e enumeratie waarde";
pluralResult="enumeratie waarden";
break;
case NamespaceMemberHighlight::Total: // for completeness
break;
}
result+=pluralResult;
result+=" met links naar ";
if (extractAll)
result+="de namespace documentatie voor ieder" + singularResult + ":";
else
result+="de namespaces waartoe ze behoren:";
return result;
}
QCString trDefinition() override { return "Definitie";}
QCString trDeclaration() override { return "Declaratie";}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.8
//////////////////////////////////////////////////////////////////////////
QCString trTopics() override
{ return "Onderwerpen"; }
QCString trTopicDocumentation() override
{ return "Documentatie voor dit onderwerp"; }
QCString trTopicIndex() override
{ return "Overwerpen"; }
QCString trTopicList() override
{ return "Lijst met onderwerpen"; }
QCString trTopicListDescription() override
{ return "Hieronder volgt de lijst met alle onderwerpen, elk met een korte beschrijving:"; }
QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Hier is een lijst van alle ";
if (!extractAll) result+="gedocumenteerde ";
result+="module ";
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case ModuleMemberHighlight::All:
singularResult="symbool";
pluralResult="symbolen";
break;
case ModuleMemberHighlight::Functions:
singularResult="e functie";
pluralResult="functies";
break;
case ModuleMemberHighlight::Variables:
singularResult="e variabele";
pluralResult="variabelen";
break;
case ModuleMemberHighlight::Typedefs:
singularResult="e typedef";
pluralResult="typedefs";
break;
case ModuleMemberHighlight::Enums:
singularResult="e enumeratie";
pluralResult="enumeraties";
break;
case ModuleMemberHighlight::EnumValues:
singularResult="e enumeratie waarde";
pluralResult="enumeratie waarden";
break;
case ModuleMemberHighlight::Total: // for completeness
break;
}
result+=pluralResult;
result+=" met links naar ";
if (extractAll)
result+="de module documentatie voor ieder" + singularResult + ":";
else
result+="de modules waartoe ze behoren:";
return result;
}
QCString trExportedModules() override
{
return "Geëxporteerde Modules";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.10.0
//////////////////////////////////////////////////////////////////////////
QCString trCopyToClipboard() override
{
return "Kopiëren naar het klembord";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.11.0
//////////////////////////////////////////////////////////////////////////
QCString trImportant() override
{
return "Belangrijk";
}
};
#endif
| 79,653
|
C++
|
.h
| 2,122
| 31.163054
| 169
| 0.587754
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,691
|
htmlattrib.h
|
doxygen_doxygen/src/htmlattrib.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef HTMLATTRIB_H
#define HTMLATTRIB_H
#include <vector>
#include "qcstring.h"
/*! \brief Class representing a HTML attribute. */
struct HtmlAttrib
{
QCString name;
QCString value;
};
/*! \brief Class representing a list of HTML attributes. */
class HtmlAttribList : public std::vector<HtmlAttrib>
{
};
#endif
| 838
|
C++
|
.h
| 28
| 28.107143
| 79
| 0.688667
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,692
|
translator_fr.h
|
doxygen_doxygen/src/translator_fr.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
* The translation into French was provided by
* Christophe Bordeux (bordeux@lig.di.epfl.ch)
* and after version 1.2.0 by Xavier Outhier (xouthier@yahoo.fr)
* member of the non for profit association D2SET (http://d2set.free.fr).
* Benoît BROSSE (Benoit dot BROSSE at ingenico dot com) was added
* after the 1.8.4 release.
*/
/******************************************************************************
* History of content
*
* Date | Description
* ============+=============================================================
* 2001-11-22 | Removed obsolet methods:
* | QCString latexBabelPackage()
* | QCString trAuthor()
* | QCString trAuthors()
* | QCString trFiles()
* | QCString trIncludeFile()
* | QCString trVerbatimText(const char *f)
* -------------+------------------------------------------------------------
* 2002-01-23 | Update for new since 1.2.13
* -------------+------------------------------------------------------------
* 2002-07-11 | Update for new since 1.2.16
* -------------+------------------------------------------------------------
* 2002-09-24 | Update for new since 1.2.17
* -------------+------------------------------------------------------------
* 2002-10-22 | Update for new since 1.2.18
* -------------+------------------------------------------------------------
* 2003-02-04 | Corrected typo. Thanks to Bertrand M. :)
* -------------+------------------------------------------------------------
* 2003-03-29 | Update for new since 1.3
* -------------+------------------------------------------------------------
* 2003-03-29 | Changed fonction into méthode.
* -------------+------------------------------------------------------------
* 2003-06-06 | Fixed code page problem appeared between 1.42 and 1.43 in CVS
* -------------+------------------------------------------------------------
* 2003-06-10 | Update for new since 1.3.1
* -------------+------------------------------------------------------------
* 2003-09-12 | Update for new since 1.3.3
* -------------+------------------------------------------------------------
* 2004-04-30 | Updates by Jacques Bouchard <jacques.bouchard@noos.fr>:
* | - spaces between ':' removed (should be added by the renderer)
* | - missing spaces added
* | - missing tests for OPTIMIZE_OUTPUT_FOR_C added
* | - translations corrected
* | - translator_fr.h now conforms exactly to translator_en.h
* | (try: gvim -d translator_en.h translator_fr.h)
* -------------+------------------------------------------------------------
* 2005-07-12 | Update for new since 1.4.1
* -------------+------------------------------------------------------------
* 2005-10-09 | Update for new since 1.4.6
* | Added QCString trCallerGraph() override
* | Removed QCString trHeaderFilesDescription() override
* | Removed QCString trField(bool first_capital, bool singular) override
* | Removed QCString trPackageDocumentation() override
* | Removed QCString trSources() override
* | Removed QCString trReimplementedForInternalReasons() override
* | Removed QCString trInterfaces() override
* | Removed QCString trHeaderFiles() override
* | Removed QCString trBugsAndLimitations() override
* | Removed QCString trNoDescriptionAvailable() override
* | Corrected some misspelling thanx to Christophe C.
* -------------+------------------------------------------------------------
*/
#ifndef TRANSLATOR_FR_H
#define TRANSLATOR_FR_H
// When defining a translator class for the new language, follow
// the description in the documentation. One of the steps says
// that you should copy the translator_en.h (this) file to your
// translator_xx.h new file. Your new language should use the
// Translator class as the base class. This means that you need to
// implement exactly the same (pure virtual) override methods as the
// TranslatorEnglish does. Because of this, it is a good idea to
// start with the copy of TranslatorEnglish and replace the strings
// one by one.
//
// It is not necessary to include "translator.h" or
// "translator_adapter.h" here. The files are included in the
// language.cpp correctly. Not including any of the mentioned
// files frees the maintainer from thinking about whether the
// first, the second, or both files should be included or not, and
// why. This holds namely for localized translators because their
// base class is changed occasionally to adapter classes when the
// Translator class changes the interface, or back to the
// Translator class (by the local maintainer) when the localized
// translator is made up-to-date again.
class TranslatorFrench : public TranslatorAdapter_1_9_5
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "french"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[french]{babel}\n"
"\\NoAutoSpaceBeforeFDP\n";
}
QCString trISOLang() override
{
return "fr";
}
QCString getLanguageString() override
{
return "0x40C French";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Fonctions associées"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Notez que ce ne sont pas des fonctions membres)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Description détaillée"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Détails"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Documentation des définitions de type membres"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Documentation des énumérations membres"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Documentation des fonctions membres"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentation des champs";
}
else
{
return "Documentation des données membres";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Plus de détails..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Liste de tous les membres"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Liste des membres"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Liste complète des membres de"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", y compris les membres hérités :"; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Généré automatiquement par Doxygen";
if (!s.isEmpty()) result+=" pour "+s;
result+=" à partir du code source.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "énumération"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "valeur énumérée"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "défini dans"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Modules"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Hiérarchie des classes"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Structures de données";
}
else
{
return "Liste des classes";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Liste des fichiers"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Champs de donnée";
}
else
{
return "Membres de classe";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Variables globale";
}
else
{
return "Membres de fichier";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Pages associées"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Exemples"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Recherche"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Liste hiérarchique de toutes les entités :";
}
else
{
return "Cette liste d'héritage est classée "
"approximativement par ordre alphabétique :";
}
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Liste de tous les fichiers ";
if (!extractAll) result+="documentés ";
result+="avec une brève description :";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Liste des structures de données avec une brève description :";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Liste des classes avec une brève description :";
}
else
{
return "Liste des classes, structures, "
"unions et interfaces avec une brève description :";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Liste de tous les ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="champs de structure et d'union ";
}
else
{
result+="membres de classe ";
}
if (!extractAll)
{
result+="documentés ";
}
result+="avec des liens vers ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="la documentation de structure/union de chaque champ :";
}
else
{
result+="la documentation de classe de chaque membre :";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="les structures/unions auxquelles ils appartiennent :";
}
else
{
result+="les classes auxquelles ils appartiennent :";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Liste ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="de toutes les fonctions, variables, macros, enumérations, et définitions de type ";
}
else
{
result+="de tous les membres de fichier ";
}
if (!extractAll) result+="documentés ";
result+="avec des liens vers ";
if (extractAll)
result+="les fichiers auxquels ils appartiennent :";
else
result+="la documentation :";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Liste de tous les exemples :"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Liste de toutes les pages de documentation associées :"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Liste de tous les modules :"; }
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentation"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Index des modules"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Index hiérarchique"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Index des structures de données";
}
else
{
return "Index des classes";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Index des fichiers"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Documentation des modules"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentation des structures de données";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Documentation des classes";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Documentation des fichiers"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Manuel de référence"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Macros"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Définitions de type"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Énumérations"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Fonctions"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variables"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Valeurs énumérées"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Documentation des macros"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Documentation des définitions de type"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Documentation du type de l'énumération"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Documentation des fonctions"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Documentation des variables"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Structures de données";
}
else
{
return "Classes";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Généré le "+date;
if (!projName.isEmpty()) result+=" pour "+projName;
result+=" par";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Graphe d'héritage de "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Avertissement"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Version"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Date"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Renvoie"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Voir également"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Paramètres"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Exceptions"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Généré par"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Liste des espaces de nommage"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Liste de tous les espaces de nommage ";
if (!extractAll) result+="documentés ";
result+="avec une brève description:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Amis"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Documentation des fonctions amies et associées"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Référence ";
if (isTemplate) result+="du modèle ";
result+="de ";
switch(compType)
{
case ClassDef::Class: result+="la classe "; break;
case ClassDef::Struct: result+="la structure "; break;
case ClassDef::Union: result+="l'union "; break;
case ClassDef::Interface: result+="l'interface "; break;
case ClassDef::Protocol: result+="le protocol "; break;
case ClassDef::Category: result+="la catégorie "; break;
case ClassDef::Exception: result+="l'exception "; break;
default: break;
}
result+=clName;
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result= "Référence du fichier ";
result+=fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result= "Référence de l'espace de nommage ";
result+=namespaceName;
return result;
}
QCString trPublicMembers() override
{ return "Fonctions membres publiques"; }
QCString trPublicSlots() override
{ return "Connecteurs publics"; }
QCString trSignals() override
{ return "Signaux"; }
QCString trStaticPublicMembers() override
{ return "Fonctions membres publiques statiques"; }
QCString trProtectedMembers() override
{ return "Fonctions membres protégées"; }
QCString trProtectedSlots() override
{ return "Connecteurs protégés"; }
QCString trStaticProtectedMembers() override
{ return "Fonctions membres protégées statiques"; }
QCString trPrivateMembers() override
{ return "Fonctions membres privées"; }
QCString trPrivateSlots() override
{ return "Connecteurs privés"; }
QCString trStaticPrivateMembers() override
{ return "Fonctions membres privées statiques"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=", et ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Est dérivée de "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Dérivée par "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Réimplémentée à partir de "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Réimplémentée dans "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Membres de l'espace de nommage"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Liste de tous les membres des espaces de nommage ";
if (!extractAll) result+="documentés ";
result+="avec des liens vers ";
if (extractAll)
result+="la documentation de namespace de chaque membre :";
else
result+="les espaces de nommage auxquels ils appartiennent :";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Index des espaces de nommage"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Documentation des espaces de nommage"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Espaces de nommage"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
bool feminine = true;
QCString result="La documentation de ";
switch(compType)
{
case ClassDef::Class: result+=vhdlOpt? "cette unités de conception":"cette classe"; break;
case ClassDef::Struct: result+="cette structure"; break;
case ClassDef::Union: result+="cette union"; break;
case ClassDef::Interface: result+="cette interface"; break;
case ClassDef::Protocol: result+="ce protocol"; feminine = false; break;
case ClassDef::Category: result+="cette catégorie"; break;
case ClassDef::Exception: result+="cette exception"; break;
default: break;
}
if (feminine) result+= " a été générée à partir ";
else result+=" a été généré à partir ";
if (single) result+="du fichier suivant :";
else result+="des fichiers suivants :";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Valeurs retournées"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Page principale"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "p."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Définition à la ligne @0 du fichier @1.";
}
QCString trDefinedInSourceFile() override
{
return "Définition dans le fichier @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Obsolète";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Graphe de collaboration de "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Graphe des dépendances par inclusion de "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Documentation des constructeurs et destructeur";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Aller au code source de ce fichier.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Aller à la documentation de ce fichier.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Précondition";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Postcondition";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Valeur initiale :";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "code";
}
QCString trGraphicalHierarchy() override
{
return "Graphe hiérarchique des classes";
}
QCString trGotoGraphicalHierarchy() override
{
return "Aller au graphe hiérarchique des classes";
}
QCString trGotoTextualHierarchy() override
{
return "Aller à la hiérarchie des classes en mode texte";
}
QCString trPageIndex() override
{
return "Index des pages";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Note";
}
QCString trPublicTypes() override
{
return "Types publics";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Champs de données";
}
else
{
return "Attributs publics";
}
}
QCString trStaticPublicAttribs() override
{
return "Attributs publics statiques";
}
QCString trProtectedTypes() override
{
return "Types protégés";
}
QCString trProtectedAttribs() override
{
return "Attributs protégés";
}
QCString trStaticProtectedAttribs() override
{
return "Attributs protégés statiques";
}
QCString trPrivateTypes() override
{
return "Types privés";
}
QCString trPrivateAttribs() override
{
return "Attributs privés";
}
QCString trStaticPrivateAttribs() override
{
return "Attributs privés statiques";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "A faire";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Liste des choses à faire";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Référencé par";
}
QCString trRemarks() override
{
return "Remarques";
}
QCString trAttention() override
{
return "Attention";
}
QCString trInclByDepGraph() override
{
return "Ce graphe montre quels fichiers incluent directement "
"ou indirectement ce fichier :";
}
QCString trSince() override
{
return "Depuis";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Légende du graphe";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Cette page explique comment interpréter les graphes générés "
"par doxygen.<p>\n"
"Considérez l'exemple suivant :\n"
"\\code\n"
"/*! Classe invisible à cause d'une troncature */\n"
"class Invisible { };\n\n"
"/*! Classe tronquée, la relation d'héritage est masquée */\n"
"class Truncated : public Invisible { };\n\n"
"/*! Classe non documentée avec des commentaires Doxygen */\n"
"class Undocumented { };\n\n"
"/*! Classe dérivée par héritage public */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! Un modèle de classe */\n"
"template<class T> class Templ { };\n\n"
"/*! Classe dérivée par héritage protégé */\n"
"class ProtectedBase { };\n\n"
"/*! Classe dérivée par héritage privé */\n"
"class PrivateBase { };\n\n"
"/*! Classe utilisée par la classe dérivée */\n"
"class Used { };\n\n"
"/*! Super-classe qui hérite de plusieurs autres classes */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Cela aboutira au graphe suivant :"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
"<p>\n"
"Les rectangles du graphe ci-dessus ont la signification suivante :\n"
"</p>\n"
"<ul>\n"
"<li>Un rectangle plein noir représente la structure ou la classe pour laquelle "
"le graphe est généré.\n"
"<li>Un rectangle avec un bord noir indique une classe ou une structure documentée.\n"
"<li>Un rectangle avec un bord gris indique une classe ou une structure non documentée.\n"
"<li>Un rectangle avec un bord rouge indique une structure ou une classe documentée\n"
"pour laquelle des relations d'héritage ou de collaboration manquent. Un graphe est "
"tronqué s'il n'entre pas dans les limites spécifiées."
"</ul>\n"
"<p>\n"
"Les flèches ont la signification suivante :\n"
"</p>\n"
"<ul>\n"
"<li>Une bleu foncé est utilisée pour visualiser une relation d'héritage publique "
"entre deux classes.\n"
"<li>Une flèche vert foncé est utilisée pour une relation d'héritage protégée.\n"
"<li>Une flèche rouge foncé est utilisée pour une relation d'héritage privée.\n"
"<li>Une flèche violette en pointillés est utilisée si une classe est contenue ou "
"utilisée par une autre classe. La flèche est étiquetée avec la ou les variable(s) "
"qui permettent d'accéder à la classe ou structure pointée. \n"
"<li>Une flèche jaune en pointillés indique une relation entre un modèle d'instance et "
"le modèle de classe duquel il est instancié. La flèche est étiquetée avec "
"les paramètres de modèle de l'instance.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "légende";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Test";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Liste des tests";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Propriétés";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Documentation des propriétés";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Structures de données";
}
else
{
return "Classes";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Paquetage "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Liste des paquetages avec une brève description (si disponible) :";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Paquetages";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Valeur :";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bogue";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Liste des bogues";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Index";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "classe", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "fichier", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
QCString result = createNoun(first_capital, singular, "espace", "s");
result+=" de nommage";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "groupe", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "page", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "membre", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "globa", "ux(ales)", "l(e)");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "auteur", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Références";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implémente "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Implémenté dans "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Table des matières";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Liste des éléments obsolètes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Événements";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Documentation des événements";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Types de paquetage";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Fonctions de paquetage";
}
QCString trPackageMembers() override
{
return "Membres de paquetage";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Fonctions statiques de paquetage";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Attributs de paquetage";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Attributs statiques de paquetage";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Tout";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Voici le graphe d'appel pour cette fonction :";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Résultats de la recherche";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Désolé, aucun document ne correspond à votre requête.";
}
else if (numDocuments==1)
{
return "Trouvé <b>1</b> document correspondant à votre requête.";
}
else
{
return "Trouvé <b>$num</b> documents correspondant à votre requête. "
"Classé par ordre de pertinence décroissant.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Correspondances :";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return " Fichier source de " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Hiérarchie de répertoires"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Documentation des répertoires"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Répertoires"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result="Répertoire de référence de "; result+=dirName; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in singular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "répertoire", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Ceci est une fonction membre surchargée, "
"proposée par commodité. Elle diffère de la fonction "
"ci-dessus uniquement par le(s) argument(s) qu'elle accepte.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Voici le graphe des appelants de cette fonction :";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Documentation des énumérations"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Documentation des fonctions/subroutines membres"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Liste des types de données"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Champs de données"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Liste des types de données avec une brève description :"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Liste de tous les membres de types de données ";
if (!extractAll)
{
result+="documentés ";
}
result+="avec des liens vers ";
if (!extractAll)
{
result+="la documentation de la structure des données de chaque membre :";
}
else
{
result+="les types des données auxquels ils appartiennent :";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Index du type de données"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Documentation du type de données"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Fonctions/Subroutines"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Documentation de la fonction/subroutine"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Les types de données"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Liste des modules"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Liste de tous les modules ";
if (!extractAll) result+="documentés ";
result+="avec une brève description :";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Réference ";
if (isTemplate) result+="du modèle ";
switch(compType)
{
case ClassDef::Class: result+="du module "; break;
case ClassDef::Struct: result+="du type "; break;
case ClassDef::Union: result+="de l'union "; break;
case ClassDef::Interface: result+="de l'interface "; break;
case ClassDef::Protocol: result+="du protocole "; break;
case ClassDef::Category: result+="de la catégorie "; break;
case ClassDef::Exception: result+="de l'exception "; break;
default: break;
}
result+=clName;
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result="Référence du module ";
result+= namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Membres du module"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Liste de tous les membres ";
if (!extractAll) result+="documentés ";
result+="du module avec des liens vers ";
if (extractAll)
{
result+="la documentation du module de chaque membre :";
}
else
{
result+="les modules auxquels ils appartiennent :";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Index des modules"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "module", "s");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
QCString result="La documentation de ";
switch(compType)
{
case ClassDef::Class: result+="ce module"; break;
case ClassDef::Struct: result+="ce type"; break;
case ClassDef::Union: result+="cette union"; break;
case ClassDef::Interface: result+="cette interface"; break;
case ClassDef::Protocol: result+="ce protocole"; break;
case ClassDef::Category: result+="cette catégorie"; break;
case ClassDef::Exception: result+="cette exception"; break;
default: break;
}
result+=" a été générée à partir ";
if (single) result+="du fichier suivant :"; else result+="des fichiers suivants :";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "type", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "sous-programme", "s");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Contraintes de type";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return "Relation " + QCString(name);
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Chargement...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Espace de nommage global";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Recherche...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Aucune correspondance";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "Fichier dans "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Inclut le fichier dans "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche" };
static const char *months[] = { "Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "lun.", "mar.", "mer.", "jeu.", "ven.", "sam.", "dim." };
static const char *days_full[] = { "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi", "dimanche" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc." };
static const char *months_full[] = { "janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "AM", "PM" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Références bibliographiques"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Copyright"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return QCString("Graphe des dépendances de répertoires pour ")+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "Niveau de détails"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "Paramètres du template"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "et "+number+" de plus..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{ QCString result = "La documentation pour cette énumération a été générée à partir ";
if (!single) result += "du fichier suivant"; else result += "des fichiers suivants";
result+=" :";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{ return QCString(name)+" Référence de l'énumération"; }
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return QCString(members)+" hérités de "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "Membres hérités additionnels"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "activer" : "désactiver";
return "cliquez pour "+opt+" la synchronisation du panel";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "Déclarée dans la catégorie @0.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "Dérive la classe @0.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "Méthodes de classe";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "Méthodes d'instance";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "Documentation des méthodes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "Interfaces exportées"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "Services inclus"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "Groupes constants"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result="Référence du groupe constant ";
result+=namespaceName;
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result="Référence du service ";
result+=sName;
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result="Référence du singleton ";
result+=sName;
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="La documentation pour ce service "
"a été générée par ";
if (single) result+="le fichier suivant :"; else result+="les fichiers suivants :";
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="La documentation pour ce singleton "
"a été générée par ";
if (single) result+="le fichier suivant :"; else result+="les fichiers suivants :";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "Hiérarchie des unités de conception"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "Liste des unités de conception"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "Membres des unités de conception"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{
return "Liste de tous les membres des unités de conception avec liens vers "
"les entités auxquelles ils appartiennent :";
}
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "Index des unités de conception"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "Unités de conception"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "Fonctions/Procédures/Processes"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch(type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "Librairie";
else return "Librairies";
case VhdlSpecifier::PACKAGE:
if (single) return "Paquetage";
else return "Paquetages";
case VhdlSpecifier::SIGNAL:
if (single) return "Signal";
else return "Signaux";
case VhdlSpecifier::COMPONENT:
if (single) return "Composant";
else return "Composants";
case VhdlSpecifier::CONSTANT:
if (single) return "Constante";
else return "Constantes";
case VhdlSpecifier::ENTITY:
if (single) return "Entité";
else return "Entités";
case VhdlSpecifier::TYPE:
if (single) return "Type";
else return "Types";
case VhdlSpecifier::SUBTYPE:
if (single) return "Sous-type";
else return "Sous-types";
case VhdlSpecifier::FUNCTION:
if (single) return "Fonction";
else return "Fonctions";
case VhdlSpecifier::RECORD:
if (single) return "Enregistrement";
else return "Enregistrements";
case VhdlSpecifier::PROCEDURE:
if (single) return "Procédure";
else return "Procédures";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "Architecture";
else return "Architectures";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "Attribut";
else return "Attributs";
case VhdlSpecifier::PROCESS:
if (single) return "Process";
else return "Processes";
case VhdlSpecifier::PORT:
if (single) return "Port";
else return "Ports";
case VhdlSpecifier::USE:
if (single) return "Clause d'utilisation";
else return "Clauses d'utilisation";
case VhdlSpecifier::GENERIC:
if (single) return "Generique";
else return "Generiques";
case VhdlSpecifier::PACKAGE_BODY:
return "Corps du paquetage";
case VhdlSpecifier::UNITS:
return "Unités";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "Variable partagée";
else return "Variables partagées";
case VhdlSpecifier::VFILE:
if (single) return "Fichier";
else return "Fichiers";
case VhdlSpecifier::GROUP:
if (single) return "Groupe";
else return "Groupes";
case VhdlSpecifier::INSTANTIATION:
if (single) return "Instanciation";
else return "Instanciations";
case VhdlSpecifier::ALIAS:
if (single) return "Alias";
else return "Alias";
case VhdlSpecifier::CONFIG:
if (single) return "Configuration";
else return "Configurations";
case VhdlSpecifier::MISCELLANEOUS:
return "Divers";
case VhdlSpecifier::UCF_CONST:
return "Contraintes";
default:
return "Classe";
}
}
QCString trCustomReference(const QCString &name) override
{ return QCString("Référence ") + QCString(name); }
QCString trConstants() override
{
return "Constantes";
}
QCString trConstantDocumentation() override
{
return "Documentation des constantes";
}
QCString trSequences() override
{
return "Séquences";
}
QCString trSequenceDocumentation() override
{
return "Documentation des séquences";
}
QCString trDictionaries() override
{
return "Dictionnaires";
}
QCString trDictionaryDocumentation() override
{
return "Documentation des dictionnaires";
}
QCString trSliceInterfaces() override
{
return "Interfaces";
}
QCString trInterfaceIndex() override
{
return "Index des interfaces";
}
QCString trInterfaceList() override
{
return "Liste des interfaces";
}
QCString trInterfaceListDescription() override
{
return "Liste des interfaces avec une brève description :";
}
QCString trInterfaceHierarchy() override
{
return "Hiérarchies des interfaces";
}
QCString trInterfaceHierarchyDescription() override
{
return "Cette liste d'héritage est classée approximativement par ordre alphabétique :";
}
QCString trInterfaceDocumentation() override
{
return "Documentation des interfaces";
}
QCString trStructs() override
{
return "Structures";
}
QCString trStructIndex() override
{
return "Index des structures";
}
QCString trStructList() override
{
return "Liste des structures";
}
QCString trStructListDescription() override
{
return "Liste des structures avec une brève description :";
}
QCString trStructDocumentation() override
{
return "Documentation des structures";
}
QCString trExceptionIndex() override
{
return "Index des exceptions";
}
QCString trExceptionList() override
{
return "Liste des exceptions";
}
QCString trExceptionListDescription() override
{
return "Liste des exceptions avec une brève description :";
}
QCString trExceptionHierarchy() override
{
return "Hiérarchies des exceptions";
}
QCString trExceptionHierarchyDescription() override
{
return "Cette liste d'héritage est classée approximativement par ordre alphabétique :";
}
QCString trExceptionDocumentation() override
{
return "Documentation des exceptions";
}
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result = "Référence ";
bool feminine = true;
switch(compType)
{
case ClassDef::Class: result+="de la classe "; break;
case ClassDef::Struct: result+="de la structure "; break;
case ClassDef::Union: result+="de l'union "; break;
case ClassDef::Interface: result+="de l'interface "; break;
case ClassDef::Protocol: result+="du protocole "; feminine=false; break;
case ClassDef::Category: result+="de la catégorie "; break;
case ClassDef::Exception: result+="de l'exception "; break;
default: break;
}
if(isLocal)
{
result += (feminine) ? "locale " : "local ";
}
result += clName;
return result;
}
QCString trOperations() override
{
return "Opérations";
}
QCString trOperationDocumentation() override
{
return "Documentation des opérations";
}
QCString trDataMembers() override
{
return "Champs de données";
}
QCString trDataMemberDocumentation() override
{
return "Documentation des champs de données";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit documentation */
QCString trDesignUnitDocumentation() override
{ return "Documentation de l'unité de conception"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
/** C++20 concept */
QCString trConcept(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "concept", "s");
}
/*! used as the title of the HTML page of a C++20 concept page */
QCString trConceptReference(const QCString &conceptName) override
{
QCString result="Reference du concept ";
result+=conceptName;
return result;
}
/*! used as the title of page containing all the index of all concepts. */
QCString trConceptList() override
{ return "Liste des concepts"; }
/*! used as the title of chapter containing the index listing all concepts. */
QCString trConceptIndex() override
{ return "Index des concepts"; }
/*! used as the title of chapter containing all information about concepts. */
QCString trConceptDocumentation() override
{ return "Documentation des concepts"; }
/*! used as an introduction to the concept list */
QCString trConceptListDescription(bool extractAll) override
{
QCString result="Liste de tous les concepts ";
if (!extractAll) result+="documentés ";
result+="avec une brève description :";
return result;
}
/*! used to introduce the definition of the C++20 concept */
QCString trConceptDefinition() override
{
return "Définition du concept";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
QCString trPackageList() override
{ return "Liste des paquetages"; }
};
#endif
| 83,216
|
C++
|
.h
| 2,126
| 33.023518
| 166
| 0.587715
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,693
|
fortranscanner.h
|
doxygen_doxygen/src/fortranscanner.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef SCANNER_FORTRAN_H
#define SCANNER_FORTRAN_H
#include "parserintf.h"
/** \brief Fortran language parser using state-based lexical scanning.
*
* This is the Fortran language parser for doxygen.
*/
class FortranOutlineParser : public OutlineParserInterface
{
public:
FortranOutlineParser(FortranFormat format=FortranFormat::Unknown);
~FortranOutlineParser() override;
NON_COPYABLE(FortranOutlineParser)
void parseInput(const QCString &fileName,
const char *fileBuf,
const std::shared_ptr<Entry> &root,
ClangTUParser *clangParser) override;
bool needsPreprocessing(const QCString &extension) const override;
void parsePrototype(const QCString &text) override;
private:
struct Private;
std::unique_ptr<Private> p;
};
class FortranOutlineParserFree : public FortranOutlineParser
{
public:
FortranOutlineParserFree() : FortranOutlineParser(FortranFormat::Free) { }
};
class FortranOutlineParserFixed : public FortranOutlineParser
{
public:
FortranOutlineParserFixed() : FortranOutlineParser(FortranFormat::Fixed) { }
};
const char* prepassFixedForm(const char* contents, int *hasContLine, int fixedCommentAfter);
#endif
| 1,902
|
C++
|
.h
| 51
| 33.686275
| 92
| 0.730331
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,694
|
dotincldepgraph.h
|
doxygen_doxygen/src/dotincldepgraph.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOTINCLDEPGRAPH_H
#define DOTINCLDEPGRAPH_H
#include <memory>
#include "qcstring.h"
#include "filedef.h"
#include "dotnode.h"
#include "dotgraph.h"
class TextStream;
/** Representation of an include dependency graph */
class DotInclDepGraph : public DotGraph
{
public:
DotInclDepGraph(const FileDef *fd,bool inverse);
~DotInclDepGraph() override;
NON_COPYABLE(DotInclDepGraph)
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef,
const QCString &path,const QCString &fileName,const QCString &relPath,
bool writeImageMap=TRUE,int graphId=-1);
bool isTrivial() const;
bool isTooBig() const;
int numNodes() const;
void writeXML(TextStream &t);
void writeDocbook(TextStream &t);
protected:
QCString getBaseName() const override;
QCString getMapLabel() const override;
void computeTheGraph() override;
private:
QCString diskName() const;
void buildGraph(DotNode *n,const FileDef *fd,int distance);
void determineVisibleNodes(DotNodeDeque &queue,int &maxNodes);
void determineTruncatedNodes(DotNodeDeque &queue);
DotNode *m_startNode;
DotNodeMap m_usedNodes;
QCString m_inclDepFileName;
QCString m_inclByDepFileName;
bool m_inverse;
};
using DotInclDepGraphPtr = std::shared_ptr<DotInclDepGraph>;
#endif
| 2,065
|
C++
|
.h
| 54
| 34.462963
| 94
| 0.713357
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,695
|
translator_br.h
|
doxygen_doxygen/src/translator_br.h
|
/******************************************************************************
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative workns derived from the
* input used in their production; they are not affected by this license.
*
* Brazilian Portuguese translation
* Maintainer:
* Fabio "FJTC" Jun Takada Chino <fjtc at brokenbits dot com dot br>
* Collaborators:
* Emerson Ferreira <nuskorpios at gmail dot com>
* Ulisses Guedes <uli1958 at hotmail dot com>
* Thanks to Jorge Ramos, Fernando Carijo and others for their contributions.
*
* History:
* 20240204:
* - Updated to 1.11.0:
* 20231107:
* - Updated to 1.10.0:
* 20230817:
* - Updated to 1.9.8;
* - Small fixes to the method TranslatorBrazilian::trNamespaceMembersDescriptionTotal().
* 20230430:
* - Updated to 1.9.7;
* - Adding the namespace PortugueseTranslatorUtils to hold common
* functions shared by both Portuguese translators;
* - Some translations used by TranslatorPortuguese have been merged
* into this translator to make both classes more similar.
* 20220911:
* - Updated to 1.9.6;
* 20220525:
* - Updated to 1.9.4;
* 20211003:
* - Updated to 1.9.3;
* 20200112:
* - Updated to 1.9.1;
* 20190203:
* - Slice methods added;
* 20180612:
* - Updated to 1.8.15;
* 20170123:
* - Full translation revision;
* - trLegendDocs() is now synchronized with the English version;
* - Merging most of the suggestions sent by Emerson Ferreira;
* 20131129:
* - Updated to 1.8.5;
* - Translation in the method trFileMembers() fixed;
* - Translation in the method trEnumerationValues() fixed;
* 20110628:
* - Updated to 1.7.5;
* 20100531:
* - Updated to 1.6.3;
* 20091218:
* - Updated to 1.6.1;
* - Copyright year updated;
* - Translation updates suggested by Fernando Carijó added;
* 20080709:
* - References to MAX_DOT_GRAPH_HEIGHT removed from trLegendDocs().
* 20080206:
* - Method trTypeContraints() renamed to trTypeConstraints().
* 20071216:
* - New methods since 1.5.4 updated.
* Previous history removed from this version.
*/
#ifndef TRANSLATOR_BR_H
#define TRANSLATOR_BR_H
namespace PortugueseTranslatorUtils
{
/*! Returns true if the gender of the given component is masculine in
Portuguese. */
inline bool isClassMemberHighlightMasculine(ClassMemberHighlight::Enum hl)
{
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
// as estruturas e uniões
return false;
}
else
{
// os membros da classe
return true;
}
break;
case ClassMemberHighlight::Functions:
case ClassMemberHighlight::Variables:
case ClassMemberHighlight::Enums:
case ClassMemberHighlight::Properties:
case ClassMemberHighlight::Typedefs:
return false;
case ClassMemberHighlight::EnumValues:
case ClassMemberHighlight::Events:
case ClassMemberHighlight::Related:
default:
return true;
}
}
/*! Returns true if the gender of the given component is masculine in
Portuguese. */
inline bool isFileMemberHighlightMasculine(FileMemberHighlight::Enum hl)
{
switch (hl)
{
case FileMemberHighlight::All:
case FileMemberHighlight::Dictionaries:
case FileMemberHighlight::EnumValues:
return true;
case FileMemberHighlight::Functions:
case FileMemberHighlight::Variables:
case FileMemberHighlight::Typedefs:
case FileMemberHighlight::Sequences:
case FileMemberHighlight::Enums:
case FileMemberHighlight::Defines:
return false;
default:
return true;
}
}
/*! Returns true if the gender of the given component is masculine in
Brazilian Portuguese and European Portuguese. */
inline bool isNamespaceMemberHighlightMasculine(NamespaceMemberHighlight::Enum hl)
{
switch (hl)
{
case NamespaceMemberHighlight::All:
case NamespaceMemberHighlight::Dictionaries:
case NamespaceMemberHighlight::EnumValues:
return true;
case NamespaceMemberHighlight::Functions:
case NamespaceMemberHighlight::Variables:
case NamespaceMemberHighlight::Typedefs:
case NamespaceMemberHighlight::Sequences:
case NamespaceMemberHighlight::Enums:
return false;
default:
return true;
}
}
/*! Returns true if the gender of the given component is masculine in
Brazilian Portuguese and European Portuguese. */
inline bool isModuleMemberHighlightMasculine(ModuleMemberHighlight::Enum hl)
{
switch (hl)
{
case ModuleMemberHighlight::All:
case ModuleMemberHighlight::EnumValues:
return true;
case ModuleMemberHighlight::Functions:
case ModuleMemberHighlight::Variables:
case ModuleMemberHighlight::Typedefs:
case ModuleMemberHighlight::Enums:
return false;
default:
return true;
}
}
}
class TranslatorBrazilian : public Translator
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{
return "brazilian";
}
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[brazil]{babel}";
}
QCString trISOLang() override
{
return "pt-BR";
}
QCString getLanguageString() override
{
return "0x416 Portuguese(Brazil)";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Funções relacionadas"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Note que estas não são funções membros.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Descrição detalhada"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Detalhes"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Documentação das definições de tipos"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Documentação das enumerações"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Documentação das funções, procedimentos e processos";
}
else
{
return "Documentação das funções";
}
}
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos";
}
else
{
return "Atributos";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Mais..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Lista de todos os Membros"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Lista dos Membros"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Esta é a lista de todos os membros de"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", incluindo os membros herdados."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Gerado automaticamente por Doxygen";
if (!s.isEmpty()) result+=" para "+s;
result+=" a partir do código fonte.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "Enumeração"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "Valor enumerado"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "definido(a) em"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Módulos"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Hierarquia de Classes"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas de Dados";
}
else
{
return "Lista de Classes";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Lista de Arquivos"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos de Dados";
}
else
{
return "Membros de classe";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globais";
}
else
{
return "Membros dos Arquivos";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Páginas relacionadas"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Exemplos"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Busca"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Esta lista de hierarquias está parcialmente ordenada (ordem alfabética):"; }
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os arquivos ";
if (!extractAll) result+="documentados ";
result+="e suas respectivas descrições:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Aqui estão as estruturas de dados, uniões e suas respectivas descrições:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Aqui estão as classes e suas respectivas descrições:";
}
else
{
return "Aqui estão as classes, estruturas, uniões e interfaces e suas respectivas descrições:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Esta é a lista de ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="todas as estruturas e campos de uniões ";
if (!extractAll)
{
result+="documentados";
}
}
else
{
result+="todos os membros de classes ";
if (!extractAll)
{
result+="documentados";
}
}
result+=" com referências para ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a documentação da estrutura/união de cada campo:";
}
else
{
result+="a documentação da classe de cada membro:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a estrutura/união a que pertencem:";
}
else
{
result+="a classe a que pertencem:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Esta é a lista de ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="todas as funções, variáveis, definições, enumerações e definições de tipos ";
if (!extractAll) result+="documentadas ";
}
else
{
result+="todos os membros dos arquivos ";
if (!extractAll) result+="documentados ";
}
result+="com referências para ";
if (extractAll)
result+="seus respectivos arquivos:";
else
result+="suas respectivas documentações:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Lista de todos os exemplos:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Lista de toda a documentação relacionadas:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Lista de todos os módulos:"; }
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return "Documentação" + (!projName.isEmpty()? " de " + projName : ""); }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Índice dos módulos"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Índice Hierárquico"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Índice das Estruturas de Dados";
}
else
{
return "Índice dos Componentes";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Índice dos Arquivos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Módulos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Classes";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Arquivos"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Guia de Referência"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Definições e Macros"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Definições de Tipos"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerações"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Funções"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variáveis"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Enumeradores"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Definições e macros"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Definições dos tipos"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Enumerações"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Funções"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Variáveis"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas de Dados";
}
else
{
return "Componentes";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Gerado em "+date;
if (!projName.isEmpty()) result+=" para "+projName;
result+=" por";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Diagrama de hierarquia da classe "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Aviso"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Versão"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Data"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Retorna"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Veja também"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parâmetros"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Exceções"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Gerado por"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Lista de Namespaces"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os Namespaces ";
if (!extractAll) result+="documentados ";
result+="com suas respectivas descrições:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Amigos"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Amigos e Funções Relacionadas"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Referência";
if (isTemplate) result+=" do Template";
if (compType == ClassDef::Protocol)
{
result+=" do ";
}
else
{
result+=" da ";
}
switch(compType)
{
case ClassDef::Class: result+="Classe "; break;
case ClassDef::Struct: result+="Estrutura "; break;
case ClassDef::Union: result+="União "; break;
case ClassDef::Interface: result+="Interface "; break;
case ClassDef::Protocol: result+="Protocolo "; break;
case ClassDef::Category: result+="Categoria "; break;
case ClassDef::Exception: result+="Exceção "; break;
default: break;
}
result+=clName;
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result = "Referência do Arquivo ";
result += fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result ="Refência do Namespace ";
result += namespaceName;
return result;
}
QCString trPublicMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_JAVA))
{
return "Métodos Públicos";
}
else
{
return "Membros Públicos";
}
}
QCString trPublicSlots() override
{ return "Slots Públicos"; }
QCString trSignals() override
{ return "Sinais"; }
QCString trStaticPublicMembers() override
{ return "Membros públicos estáticos"; }
QCString trProtectedMembers() override
{ return "Membros protegidos"; }
QCString trProtectedSlots() override
{ return "Slots protegidos"; }
QCString trStaticProtectedMembers() override
{ return "Membros protegidos estáticos"; }
QCString trPrivateMembers() override
{ return "Membros privados"; }
QCString trPrivateSlots() override
{ return "Slots privados"; }
QCString trStaticPrivateMembers() override
{ return "Membros privados estáticos"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" e ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Subclasse de " + trWriteList(numEntries) + ".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Superclasse de "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Reimplementa "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Reimplementado por "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Membros do namespace"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Essa é a lista com todos os membros ";
if (!extractAll) result+="documentados ";
result+="do Namespace com referências para ";
if (extractAll)
result+="a documentação do Namespace para cada membro:";
else
result+="os seus respectivos Namespaces:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Namespaces"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Namespace"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
QCString result="A documentação para ";
if (compType == ClassDef::Protocol)
{
result+= "esse ";
}
else
{
result+= "essa ";
}
switch(compType)
{
case ClassDef::Class: result+=vhdlOpt?"Unidade de Design ":"classe "; break;
case ClassDef::Struct: result+="estrutura "; break;
case ClassDef::Union: result+="união "; break;
case ClassDef::Interface: result+="interface "; break;
case ClassDef::Protocol: result+="protocolo "; break;
case ClassDef::Category: result+="categoria "; break;
case ClassDef::Exception: result+="exceção "; break;
default: break;
}
result+=" foi gerada a partir ";
if (single) result+="do seguinte arquivo:"; else result+="dos seguintes arquivos:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Valores Retornados"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Página Principal"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{
// Decidi mudar de página para "p." para ficar mais compacto.
return "p.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Definição na linha @0 do arquivo @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definição no arquivo @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Obsoleto(a)";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Diagrama de colaboração para "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Gráfico de dependência de inclusões para "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Construtores e Destrutores";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Ir para o código-fonte desse arquivo.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Ir para a documentação desse arquivo.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Pré-condição";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Pós-condição";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariante";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Valor inicial:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "código";
}
QCString trGraphicalHierarchy() override
{
return "Gráfico de Hierarquia de Classes";
}
QCString trGotoGraphicalHierarchy() override
{
return "Ir para o gráfico de hierarquia de classes";
}
QCString trGotoTextualHierarchy() override
{
return "Ir para a hierarquia de classes (texto)";
}
QCString trPageIndex() override
{
return "Índice da Página";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Observação";
}
QCString trPublicTypes() override
{
return "Tipos Públicos";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos de Dados";
}
else
{
return "Atributos Públicos";
}
}
QCString trStaticPublicAttribs() override
{
return "Atributos Públicos Estáticos";
}
QCString trProtectedTypes() override
{
return "Tipos Protegidos";
}
QCString trProtectedAttribs() override
{
return "Atributos Protegidos";
}
QCString trStaticProtectedAttribs() override
{
return "Atributos Protegidos Estáticos";
}
QCString trPrivateTypes() override
{
return "Tipos Privados";
}
QCString trPrivateAttribs() override
{
return "Atributos Privados";
}
QCString trStaticPrivateAttribs() override
{
return "Atributos Privados Estáticos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a todo item */
QCString trTodo() override
{
return "Atividades futuras";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Lista de atividades futuras";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Referenciado(a) por";
}
QCString trRemarks() override
{
return "Anotações";
}
QCString trAttention() override
{
return "Atenção";
}
QCString trInclByDepGraph() override
{
return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com esse arquivo:";
}
QCString trSince() override
{
return "Desde";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Legenda do Grafo";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
"Considere o seguinte exemplo:\n"
"\\code\n"
"/*! Classe oculta por causa da truncagem */\n"
"class Invisible { };\n\n"
"/*! Classe Truncated, relação de herança está oculta */\n"
"class Truncated : public Invisible { };\n\n"
"/* Classe não documentada com os comentários do Doxygen */\n"
"class Undocumented { };\n\n"
"/*! Classe possui que possui uma relação de herança pública */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! Um template de classe */\n"
"template<class T> class Templ { };\n\n"
"/*! Classe possui que possui uma relação de herança protegida */\n"
"class ProtectedBase { };\n\n"
"/*! Classe possui que possui uma relação de herança privada */\n"
"class PrivateBase { };\n\n"
"/*! Classe utilizada pela classe Inherited */\n"
"class Used { };\n\n"
"/*! Super classe que herda outras classes */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Isto irá gerar o seguinte gráfo:"
"<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"As caixas no grafo acima possuem os seguintes significados:\n"
"</p>\n"
"<ul>\n"
"<li>Uma caixa cinza denota a estrutura ou a classe que gerou"
"este grafo.</li>\n"
"<li>Uma caixa com a borda preta denota uma estrutura ou classe documentada.</li>\n"
"<li>Uma caixa com a borda cinza denota uma estrutura ou classe não documentada.</li>\n"
"<li>Uma caixa com a borda vermelha denota uma estrutura ou classe na"
"qual nem todas as relações são mostradas. Um grafo é truncado quando "
"esse não cabe no espaço especificado.</li>\n"
"</ul>\n"
"<p>\n"
"As setas possuem os seguintes significados:\n"
"</p>\n"
"<ul>\n"
"<li>Uma seta azul escura denota a relação de herança pública entre "
"duas classes.</li>\n"
"<li>Uma seta verde escura denota a relação de herança protegida entre "
"duas classes.</li>\n"
"<li>Uma seta vermelha escura denota a relação de herança privada entre "
"duas classes.</li>\n"
"<li>Uma seta pontilhada púrpura denota a relação de uso e/ou agragação "
"por outra classe/estrutura. A etiqueta da seta denota o nome do(s) campo(s) "
"que representa(m) este apontamento.</li>\n"
"<li>Uma seta pontilhada amarela denota a relação de instanciação de uma "
"<em>template</em>. A etiqueta da seta denota os parâmetros de instanciação "
"desta <em>template</em>.</li>\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "legenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Teste";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Lista de Testes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Propriedades";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Propriedades";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas de dados";
}
else
{
return "Classes";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Pacote "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Esta é a lista com os pacotes e suas respectivas descrições (quando disponíveis):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Pacotes";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Valor:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bug";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Lista de Bugs";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Sumário";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "classe", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "arquivo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "namespace", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "grupo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "página", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "membro", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "globa", "ais", "l");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "autor", "es");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Referencias";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implementa "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implementation this member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Implementado por "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Sumário";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Lista de itens obsoletos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Eventos";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Eventos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Tipos do Pacote";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Funções do Pacote";
}
QCString trPackageMembers() override
{
return "Membros do Pacote";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Funções Estáticas do Pacote";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Atributos do Pacote";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Atributos Estáticos do Pacote";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Todos";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Este é o diagrama das funções utilizadas por essa função:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Resultado da Busca";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Nenhum documento foi encontrado.";
}
else if (numDocuments==1)
{
return "Apenas <b>1</b> documento foi encontrado.";
}
else
{
return "<b>$num</b> documentos encontrados. "
"Mostrando os melhores resultados primeiro.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Resultados:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Código-Fonte de " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Hierarquia de Diretórios"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Documentação do Diretório"; }
/*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Diretórios"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{
QCString result = "Referência do diretório ";
result += dirName;
return result;
}
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "diretório", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Esse é um método provido por conveniência. "
"Ele difere do método acima apenas na lista de "
"argumentos que devem ser utilizados.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Esse é o diagrama das funções que utilizam essa função:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Documentação da enumeração"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Documentação de Função Membro/Subrotina"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Lista de Tipos de Dados"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Campos de Dados"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Aqui estão os tipos de dados com descrições resumidas:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Esta é a lista de todos os membros ";
if (!extractAll) result+="documentados ";
result+="dos tipos de dados com links para ";
if (extractAll)
{
result+="a documentação dos tipos de dados para cada membro:";
}
else
{
result+="os tipos de dados a que pertencem:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Índice de Tipos de Dados"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Documentação dos Tipos de Dados"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Funções/Subrotinas"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Documentação da Função/Subrotina"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Tipos de Dados"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Lista de Módulos"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os módulos ";
if (!extractAll) result+="documentados ";
result+="com descrições resumidas:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result = "Referência ";
if (isTemplate) result+="da Template ";
switch(compType)
{
case ClassDef::Class: result+="do Modulo "; break;
case ClassDef::Struct: result+="do Tipo "; break;
case ClassDef::Union: result+="da União "; break;
case ClassDef::Interface: result+="da Interface "; break;
case ClassDef::Protocol: result+="do Protocolo "; break;
case ClassDef::Category: result+="da Categoria "; break;
case ClassDef::Exception: result+="da Exceção "; break;
default: break;
}
result += clName;
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result = "Referência do Módulo ";
result += namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Membros do Módulo"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os membros ";
if (!extractAll) result+="documentados ";
result+="dos módulos com links para ";
if (extractAll)
{
result+="a documentação dos módulos para cada membro:";
}
else
{
result+="os módulos a que pertencem:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Índice dos Módulos"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "módulo", "s");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
QCString result="A documentação para ";
switch(compType)
{
case ClassDef::Class: result+="esse modulo "; break;
case ClassDef::Struct: result+="esse tipo "; break;
case ClassDef::Union: result+="essa união "; break;
case ClassDef::Interface: result+="essa interface "; break;
case ClassDef::Protocol: result+="esso protocolo "; break;
case ClassDef::Category: result+="essa categoria "; break;
case ClassDef::Exception: result+="essa exceção "; break;
default: break;
}
result+=" foi gerada a partir do";
if (single)
result+=" seguinte arquivo:";
else
result+="s seguintes arquivos:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tipo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subrotina", "s");
}
/*! C# Type Contraint list */
QCString trTypeConstraints() override
{
return "Restrições do Tipo";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return "Relação " + QCString(name);
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Carregando...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Namespace global";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Procurando...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Nenhuma entrada encontrado";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "Arquivo em "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Inclui arquivo em "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo" };
static const char *months[] = { "Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "seg", "ter", "qua", "qui", "sex", "sáb", "dom" };
static const char *days_full[] = { "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado", "domingo" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez" };
static const char *months_full[] = { "janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "AM", "PM" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Referências Bibliográficas"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{
// Note: I will left it as is because "Direitos autorais" may not fit
// in the text.
return "Copyright";
}
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return QCString("Grafo de dependências do diretório ")+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "nível de detalhes"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "Parâmetros do template"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "e "+number+" mais..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{ QCString result = "A documentação para essa enumeração foi gerada a partir ";
if (single) {
result += "do seguinte arquivo:";
} else {
result += "dos seguintes arquivos:";
}
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{
QCString result = "Referência da enumeração ";
return result + name;
}
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return QCString(members)+" herdados de "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "Outros membros herdados"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "ativar" : "desativar";
return "clique para "+opt+" a sincronização do painel";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "Provido pela categoria @0.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "estende a classe @0.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "Métodos da classe";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "Métodos da instância";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "Documentação do método";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "Interfaces Exportadas"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "Serviços Inclusos"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "Grupos de Constantes"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result = "Referência do grupo de constantes ";
result += namespaceName;
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result = "Referência do serviço ";
result += sName;
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
// TODO: Emerson Ferreira proposes to add emphasis around the word
// Singleton but I'm not sure if this will work for non HTML generators.
QCString result = "Referência do Singleton ";
result += sName;
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="A documentação para esse serviço "
"foi gerada a partir ";
if (single) {
result+="do seguinte arquivo:";
} else {
result+="dos seguintes arquivos:";
}
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="A documentação para esse Singleton "
"foi gerada a partir ";
if (single) {
result+="do seguinte arquivo:";
} else {
result+="dos: seguintes arquivos:";
}
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "Hierarquia da Unidade de Design"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "Lista de Unidades de Design"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "Membros da Unidade de Design"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{
return "Esta é uma lista de todos os membros de unidades de design "
"com ligações para as entidades às quais pertencem:";
}
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "Índice de Unidades de Design"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "Unidades de Design"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "Funções/Procedimentos/Processos"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch(type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "Biblioteca";
else return "Bibliotecas";
case VhdlSpecifier::PACKAGE:
if (single) return "Pacote";
else return "Pacotes";
case VhdlSpecifier::SIGNAL:
if (single) return "Sinal";
else return "Sinais";
case VhdlSpecifier::COMPONENT:
if (single) return "Componente";
else return "Componentes";
case VhdlSpecifier::CONSTANT:
if (single) return "Constante";
else return "Constantes";
case VhdlSpecifier::ENTITY:
if (single) return "Entidade";
else return "Entidades";
case VhdlSpecifier::TYPE:
if (single) return "Tipo";
else return "Tipos";
case VhdlSpecifier::SUBTYPE:
if (single) return "Subtipo";
else return "Subtipos";
case VhdlSpecifier::FUNCTION:
if (single) return "Função";
else return "Funções";
case VhdlSpecifier::RECORD:
if (single) return "Registro";
else return "Registros";
case VhdlSpecifier::PROCEDURE:
if (single) return "Procedimento";
else return "Procedimentos";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "Arquitetura";
else return "Arquiteturas";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "Atributo";
else return "Atributos";
case VhdlSpecifier::PROCESS:
if (single) return "Processo";
else return "Processos";
case VhdlSpecifier::PORT:
if (single) return "Porta";
else return "Portas";
case VhdlSpecifier::USE:
if (single) return "cláusula de uso";
else return "cláusulas de uso";
case VhdlSpecifier::GENERIC:
if (single) return "Generico";
else return "Genericos";
case VhdlSpecifier::PACKAGE_BODY:
return "Corpo do Pacote";
case VhdlSpecifier::UNITS:
return "Unidades";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "Variável Compartilhada";
else return "Variáveis Compartilhadas";
case VhdlSpecifier::VFILE:
if (single) return "Arquivo";
else return "Arquivos";
case VhdlSpecifier::GROUP:
if (single) return "Grupo";
else return "Grupos";
case VhdlSpecifier::INSTANTIATION:
if (single) return "Instância";
else return "Instâncias";
case VhdlSpecifier::ALIAS:
if (single) return "Apelido";
else return "Apelidos";
case VhdlSpecifier::CONFIG:
if (single) return "Configuração";
else return "Configurações";
case VhdlSpecifier::MISCELLANEOUS:
return "Outros"; // Is this correct for VHDL?
case VhdlSpecifier::UCF_CONST:
return "Restrições";
default:
return "Classe";
}
}
QCString trCustomReference(const QCString &name) override
{ return "Referência de " + QCString(name); }
/* Slice */
QCString trConstants() override
{
return "Constantes";
}
QCString trConstantDocumentation() override
{
return "Constantes";
}
QCString trSequences() override
{
return "Sequências";
}
QCString trSequenceDocumentation() override
{
return "Sequências";
}
QCString trDictionaries() override
{
return "Dicionários";
}
QCString trDictionaryDocumentation() override
{
return "Dicionários";
}
QCString trSliceInterfaces() override
{
return "Interfaces";
}
QCString trInterfaceIndex() override
{
return "Índice de Interfaces";
}
QCString trInterfaceList() override
{
return "Lista de Interfaces";
}
QCString trInterfaceListDescription() override
{
return "Estas são as interfaces com suas respectivas descrições:";
}
QCString trInterfaceHierarchy() override
{
return "Hierarquia de Interfaces";
}
QCString trInterfaceHierarchyDescription() override
{
return "Esta é a lista parcialmente ordenadas de heranças:";
}
QCString trInterfaceDocumentation() override
{
return "Interfaces";
}
QCString trStructs() override
{
return "Estruturas";
}
QCString trStructIndex() override
{
return "Índice de Estruturas";
}
QCString trStructList() override
{
return "Lista de Estruturas";
}
QCString trStructListDescription() override
{
return "Estas são as estruturas com suas respectivas descrições:";
}
QCString trStructDocumentation() override
{
return "Estruturas";
}
QCString trExceptionIndex() override
{
return "Índice the Exceções";
}
QCString trExceptionList() override
{
return "Lista de Exceções";
}
QCString trExceptionListDescription() override
{
return "Estas são as exceções com suas respectivas descrições:";
}
QCString trExceptionHierarchy() override
{
return "Hierarquia de Exceções";
}
QCString trExceptionHierarchyDescription() override
{
return "Esta é a lista parcialmente ordenadas de heranças:";
}
QCString trExceptionDocumentation() override
{
return "Exceções";
}
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result="Referência ";
switch(compType)
{
case ClassDef::Class: result+="da Classe "; break;
case ClassDef::Struct: result+="da Estrutura "; break;
case ClassDef::Union: result+="da União "; break;
case ClassDef::Interface: result+="da Interface "; break;
case ClassDef::Protocol: result+="do Protocolo "; break;
case ClassDef::Category: result+="da Categoria "; break;
case ClassDef::Exception: result+="da Exceção "; break;
default: break;
}
if (isLocal) result+="Local ";
result+= clName;
return result;
}
QCString trOperations() override
{
return "Operações";
}
QCString trOperationDocumentation() override
{
return "Operações";
}
QCString trDataMembers() override
{
return "Dados Membros";
}
QCString trDataMemberDocumentation() override
{
return "Dados Membros";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit documentation */
QCString trDesignUnitDocumentation() override
{
return "Documentação da Unidade de Projeto";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
/** C++20 concept */
QCString trConcept(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "conceito", "s");
}
/*! used as the title of the HTML page of a C++20 concept page */
QCString trConceptReference(const QCString &conceptName) override
{
QCString result= "Referência do Conceito ";
result+=conceptName;
return result;
}
/*! used as the title of page containing all the index of all concepts. */
QCString trConceptList() override
{ return "Lista de Conceitos"; }
/*! used as the title of chapter containing the index listing all concepts. */
QCString trConceptIndex() override
{ return "Índice de Conceitos"; }
/*! used as the title of chapter containing all information about concepts. */
QCString trConceptDocumentation() override
{ return "Documentação do Conceito"; }
/*! used as an introduction to the concept list */
QCString trConceptListDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os conceitos ";
if (!extractAll) result+="documentados ";
result+="com suas respectivas descrições:";
return result;
}
/*! used to introduce the definition of the C++20 concept */
QCString trConceptDefinition() override
{
return "Definição de conceito";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
QCString trPackageList() override
{ return "Lista de pacotes"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.6
//////////////////////////////////////////////////////////////////////////
/*! This is used for translation of the word that will be
* followed by a single name of the VHDL process flowchart.
*/
QCString trFlowchart() override
{
return "Fluxograma:";
}
/*! Please translate also updated body of the method
* trMemberFunctionDocumentation(), now better adapted for
* VHDL sources documentation.
*/
//////////////////////////////////////////////////////////////////////////
// new since 1.9.7
//////////////////////////////////////////////////////////////////////////
/*! used in the compound documentation before a list of related symbols.
*
* Supersedes trRelatedFunctions
*/
QCString trRelatedSymbols() override
{ return "Símbolos relacionados"; }
/*! subscript for the related symbols
*
* Supersedes trRelatedSubscript
*/
QCString trRelatedSymbolsSubscript() override
{ return "(Note que estes não são símbolos membros.)"; }
/*! used in the class documentation as a header before the list of all
* related classes.
*
* Supersedes trRelatedFunctionDocumentation
*/
QCString trRelatedSymbolDocumentation() override
{ return "Documentação dos símbolos amigos e relacionados"; }
/*! the compound type as used for the xrefitems */
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
{
QCString result;
switch(compType)
{
case ClassDef::Class:
if (lang == SrcLangExt::Fortran) trType(true,true);
else result=trClass(true,true);
break;
case ClassDef::Struct: result="Estrutura"; break;
case ClassDef::Union: result="União"; break;
case ClassDef::Interface: result="Interface"; break;
case ClassDef::Protocol: result="Protocolo"; break;
case ClassDef::Category: result="Categoria"; break;
case ClassDef::Exception: result="Exceção"; break;
case ClassDef::Service: result="Serviço"; break;
case ClassDef::Singleton: result="Singleton"; break;
default: break;
}
return result;
}
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isFileMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
switch (hl)
{
case FileMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="funções, variáveis, definições, enumerações e definições de tipos";
}
else
{
result+="membros do arquivo";
}
break;
case FileMemberHighlight::Functions:
result+="funções";
break;
case FileMemberHighlight::Variables:
result+="variáveis";
break;
case FileMemberHighlight::Typedefs:
result+="definições de tipos";
break;
case FileMemberHighlight::Sequences:
result+="sequencias";
break;
case FileMemberHighlight::Dictionaries:
result+="dicionários";
break;
case FileMemberHighlight::Enums:
result+="enumerações";
break;
case FileMemberHighlight::EnumValues:
result+="valores da enumeração";
break;
case FileMemberHighlight::Defines:
result+="definições/macros";
break;
case FileMemberHighlight::Total: // for completeness
break;
}
if (!extractAll)
{
result+= masculine? " documentados": " documentadas";
}
result+=" com links para ";
if (extractAll)
result+="os arquivos aos quais pertencem:";
else
result+="a documentação:";
return result;
}
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isClassMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="estruturas e uniões";
}
else
{
result+="membros de classe";
}
break;
case ClassMemberHighlight::Functions:
result+="funções";
break;
case ClassMemberHighlight::Variables:
result+="variáveis";
break;
case ClassMemberHighlight::Typedefs:
result+="definições de tipo";
break;
case ClassMemberHighlight::Enums:
result+="enumerações";
break;
case ClassMemberHighlight::EnumValues:
result+="valores enumerados";
break;
case ClassMemberHighlight::Properties:
result+="propriedades";
break;
case ClassMemberHighlight::Events:
result+="eventos";
break;
case ClassMemberHighlight::Related:
result+="símbolos relacionados";
break;
case ClassMemberHighlight::Total: // for completeness
break;
}
if (!extractAll)
{
result+= masculine?" documentados":" documentadas";
}
result+=" com links para ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a documentação da estrutura/união para cada campo:";
}
else
{
result+="a documentação da classe para cada membro:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a estrutura/união a que petencem:";
}
else
{
result+="a classe a que pertencem:";
}
}
return result;
}
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isNamespaceMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case NamespaceMemberHighlight::All:
singularResult="membro";
break;
case NamespaceMemberHighlight::Functions:
singularResult="função";
pluralResult="funções";
break;
case NamespaceMemberHighlight::Variables:
singularResult="variável";
pluralResult="variáveis";
break;
case NamespaceMemberHighlight::Typedefs:
singularResult="definição de tipo";
pluralResult="definições de tipo";
break;
case NamespaceMemberHighlight::Sequences:
singularResult="sequencia";
pluralResult="sequencias";
break;
case NamespaceMemberHighlight::Dictionaries:
singularResult="dicionário";
break;
case NamespaceMemberHighlight::Enums:
singularResult="enumeração";
pluralResult="enumerações";
break;
case NamespaceMemberHighlight::EnumValues:
singularResult="valor enumerado";
pluralResult="valores enumerados";
break;
case NamespaceMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+=" do namespace ";
if (!extractAll) result+=" documentado";
result+=" com links para ";
if (extractAll)
result+="a documentação de cada " + singularResult + ":";
else
result+="o namespace a que pertencem:";
return result;
}
QCString trDefinition() override { return "Definição";}
QCString trDeclaration() override { return "Declaração";}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.8
//////////////////////////////////////////////////////////////////////////
QCString trTopics() override
{ return "Tópicos"; }
QCString trTopicDocumentation() override
{ return "Tópico"; }
QCString trTopicList() override
{ return "Lista de Tópicos"; }
QCString trTopicIndex() override
{ return "Índice de Tópicos"; }
QCString trTopicListDescription() override
{ return "Esta é uma lista de todos os tópicos e suas descrições:"; }
QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isModuleMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case ModuleMemberHighlight::All:
singularResult="membro";
break;
case ModuleMemberHighlight::Functions:
singularResult="função";
pluralResult="funções";
break;
case ModuleMemberHighlight::Variables:
singularResult="variável";
pluralResult="variáveis";
break;
case ModuleMemberHighlight::Typedefs:
singularResult="definição de tipo";
pluralResult="definições de tipo";
break;
case ModuleMemberHighlight::Enums:
singularResult="enumeração";
pluralResult="enumerações";
break;
case ModuleMemberHighlight::EnumValues:
singularResult="valor enumerado";
pluralResult="valores enumerados";
break;
case ModuleMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+="do módulo ";
if (!extractAll) result+="documentado ";
result+=" com links para ";
if (extractAll)
result+="a documentação de cada " + singularResult + ":";
else
result+="o módulo a que pertencem:";
return result;
}
QCString trExportedModules() override
{
return "Módulos Exportados";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.10.0
//////////////////////////////////////////////////////////////////////////
QCString trCopyToClipboard() override
{
return "Copiado para a área de transferência";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.11.0
//////////////////////////////////////////////////////////////////////////
QCString trImportant() override
{
return "Importante";
}
};
#endif
| 94,458
|
C++
|
.h
| 2,563
| 30.267265
| 170
| 0.591504
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,696
|
translator_fi.h
|
doxygen_doxygen/src/translator_fi.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
/*
==================================================================================
Suomenkielinen käännös:
Olli Korhonen ( -> 0.49-990425) <olli.korhonen@ccc.fi>
Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi>
==================================================================================
1999/10/19
* Alustava käännös valmis.
* Huom: Kaikille termeille on keksitty käännösvastine, mikä ei ehkä ole
kaikissa tapauksissa hyvä ratkaisu, ja parempikin termi voi
olla vakiintuneessa käytössä.
2008-04-08
* Käännetty versioon 1.5.5 asti.
2008-08-26
* MAX_DOT_GRAPH_HEIGHT poistettu, versio 1.5.6
* Tekstit muutettu UTF-8:ksi
2009-01-17
* versio 1.5.8
* Kantaluokka vaihdettu TranslatorEnglishistä Translatoriksi
* Enumeraatio -> luettelotyyppi
* Paranneltu kieltä ja poistettu kirjoitusvirheitä
* Tehtävää:
- Termien kokoaminen listaksi ja suomennosten järkevyyden tarkastelu. (lista on jo melko kattava)
Author = Tekijä
Class = Luokka
Compound = Kooste
Data = Data
Documentation = Dokumentaatio
Defines = Määrittelyt
Description = Selite
Detailed = Yksityiskohtainen
Diagram = Kaavio
Enum = Luettelotyyppi
Exceptions = Poikkeukset
File = Tiedosto
Friends = Ystävät
Functions = Funktiot
Hierarchical = Hierarkinen
Index = Indeksi
Inherits = Perii
Member = Jäsen
Module = Moduli
Namespace = Nimiavaruus
Parameters = Parametrit
Private = Yksityinen
Protected = Suojattu
Prototypes = Prototyypit
Public = Julkinen
Reference Manual= Käsikirja
Reimplemented = Uudelleen toteutettu
Related = Liittyvä
Signals = Signaalit
Slots = Vastineet
Static = Staattinen
Struct = Tietue
Typedef = Tyyppimäärittely
Union = Yhdiste
Variables = Muuttujat
- Taivutusmuotojen virheettömyyden tarkastelu prepositioiden korvauskohdissa.
- Sanasta sanaan käännöskohtien mielekkyyden tarkastelu valmiista dokumentista.
- umlaut vastineiden käyttö scandien kohdalla.
positiiviset kommentit otetaan ilolla vastaan.
===================================================================================
*/
#ifndef TRANSLATOR_FI_H
#define TRANSLATOR_FI_H
class TranslatorFinnish : public TranslatorAdapter_1_6_0
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "finnish"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[finnish]{babel}\n";
}
QCString trISOLang() override
{
return "fi";
}
QCString getLanguageString() override
{
return "0x40B Finnish";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Liittyvät funktiot"; } // "Related Functions";
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Huomaa, että nämä eivät ole jäsenfunktioita.)"; } // "(Note that these are not member functions.)"
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Yksityiskohtainen selite"; } // "Detailed Description"
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Yksityiskohdat"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
// header that is put before the list of typedefs.
{ return "Jäsentyyppimäärittelyiden dokumentaatio"; } // "Member Typedef Documentation"
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Jäsenluettelotyyppien dokumentaatio"; } // "Member Enumeration Documentation"
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Jäsenfunktioiden dokumentaatio"; } // "Member Function Documentation"
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Kenttien dokumentaatio"; // "Field Documentation";
}
else
{
return "Jäsendatan dokumentaatio"; // "Member Data Documentation"
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Lisää..."; } // "More..."
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Lista kaikista jäsenistä"; } // "List of all members."
QCString trMemberList() override
/*! used as the title of the "list of all members" page of a class */
{ return "Jäsenlista"; } // "Member List"
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Tämä on lista kaikista jäsenistä luokassa"; } // "This is the complete list of members for "
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", sisältäen kaikki perityt jäsenet."; } // ", including all inherited members."
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Automaattisesti luotu Doxygenilla "
"lähdekoodista projektille "+s; // "Generated automatically by Doxygen" ... "for" ... "from the sourcecode"
//if (s) result+=" voor "+s;
// tässä on ongelma, kuinka taivuttaa parametria, esim. "Jcad"+"in"; "IFC2VRML konversio"+"n"
// mutta ratkaistaan ongelma kätevästi kaksoispisteellä -> "Jcad:n" / "IFC2VRML konversio:n"
// lopputulos on vähemmän kökkö ja täysin luettava, mutta ei kuitenkaan täydellinen.
//
// kierretään ongelma taivuttamalla sanaa projekti :)
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "luettelotyypin nimi"; } // "enum name"
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "luettelotyypin arvo"; } // "enum value"
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "määritelty"; } // "defined in"
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Moduulit"; } // "Modules"
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Luokkahierarkia"; } // "Class Hierarchy"
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueet"; // "Data Structures"
}
else
{
return "Luokkalista"; // "Class List"
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Tiedostolista"; } // "File List"
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueen kentät"; // "Data Fields"
}
else
{
return "Luokan jäsenet"; // "Class Members"
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globaalit"; // "Globals"
}
else
{
return "Tiedoston jäsenet"; // "File Members"
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Liittyvät sivut"; } // "Related Pages"
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Esimerkit"; } // "Examples"
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Etsi"; } // "Search"
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Tämä periytymislista on päätasoltaan aakkostettu " // "This inheritance list is sorted roughly, "
"mutta alijäsenet on aakkostettu itsenäisesti:"; // "but not completely, alphabetically:";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Tässä on lista kaikista ";
if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="tiedostoista lyhyen selitteen kanssa:"; // "files with brief descriptions:"
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tässä ovat tietueet lyhyen selitteen kanssa:"; // "Here are the data structures with brief descriptions:"
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Tässä ovat luokat " // "Here are the classes
"lyhyen selitteen kanssa:"; // "with brief descriptions:"
}
else
{
return "Tässä ovat luokat, tietueet ja " // "Here are the classes, structs and "
"yhdisteet lyhyen selitteen kanssa:"; // "unions with brief descriptions:"
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll)
{
result+="dokumentoiduista "; // "documented "
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="tietuiden ja yhdisteiden kentistä"; // "struct and union fields"
}
else
{
result+="luokkien jäsenistä"; // "class members"
}
result+=" linkitettyinä "; // " with links to "
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="jokaisen kentän tietueen/yhdisteen dokumentaatioon:"; // "the struct/union documentation for each field:"
}
else
{
result+="jokaisen jäsenen luokkadokumentaatioon:"; // "the class documentation for each member:"
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+= "tietueisiin/yhdisteisiin, joihin ne kuuluvat:"; // "the structures/unions they belong to:"
}
else
{
result+="luokkiin, joihin ne kuuluvat"; //"the classes they belong to:"
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista "; // "documented "
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="funktioista, muuttujista, määrittelyistä, luettelotyypeistä ja tyyppimäärittelyistä"; // "functions, variables, defines, enums, and typedefs"
}
else
{
result+="tiedoston jäsenistä"; // "file members"
}
result+=" linkitettyinä "; // " with links to "
if (extractAll)
result+="tiedostoihin, joihin ne kuuluvat:"; // "the files they belong to:"
else
result+="dokumentaatioon:"; // "the documentation:"
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Tässä on lista kaikista esimerkeistä:"; } // "Here is a list of all examples:"
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Tässä on lista kaikista liittyvistä dokumentaatiosivuista:"; } // "Here is a list of all related documentation pages:"
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Tässä on lista kaikista moduleista:"; } // "Here is a list of all modules:"
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentaatio"; } // "Documentation"
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Moduuliluettelo"; } // "Module Index"
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Hierarkinen luettelo"; } // "Hierarchical Index"
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueluettelo"; // "Data Structure Index"
}
else
{
return "Luokkaluettelo"; // "Class Index"
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Tiedostoluettelo"; } // "File Index"
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Moduulien dokumentaatio"; } // "Module Documentation"
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueiden dokumentaatio"; // "Data Structure Documentation"
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Luokkien dokumentaatio"; // "Class Documentation"
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Tiedostojen dokumentaatio"; } // "File Documentation"
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Käsikirja"; } // "Reference Manual"
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Määrittelyt"; } // "Defines"
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Tyyppimäärittelyt"; } // "Typedefs"
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Luettelotyypit"; } // "Enumerations"
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Funktiot"; } // "Functions"
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Muuttujat"; } // "Variables"
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Luettelotyyppien arvot"; } // "Enumerator"
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Määritysten dokumentointi"; } // "Define Documentation"
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Tyyppimääritysten dokumentaatio"; } // "Typedef Documentation"
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Luettelotyyppien dokumentaatio"; } // "Enumeration Type Documentation"
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Funktioiden dokumentaatio"; } // "Function Documentation"
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Muuttujien dokumentaatio"; } // "Variable Documentation"
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueet"; // "Data Structures"
}
else
{
return "Luokat"; // "Classes"
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
// funktio on hiukan vaikea kääntää prepositioihin sidotun rakenteen vuoksi.
// Muutetaan siis lauserakennetta suomalaisemmaksi
// Generated on $date for $project by:
// -> Generated for $project on $date by:
QCString result="Generoinut ";
if (!projName.isEmpty()) result+="projektille "+projName+" ";
result+=date+" ";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Luokan "+clName+" luokkakaavio"; // "Inheritance diagram for "
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Varoitus"; } // "Warning"
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Versio"; } // "Version"
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Päiväys"; } // "Date"
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Palauttaa"; } // "Returns"
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Katso myös"; } // "See also"
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parametrit"; } // "Parameters"
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Poikkeukset"; } // "Exceptions"
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Generoinut"; } // "Generated by"
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Nimiavaruus Lista"; } // "Namespace List"
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="nimiavaruuksista lyhyen selitteen kanssa:"; // "namespaces with brief descriptions:"
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Ystävät"; } // "Friends"
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Ystävät ja niihin liittyvien funktioiden dokumentaatio"; } // "Friends And Related Function Documentation"
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" luokka"; break; // " Class"
case ClassDef::Struct: result+=" tietue"; break; // " Struct"
case ClassDef::Union: result+=" yhdiste"; break; // " Union"
case ClassDef::Interface: result+=" rajapinta"; break; // " Interface"
case ClassDef::Protocol: result+=" protokolla"; break; // " Protocol"
case ClassDef::Category: result+=" kategoria"; break; // " Category"
case ClassDef::Exception: result+=" poikkeus"; break; // " Exception"
default: break;
}
if (isTemplate) result+="malli"; // " Template"
result+="referenssi"; // " Reference"
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" tiedostoreferenssi"; // " File Reference"
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" nimiavaruusreferenssi"; // " Namespace Reference"
return result;
}
QCString trPublicMembers() override
{ return "Julkiset jäsenfunktiot"; } // "Public Member Functions"
QCString trPublicSlots() override
{ return "Julkiset vastineet"; } // "Public Slots"
QCString trSignals() override
{ return "Signaalit"; } // "Signals"
QCString trStaticPublicMembers() override
{ return "Staattiset julkiset jäsenfunktiot"; } // "Static Public Member Functions"
QCString trProtectedMembers() override
{ return "Suojatut jäsenfunktiot"; } // "Protected Member Functions"
QCString trProtectedSlots() override
{ return "Suojatut vastineet"; } // "Protected Slots"
QCString trStaticProtectedMembers() override
{ return "Staattiset suojatut jäsenfunktiot"; } // "Static Protected Member Functions"
QCString trPrivateMembers() override
{ return "Yksityiset jäsenfunktiot"; } // "Private Member Functions"
QCString trPrivateSlots() override
{ return "Yksityiset vastineet"; } // "Private Slots"
QCString trStaticPrivateMembers() override
{ return "Staattiset yksityiset jäsenfunktiot"; } // "Static Private Member Functions"
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" ja "; // ", and "
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return QCString("Periytyy ")+(numEntries > 1 ? "luokista " : "luokasta ")+trWriteList(numEntries)+"."; // "Inherits "
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return QCString("Periytetään ")+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Inherited by "
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return QCString("Uudelleentoteuttaa ")+(numEntries > 1 ? "luokat " : "luokan ")+trWriteList(numEntries)+"."; // "Reimplemented from "
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return QCString("Uudelleentoteutetaan ")+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Reimplemented in "
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Nimiavaruuden jäsenet"; } // "Namespace Members"
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="nimiavaruuden jäsenistä linkitettynä "; // "namespace members with links to "
if (extractAll)
result+="nimiavaruuden dokumentaatioon johon ne kuuluvat:"; // "the namespace documentation for each member:";
else
result+="nimiavaruuksiin joihin ne kuuluvat:"; // "the namespaces they belong to:"
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Nimiavaruuksien luettelo"; } // "Namespace Index"
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Nimiavaruuden dokumentaatio"; } // "Namespace Documentation"
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Nimiavaruudet"; } // "Namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="Dokumentaatio tälle "; // "The documentation for this "
switch(compType)
{
case ClassDef::Class: result+="luokalle"; break; // "class"
case ClassDef::Struct: result+="tietueelle"; break; // "struct"
case ClassDef::Union: result+="yhdisteelle"; break; // "union"
case ClassDef::Interface: result+="rajapinnalle"; break; // "interface"
case ClassDef::Protocol: result+="protokollalle"; break; // "protocol"
case ClassDef::Category: result+="kategorialle"; break; // "category"
case ClassDef::Exception: result+="poikkeukselle"; break; // "exception"
default: break;
}
if (single) result+=" luotiin seuraavasta tiedostosta:"; // " was generated from the following file"
else result+=" luotiin seuraavista tiedostoista:"; // ":" or "s:"
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Paluuarvot"; } // "Return values"
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Pääsivu"; } // "Main Page"
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "s."; } // "p."
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Määrittely tiedoston @1 rivillä @0."; // "Definition at line @0 of file @1."
}
QCString trDefinedInSourceFile() override
{
return "Määrittely tiedostossa @0."; // "Definition in file @0."
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Vanhentunut"; // "Deprecated"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Yhteistyökaavio luokalle "+clName+":"; // "Collaboration diagram for "+clName+":"
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Sisällytysriippuvuuskaavio tiedostolle "+fName+":"; // "Include dependency graph for "+fName+":"
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Rakentajien & purkajien dokumentaatio"; // "Constructor & Destructor Documentation";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Siirry tämän tiedoston lähdekoodiin."; // "Go to the source code of this file."
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Siirry tämän tiedoston dokumentaatioon."; // "Go to the documentation of this file."
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Esiehto"; //"Precondition"
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Jälkiehto"; // "Postcondition"
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariantti"; // vai "Pysyväisväittämä"? "Invariant"
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Alkuarvo:"; // "Initial value:"
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "koodi"; // "code"
}
QCString trGraphicalHierarchy() override
{
return "Graafinen luokkahierarkia"; // "Graphical Class Hierarchy"
}
QCString trGotoGraphicalHierarchy() override
{
return "Siirry graafiseen luokkahierarkiaan"; // "Go to the graphical class hierarchy"
}
QCString trGotoTextualHierarchy() override
{
return "Siirry tekstimuotoiseen luokkahierarkiaan"; // "Go to the textual class hierarchy"
}
QCString trPageIndex() override
{
return "Sivuhakemisto"; // "Page Index"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
// FIXME: Missähän merkityksessä tätä käytetään?
return "Huomautus"; // "Note"
}
QCString trPublicTypes() override
{
return "Julkiset tyypit"; // "Public Types"
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueen kentät"; // "Data Fields"
}
else
{
return "Julkiset attribuutit"; // "Public Attributes"
}
}
QCString trStaticPublicAttribs() override
{
return "Staattiset julkiset attribuutit"; // "Static Public Attributes"
}
QCString trProtectedTypes() override
{
return "Suojellut tyypit"; // "Protected Types"
}
QCString trProtectedAttribs() override
{
return "Suojellut attribuutit"; // "Protected Attributes"
}
QCString trStaticProtectedAttribs() override
{
return "Staattiset suojellut attribuutit"; // "Static Protected Attributes"
}
QCString trPrivateTypes() override
{
return "Yksityiset tyypit"; // "Private Types"
}
QCString trPrivateAttribs() override
{
return "Yksityiset attribuutit"; // "Private Attributes"
}
QCString trStaticPrivateAttribs() override
{
return "Staattiset yksityiset attribuutit"; // "Static Private Attributes"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Vielä tehtävänä"; // "Todo"
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Tehtävälista"; // "Todo List"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Viitattu"; // "Referenced by"
}
QCString trRemarks() override
{
return "Huomioita"; // "Remarks"
}
QCString trAttention() override
{
return "Huomio"; // "Attention"
}
QCString trInclByDepGraph() override
{
return "Tämä kaavio näyttää, mitkä tiedostot suorasti "
"tai epäsuorasti sisällyttävät tämän tiedoston";
// "This graph shows which files directly or "
// "indirectly include this file:"
}
QCString trSince() override
{
// FIXME: Missä merkityksessä tätä käytetään?
return "Lähtien"; // "Since"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Kaavion selite"; // "Graph Legend"
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Tämä sivu selittää, kuinka doxygenin luomia kaavioita tulkitaan.<p>\n"
// "This page explains how to interpret the graphs that are generated "
// "by doxygen.<p>\n"
"Ajattele seuraavaa esimerkkiä:\n"
// "Consider the following example:\n"
"\\code\n"
"/*! Näkymätön luokka katkaisun vuoksi */\n"
// "/*! Invisible class because of truncation */\n"
"class Nakymaton { };\n\n"
// "class Invisible { };\n\n"
"/*! Katkaistu luokka, periytymissuhde on piilotettu */\n"
// "/*! Truncated class, inheritance relation is hidden */\n"
"class Katkaistu : public Nakymaton { };\n\n"
// "class Truncated : public Invisible { };\n\n"
"/* Luokkaa ei ole dokumentoitu doxygen-kommenteilla */\n"
// "/* Class not documented with doxygen comments */\n"
"class Dokumentoimaton { };\n\n"
// "class Undocumented { };\n\n"
"/*! Julkista periyttämistä käyttäen periytetty luokka */\n"
// "/*! Class that is inherited using public inheritance */\n"
"class JulkinenKanta : public Katkaistu { };\n\n"
// "class PublicBase : public Truncated { };\n\n"
"/*! Malliluokka */\n"
// "/*! A template class */\n"
"template<class T> class Malli { };\n\n"
// "template<class T> class Templ { };\n\n"
"/*! Suojeltua periytymistä käyttäen periytetty luokka */\n"
// "/*! Class that is inherited using protected inheritance */\n"
"class SuojeltuKanta { };\n\n"
// "class ProtectedBase { };\n\n"
"/*! Yksityistä periytymistä käyttäen periytetty luokka */\n"
// "/*! Class that is inherited using private inheritance */\n"
"class YksityisKanta { };\n\n"
// "class PrivateBase { };\n\n"
"/*! Luokka jota periytetty luokka käyttää */\n"
// "/*! Class that is used by the Inherited class */\n"
"class Kaytetty { };\n\n"
// "class Used { };\n\n"
"/*! Kantaluokka joka periytyy useasta muusta luokasta */\n"
// "/*! Super class that inherits a number of other classes */\n"
"class Periytetty : public JulkinenKanta,\n"
" : protected SuojeltuKanta,\n"
" : private YksityisKanta,\n"
" : public Dokumentoimaton,\n"
" : public Malli<int>\n"
"{\n"
" private:\n"
" Kaytetty *m_kaytettyLuokka;\n"
"}\n"
// "class Inherited : public PublicBase,\n"
// " protected ProtectedBase,\n"
// " private PrivateBase,\n"
// " public Undocumented,\n"
// " public Templ<int>\n"
// "{\n"
// " private:\n"
// " Used *m_usedClass;\n"
// "};\n"
"\\endcode\n"
"Tuloksena on seuraavanlainen kaavio:"
//"This will result in the following graph:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Ylläolevassa kaaviossa laatikoilla on seuraavat merkitykset\n:"
// "The boxes in the above graph have the following meaning:\n"
"<ul>\n"
"<li>Täytetty harmaa laatikko esittää tietuetta tai luokkaa, jolle "
// "<li>%A filled gray box represents the struct or class for which the "
"kaavio on luotu.\n"
// "graph is generated.\n"
"<li>Mustareunainen laatikko merkitsee dokumentoitua tietuetta tai luokkaa.\n"
// "<li>%A box with a black border denotes a documented struct or class.\n"
"<li>Harmaareunainen laatikko merkitsee dokumentoimatonta tietuetta tai luokkaa.\n"
// "<li>%A box with a grey border denotes an undocumented struct or class.\n"
"<li>Punareunainen laatikko merkistee dokumentoitua luokkaa tai structia "
// "<li>%A box with a red border denotes a documented struct or class for"
"jolle ei näytetä kaikkia periytymis-/sisällyssuhteita. Kaavio "
// "which not all inheritance/containment relations are shown. %A graph is "
"katkaistaan, jos se ei mahdu määriteltyjen rajojen sisään.\n"
// "truncated if it does not fit within the specified boundaries.\n"
"</ul>\n"
"Nuolilla on seuraavat merkitykset:\n"
// "The arrows have the following meaning:\n"
"<ul>\n"
"<li>Tummansinistä nuolta käytetään osoittamaan julkista periytymis"
// "<li>%A dark blue arrow is used to visualize a public inheritance "
"suhdetta kahden luokan välillä.\n"
// "relation between two classes.\n"
"<li>Tummanvihreää nuolta käytetään suojellussa periytymisessä.\n"
// "<li>%A dark green arrow is used for protected inheritance.\n"
"<li>Tummanpunaista nuolta käytetään yksityisessä periytymisessä.\n"
// "<li>%A dark red arrow is used for private inheritance.\n"
"<li>Purppuranväristä katkoviivaa käytetään, jos luokka sisältyy tai "
// "<li>%A purple dashed arrow is used if a class is contained or used "
"on toisen luokan käyttämä. Nuoli nimetään sillä muuttujalla/muuttujilla "
// "by another class. The arrow is labeled with the variable(s) "
"jonka läpi osoitettua luokkaa tai tietuetta käytetään.\n"
// "through which the pointed class or struct is accessible.\n"
"<li>Keltainen katkoviivalla piirretty nuoli merkitsee suhdetta mallin esiintymän ja "
// "<li>%A yellow dashed arrow denotes a relation between a template instance and "
"malliluokan välillä. Nuoli nimetään "
// "the template class it was instantiated from. The arrow is labeled with "
"mallin esiintymän malliparametrilla.\n"
// "the template parameters of the instance.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "selite"; // "legend"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Testi"; // "Test"
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Testilista"; // "Test List"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Ominaisuudet"; // "Properties"
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Ominaisuuksien dokumentaatio"; // "Property Documentation"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Tietueet"; // "Data Structures"
}
else
{
return "Luokat"; // "Classes"
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Paketti "+name; // "Package "
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Tässä ovat paketit lyhyiden selitysten kanssa (jos saatavilla):"; // "Here are the packages with brief descriptions (if available):"
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Paketit"; // "Packages"
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Arvo:"; // "Value:"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bugi"; // "Bug"
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Bugilista"; // "Bug List"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Hakemisto"; // "Index"
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "luok", "at", "ka");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tiedosto", "t");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "nimiavaruu", "det", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "ryhmä", "t");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "sivu", "t");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "jäsen", "et");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "globaali", "t");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tekijä", "t");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Viittaukset"; // "References"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Toteuttaa luokan "+trWriteList(numEntries)+"."; // "Implements "
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Toteutettu luokassa "+trWriteList(numEntries)+"."; // "Implemented in "
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Sisällysluettelo"; // "Table of Contents"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Vanhentuneiden lista"; // "Deprecated List"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Tapahtumat"; // "Events"
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Tapahtumien dokumentaatio"; // "Event Documentation"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Paketin tyypit"; // "Package Types"
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Paketin funktiot"; // "Package Functions"
}
QCString trPackageMembers() override
{
return "Paketin jäsenet"; // "Package Members"
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Paketin staattiset funktiot"; // "Static Package Functions"
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Paketin attribuutit"; // "Package Attributes"
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Paketin staattiset attribuutit"; // "Static Package Attributes"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Kaikki"; // "All"
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Tässä on kutsukaavio tälle funktiolle:"; // "Here is the call graph for this function:"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Hakutulokset"; // "Search Results"
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Valitettavasti yksikään dokumentti ei vastannut hakuasi."; // "Sorry, no documents matching your query."
}
else if (numDocuments==1)
{
return "Löytyi <b>1</b> dokumentti, joka vastasi hakuasi."; // "Found <b>1</b> document matching your query.";
}
else
{
return "Löytyi <b>$num</b> dokumenttia, jotka vastasivat hakuasi. " // "Found <b>$num</b> documents matching your query. "
"Parhaat tulokset näytetään ensin."; // "Showing best matches first."
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Osumat:"; // "Matches:"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " lähdekooditiedosto"; // " Source File"
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Hakemistohierarkia"; } // "Directory Hierarchy"
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Hakemistojen dokumentaatio"; } // "Directory Documentation"
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Hakemistot"; } // "Directories"
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" hakemistoreferenssi"; return result; }
// " Directory Reference"
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "hakemisto", "t");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Tämä on ylikuormitettu jäsenfunktio, ja se tarjotaan "
"käytön helpottamiseksi. Se eroaa ylläolevasta "
"funktiosta ainoastaan hyväksymiltään parametreilta.";
// "This is an overloaded member function, "
// "provided for convenience. It differs from the above "
// "function only in what argument(s) it accepts."
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Tässä on kutsukaavio tälle funktiolle:"; // "Here is the caller graph for this function:"
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Luettelotyypin dokumentaatio"; } // "Enumerator Documentation"
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Jäsenfunktioiden/aliohjelmien dokumentaatio"; } // "Member Function/Subroutine Documentation"
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Tietotyyppien lista"; } // "Data Types List"
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Kentät"; } // "Data Fields";
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Tässä ovat tietotyypit lyhyiden selitysten kanssa:"; } // "Here are the data types with brief descriptions:"
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll)
{
result+="dokumentoiduista "; // "documented "
}
result+="tietotyyppien jäsenistä"; // "data types members"
result+=", sekä linkit "; // " with links to "
if (!extractAll)
{
result+="tietueen dokumentaatioon jokaiselle jäsenelle"; // "the data structure documentation for each member"
}
else
{
result+="tietotyyppeihin, joihin ne kuuluvat:"; // "the data types they belong to:"
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Tietotyyppien hakemisto"; } // "Data Type Index"
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Tietotyyppien dokumentaatio"; } // "Data Type Documentation"
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Funktiot/aliohjelmat"; } // "Functions/Subroutines"
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Funktioiden/aliohjelmien dokumentaatio"; } // "Function/Subroutine Documentation"
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Tietotyypit"; } // "Data Types"
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Moduulilista"; } // "Modules List"
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="moduuleista lyhyiden selitysten kanssa:"; // "modules with brief descriptions:"
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" moduuli"; break; // " Module"
case ClassDef::Struct: result+=" tyyppi"; break; // " Type"
case ClassDef::Union: result+=" yhdiste"; break; // " Union"
case ClassDef::Interface: result+=" rajapinta"; break; // " Interface"
case ClassDef::Protocol: result+=" protokolla"; break; // " Protocol"
case ClassDef::Category: result+=" kategoria"; break; // " Category"
case ClassDef::Exception: result+=" poikkeus"; break; // " Exception"
default: break;
}
if (isTemplate) result+="malli"; // " Template"
result+="referenssi"; // " Reference"
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" moduulin referenssi"; // " Module Reference"
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Moduulin jäsenet"; } // "Module Members"
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Tässä on lista moduulin kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista"; // "documented "
result+="jäsenistä, sekä linkit "; // "module members with links to "
if (extractAll)
{
result+="moduulin dokumentaatioon jokaiselle jäsenelle:"; // "the module documentation for each member:"
}
else
{
result+="moduuleihin, joihin ne kuuluvat:"; // "the modules they belong to:"
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Moduulien hakemisto"; } // "Modules Index"
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "moduuli", "t");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="Dokumentaatio tälle "; // "The documentation for this "
switch(compType)
{
case ClassDef::Class: result+="moduulille"; break; // "module"
case ClassDef::Struct: result+="tyypille"; break; // "type"
case ClassDef::Union: result+="yhdisteelle"; break; // "union"
case ClassDef::Interface: result+="rajapinnalle"; break; // "interface"
case ClassDef::Protocol: result+="protokollalle"; break; // "protocol"
case ClassDef::Category: result+="kategorialle"; break; // "category"
case ClassDef::Exception: result+="poikkeukselle"; break; // "exception"
default: break;
}
result+=" luotiin "; // " was generated from the following file"
if (single) result+="seuraavasta tiedostosta:"; else result+="seuraavista tiedostoista:"; // ":" / "s:"
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tyyp", "it", "pi");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "aliohjelma", "t");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Tyyppien rajoitteet"; // "Type Constraints"
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "ma", "ti", "ke", "to", "pe", "la", "su" };
static const char *days_full[] = { "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu" };
static const char *months_full[] = { "tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "ap.", "ip." };
return dayPeriod[period?1:0];
}
};
#endif
| 71,456
|
C++
|
.h
| 1,646
| 36.947752
| 186
| 0.599036
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,697
|
textdocvisitor.h
|
doxygen_doxygen/src/textdocvisitor.h
|
/******************************************************************************
*
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TEXTDOCVISITOR_H
#define TEXTDOCVISITOR_H
#include "qcstring.h"
#include "docvisitor.h"
#include "docnode.h"
#include "textstream.h"
/*! @brief Concrete visitor implementation for TEXT output. */
class TextDocVisitor : public DocVisitor
{
public:
TextDocVisitor(TextStream &t) : m_t(t) {}
//--------------------------------------
// visitor functions for leaf nodes
//--------------------------------------
void operator()(const DocWord &w) { filter(w.word()); }
void operator()(const DocLinkedWord &w) { filter(w.word()); }
void operator()(const DocWhiteSpace &) { m_t << " "; }
void operator()(const DocSymbol &);
void operator()(const DocEmoji &);
void operator()(const DocURL &u) { filter(u.url()); }
void operator()(const DocLineBreak &) { m_t << " "; }
void operator()(const DocHorRuler &) {}
void operator()(const DocStyleChange &) {}
void operator()(const DocVerbatim &s) { filter(s.text()); }
void operator()(const DocAnchor &) {}
void operator()(const DocInclude &) {}
void operator()(const DocIncOperator &) {}
void operator()(const DocFormula &) {}
void operator()(const DocIndexEntry &) {}
void operator()(const DocSimpleSectSep &){}
void operator()(const DocCite &);
void operator()(const DocSeparator &) { m_t << " "; }
//--------------------------------------
// visitor functions for compound nodes
//--------------------------------------
template<class T>
void visitChildren(const T &t)
{
for (const auto &child : t.children())
{
std::visit(*this, child);
}
}
void operator()(const DocAutoList &l) { visitChildren(l); }
void operator()(const DocAutoListItem &li) { visitChildren(li); }
void operator()(const DocPara &p) { visitChildren(p); }
void operator()(const DocRoot &r) { visitChildren(r); }
void operator()(const DocSimpleSect &s) { visitChildren(s); }
void operator()(const DocTitle &t) { visitChildren(t); }
void operator()(const DocSimpleList &l) { visitChildren(l); }
void operator()(const DocSimpleListItem &) { }
void operator()(const DocSection &s) { visitChildren(s); }
void operator()(const DocHtmlList &l) { visitChildren(l); }
void operator()(const DocHtmlListItem &li) { visitChildren(li); }
void operator()(const DocHtmlDescList &dl) { visitChildren(dl); }
void operator()(const DocHtmlDescTitle &dt) { visitChildren(dt); }
void operator()(const DocHtmlDescData &dd) { visitChildren(dd); }
void operator()(const DocHtmlTable &t) { visitChildren(t); }
void operator()(const DocHtmlRow &r) { visitChildren(r); }
void operator()(const DocHtmlCell &c) { visitChildren(c); }
void operator()(const DocHtmlCaption &c) { visitChildren(c); }
void operator()(const DocInternal &i) { visitChildren(i); }
void operator()(const DocHRef &h) { visitChildren(h); }
void operator()(const DocHtmlSummary &s) { visitChildren(s); }
void operator()(const DocHtmlDetails &d) { visitChildren(d); }
void operator()(const DocHtmlHeader &h) { visitChildren(h); }
void operator()(const DocImage &i) { visitChildren(i); }
void operator()(const DocDotFile &df) { visitChildren(df); }
void operator()(const DocMscFile &df) { visitChildren(df); }
void operator()(const DocDiaFile &df) { visitChildren(df); }
void operator()(const DocPlantUmlFile &df) { visitChildren(df); }
void operator()(const DocLink &l) { visitChildren(l); }
void operator()(const DocRef &r) { visitChildren(r); }
void operator()(const DocSecRefItem &s) { visitChildren(s); }
void operator()(const DocSecRefList &l) { visitChildren(l); }
void operator()(const DocParamSect &s) { visitChildren(s); }
void operator()(const DocParamList &) { }
void operator()(const DocXRefItem &x) { visitChildren(x); }
void operator()(const DocInternalRef &r) { visitChildren(r); }
void operator()(const DocText &t) { visitChildren(t); }
void operator()(const DocHtmlBlockQuote &q) { visitChildren(q); }
void operator()(const DocVhdlFlow &) { }
void operator()(const DocParBlock &pb) { visitChildren(pb); }
private:
void filter(const QCString &str);
TextStream &m_t;
};
#endif
| 5,331
|
C++
|
.h
| 105
| 46.52381
| 79
| 0.599616
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,698
|
fileparser.h
|
doxygen_doxygen/src/fileparser.h
|
/******************************************************************************
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef FILEPARSER_H
#define FILEPARSER_H
#include "parserintf.h"
/** @brief Generic code parser */
class FileCodeParser : public CodeParserInterface
{
public:
void parseCode(OutputCodeList &codeOutIntf,
const QCString &scopeName,
const QCString &input,
SrcLangExt lang,
bool stripCodeComments,
bool isExampleBlock,
const QCString &exampleName=QCString(),
const FileDef *fileDef=nullptr,
int startLine=-1,
int endLine=-1,
bool inlineFragment=FALSE,
const MemberDef *memberDef=nullptr,
bool showLineNumbers=TRUE,
const Definition *searchCtx=nullptr,
bool collectXRefs=TRUE
) override;
void resetCodeParserState() override {}
};
#endif
| 1,588
|
C++
|
.h
| 40
| 30.925
| 79
| 0.612047
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,699
|
membergroup.h
|
doxygen_doxygen/src/membergroup.h
|
/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef MEMBERGROUP_H
#define MEMBERGROUP_H
#include <vector>
#include <map>
#include <memory>
#include "types.h"
#include "reflist.h"
#define DOX_NOGROUP -1
class MemberList;
class MemberDef;
class ClassDef;
class NamespaceDef;
class FileDef;
class ModuleDef;
class GroupDef;
class OutputList;
class Definition;
class DefinitionMutable;
class RefItem;
class TextStream;
/** A class representing a group of members. */
class MemberGroup
{
public:
//MemberGroup();
MemberGroup(const Definition *container,int id,const QCString &header,
const QCString &docs,const QCString &docFile,int docLine,MemberListContainer con);
QCString header() const { return grpHeader; }
int groupId() const { return grpId; }
void insertMember(MemberDef *md);
void setAnchors();
void writePlainDeclarations(OutputList &ol,bool inGroup,
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod,
int indentLevel, const ClassDef *inheritedFrom,const QCString &inheritId) const;
void writeDeclarations(OutputList &ol,
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod,
bool showInline=FALSE) const;
void writeDocumentation(OutputList &ol,const QCString &scopeName,
const Definition *container,bool showEnumValues,bool showInline) const;
void writeDocumentationPage(OutputList &ol,const QCString &scopeName,
const DefinitionMutable *container) const;
void writeTagFile(TextStream &,bool qualifiedName=false);
void addGroupedInheritedMembers(OutputList &ol,const ClassDef *cd,
MemberListType lt,
const ClassDef *inheritedFrom,const QCString &inheritId) const;
void setAnonymousEnumType();
const QCString &documentation() const { return doc; }
bool allMembersInSameSection() const { return inSameSection; }
void addToDeclarationSection();
void countDecMembers();
void countDocMembers();
int countGroupedInheritedMembers(MemberListType lt);
void distributeMemberGroupDocumentation();
void findSectionsInDocumentation(const Definition *d);
int numDecMembers() const;
int numDecEnumValues() const;
int numDocMembers() const;
int numDocEnumValues() const;
const Definition *container() const;
const Definition *memberContainer() const;
int countInheritableMembers(const ClassDef *inheritedFrom) const;
void addListReferences(Definition *d);
void setRefItems(const RefItemVector &sli);
const MemberList &members() const { return *memberList.get(); }
QCString docFile() const { return m_docFile; }
int docLine() const { return m_docLine; }
private:
const Definition *m_container;
std::unique_ptr<MemberList> memberList; // list of all members in the group
MemberList *inDeclSection = nullptr;
int grpId = 0;
QCString grpHeader;
QCString fileName; // base name of the generated file
QCString doc;
bool inSameSection = true;
QCString m_docFile;
int m_docLine;
RefItemVector m_xrefListItems;
};
class MemberGroupRefList : public std::vector<MemberGroup *>
{
};
class MemberGroupList : public std::vector< std::unique_ptr<MemberGroup> >
{
};
/** Data collected for a member group */
struct MemberGroupInfo
{
void setRefItems(const RefItemVector &sli);
QCString header;
QCString doc;
QCString docFile;
int docLine = -1;
QCString compoundName;
RefItemVector m_sli;
};
using MemberGroupInfoMap = std::unordered_map< int,std::unique_ptr<MemberGroupInfo> >;
#endif
| 4,328
|
C++
|
.h
| 112
| 34.446429
| 115
| 0.731254
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,700
|
configimpl.h
|
doxygen_doxygen/src/configimpl.h
|
/******************************************************************************
*
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef CONFIGIMPL_H
#define CONFIGIMPL_H
#include <vector>
#include <unordered_map>
#include <string>
#include <memory>
#include <iostream>
#include "containers.h"
#include "qcstring.h"
#include "config.h"
#include "construct.h"
class TextStream;
/** Abstract base class for any configuration option.
*/
class ConfigOption
{
friend class ConfigImpl;
public:
ABSTRACT_BASE_CLASS(ConfigOption)
/*! The type of option */
enum OptionType
{
O_Info, //!< A section header
O_List, //!< A list of items
O_Enum, //!< A fixed set of items
O_String, //!< A single item
O_Int, //!< An integer value
O_Bool, //!< A boolean value
O_Obsolete, //!< An obsolete option
O_Disabled //!< Disabled compile time option
};
enum
{
/*! Maximum length of an option in the config file. Used for
* alignment purposes.
*/
MAX_OPTION_LENGTH = 23
};
ConfigOption(OptionType t) : m_kind(t)
{
m_spaces.fill(' ',40);
}
/*! returns the kind of option this is. */
OptionType kind() const { return m_kind; }
QCString name() const { return m_name; }
QCString docs() const { return m_doc; }
QCString dependsOn() const { return m_dependency; }
void addDependency(const char *dep) { m_dependency = dep; }
void setEncoding(const QCString &e) { m_encoding = e; }
void setUserComment(const QCString &u) { m_userComment += u; }
protected:
virtual void writeTemplate(TextStream &t,bool sl,bool upd) = 0;
virtual void compareDoxyfile(TextStream &t,Config::CompareMode compareMode) = 0;
virtual void writeXMLDoxyfile(TextStream &t) = 0;
virtual void writeXSDDoxyfile(TextStream &t) = 0;
virtual void convertStrToVal(Config::CompareMode) {}
virtual void emptyValueToDefault() {}
virtual void substEnvVars() = 0;
virtual void init() {}
virtual bool isDefault() { return true; }
void writeBoolValue(TextStream &t,bool v,bool initSpace = true);
void writeIntValue(TextStream &t,int i,bool initSpace = true);
void writeStringValue(TextStream &t,const QCString &s,bool initSpace = true,bool wasQuoted = false);
void writeStringList(TextStream &t,const StringVector &l);
QCString m_spaces;
QCString m_name;
QCString m_doc;
QCString m_dependency;
QCString m_encoding;
QCString m_userComment;
OptionType m_kind;
};
/** Section marker for grouping the configuration options.
*/
class ConfigInfo : public ConfigOption
{
public:
ConfigInfo(const char *name,const char *doc)
: ConfigOption(O_Info)
{
m_name = name;
m_doc = doc;
}
void writeTemplate(TextStream &t, bool sl,bool) override;
void compareDoxyfile(TextStream &,Config::CompareMode) override {}
void writeXMLDoxyfile(TextStream &) override {}
void writeXSDDoxyfile(TextStream &t) override {}
void substEnvVars() override {}
};
/** Class representing a list type option.
*/
class ConfigList : public ConfigOption
{
public:
enum WidgetType { String, File, Dir, FileAndDir };
ConfigList(const char *name,const char *doc)
: ConfigOption(O_List)
{
m_name = name;
m_doc = doc;
m_widgetType = String;
}
void addValue(const char *v) { m_defaultValue.emplace_back(v); }
void setWidgetType(WidgetType w) { m_widgetType = w; }
WidgetType widgetType() const { return m_widgetType; }
StringVector *valueRef() { return &m_value; }
StringVector getDefault() { return m_defaultValue; }
void emptyValueToDefault() override { if (m_value.empty() && !m_defaultValue.empty()) m_value=m_defaultValue; };
void writeTemplate(TextStream &t,bool sl,bool) override;
void compareDoxyfile(TextStream &t,Config::CompareMode compareMode) override;
void writeXMLDoxyfile(TextStream &t) override;
void writeXSDDoxyfile(TextStream &t) override;
void substEnvVars() override;
void init() override { m_value = m_defaultValue; }
bool isDefault() override;
private:
StringVector m_value;
StringVector m_defaultValue;
WidgetType m_widgetType;
};
/** Class representing an enum type option.
*/
class ConfigEnum : public ConfigOption
{
public:
ConfigEnum(const char *name,const char *doc,const char *defVal)
: ConfigOption(O_Enum)
{
m_name = name;
m_doc = doc;
m_value = defVal;
m_defValue = defVal;
}
void addValue(const char *v) { m_valueRange.emplace_back(v); }
const std::vector<QCString> &values() const { return m_valueRange; }
QCString *valueRef() { return &m_value; }
void substEnvVars() override;
void writeTemplate(TextStream &t,bool sl,bool) override;
void convertStrToVal(Config::CompareMode compareMode) override;
void compareDoxyfile(TextStream &t,Config::CompareMode compareMode) override;
void writeXMLDoxyfile(TextStream &t) override;
void writeXSDDoxyfile(TextStream &t) override;
void init() override { m_value = m_defValue; }
bool isDefault() override { return m_value == m_defValue; }
private:
std::vector<QCString> m_valueRange;
QCString m_value;
QCString m_defValue;
};
/** Class representing a string type option.
*/
class ConfigString : public ConfigOption
{
public:
enum WidgetType { String, File, Dir, Image, FileAndDir };
ConfigString(const char *name,const char *doc)
: ConfigOption(O_String)
{
m_name = name;
m_doc = doc;
m_widgetType = String;
}
void setWidgetType(WidgetType w) { m_widgetType = w; }
WidgetType widgetType() const { return m_widgetType; }
void setDefaultValue(const char *v) { m_defValue = v; }
QCString *valueRef() { return &m_value; }
void writeTemplate(TextStream &t,bool sl,bool) override;
void compareDoxyfile(TextStream &t,Config::CompareMode compareMode) override;
void writeXMLDoxyfile(TextStream &t) override;
void writeXSDDoxyfile(TextStream &t) override;
void substEnvVars() override;
void init() override { m_value = m_defValue; }
void emptyValueToDefault() override { if (m_value.isEmpty()) m_value=m_defValue; };
bool isDefault() override { return m_value.stripWhiteSpace() == m_defValue.stripWhiteSpace(); }
private:
QCString m_value;
QCString m_defValue;
WidgetType m_widgetType;
};
/** Class representing an integer type option.
*/
class ConfigInt : public ConfigOption
{
public:
ConfigInt(const char *name,const char *doc,int minVal,int maxVal,int defVal)
: ConfigOption(O_Int)
{
m_name = name;
m_doc = doc;
m_value = defVal;
m_defValue = defVal;
m_minVal = minVal;
m_maxVal = maxVal;
}
QCString *valueStringRef() { return &m_valueString; }
int *valueRef() { return &m_value; }
int minVal() const { return m_minVal; }
int maxVal() const { return m_maxVal; }
void convertStrToVal(Config::CompareMode compareMode) override;
void substEnvVars() override;
void writeTemplate(TextStream &t,bool sl,bool upd) override;
void compareDoxyfile(TextStream &t,Config::CompareMode compareMode) override;
void writeXMLDoxyfile(TextStream &t) override;
void writeXSDDoxyfile(TextStream &t) override;
void init() override { m_value = m_defValue; }
bool isDefault() override { return m_value == m_defValue; }
private:
int m_value;
int m_defValue;
int m_minVal;
int m_maxVal;
QCString m_valueString;
};
/** Class representing a Boolean type option.
*/
class ConfigBool : public ConfigOption
{
public:
ConfigBool(const char *name,const char *doc,bool defVal)
: ConfigOption(O_Bool)
{
m_name = name;
m_doc = doc;
m_value = defVal;
m_defValue = defVal;
}
QCString *valueStringRef() { return &m_valueString; }
bool *valueRef() { return &m_value; }
void convertStrToVal(Config::CompareMode compareMode) override;
void substEnvVars() override;
void setValueString(const QCString &v) { m_valueString = v; }
void writeTemplate(TextStream &t,bool sl,bool upd) override;
void compareDoxyfile(TextStream &t,Config::CompareMode compareMode) override;
void writeXMLDoxyfile(TextStream &t) override;
void writeXSDDoxyfile(TextStream &t) override;
void init() override { m_value = m_defValue; }
bool isDefault() override { return m_value == m_defValue; }
private:
bool m_value;
bool m_defValue;
QCString m_valueString;
};
/** Section marker for obsolete options
*/
class ConfigObsolete : public ConfigOption
{
public:
ConfigObsolete(const char *name,OptionType orgType) : ConfigOption(O_Obsolete), m_orgType(orgType)
{ m_name = name; }
void writeTemplate(TextStream &,bool,bool) override;
void compareDoxyfile(TextStream &,Config::CompareMode) override {}
void writeXMLDoxyfile(TextStream &) override {}
void writeXSDDoxyfile(TextStream &) override {}
void substEnvVars() override {}
OptionType orgType() const { return m_orgType; }
StringVector *valueListRef() { return &m_listvalue; }
QCString *valueStringRef() { return &m_valueString; }
void markAsPresent() { m_present = true; }
bool isPresent() const { return m_present; }
private:
OptionType m_orgType;
StringVector m_listvalue;
QCString m_valueString;
bool m_present = false;
};
/** Section marker for compile time optional options
*/
class ConfigDisabled : public ConfigOption
{
public:
ConfigDisabled(const char *name) : ConfigOption(O_Disabled)
{ m_name = name; }
void writeTemplate(TextStream &,bool,bool) override;
void compareDoxyfile(TextStream &,Config::CompareMode) override {}
void writeXMLDoxyfile(TextStream &) override {}
void writeXSDDoxyfile(TextStream &) override;
void substEnvVars() override {}
};
// some convenience macros for access the config options
#define ConfigImpl_getString(val) ConfigImpl::instance()->getString(__FILE__,__LINE__,val)
#define ConfigImpl_getInt(val) ConfigImpl::instance()->getInt(__FILE__,__LINE__,val)
#define ConfigImpl_getList(val) ConfigImpl::instance()->getList(__FILE__,__LINE__,val)
#define ConfigImpl_getEnum(val) ConfigImpl::instance()->getEnum(__FILE__,__LINE__,val)
#define ConfigImpl_getBool(val) ConfigImpl::instance()->getBool(__FILE__,__LINE__,val)
using ConfigOptionList = std::vector< std::unique_ptr<ConfigOption> >;
using ConfigOptionMap = std::unordered_map< std::string, ConfigOption* >;
/** Singleton for configuration variables.
*
* This object holds the global static variables
* read from a user-supplied configuration file.
* The static member instance() can be used to get
* a pointer to the one and only instance.
*
* Set all variables to their default values by
* calling Config::instance()->init()
*
*/
class ConfigImpl
{
public:
/////////////////////////////
// public API
/////////////////////////////
ConfigImpl();
/*! Returns the one and only instance of this class */
static ConfigImpl *instance()
{
if (!m_instance) m_instance = std::make_unique<ConfigImpl>();
return m_instance.get();
}
/*! Delete the instance */
static void deleteInstance()
{
m_instance.reset();
}
/*!
* @name Getting configuration values.
* @{
*/
/*! Returns the value of the string option with name \a fileName.
* The arguments \a num and \a name are for debugging purposes only.
* There is a convenience function Config_getString() for this.
*/
QCString &getString(const char *fileName,int num,const char *name) const;
/*! Returns the value of the list option with name \a fileName.
* The arguments \a num and \a name are for debugging purposes only.
* There is a convenience function Config_getList() for this.
*/
StringVector &getList(const char *fileName,int num,const char *name) const;
/*! Returns the value of the enum option with name \a fileName.
* The arguments \a num and \a name are for debugging purposes only.
* There is a convenience function Config_getEnum() for this.
*/
QCString &getEnum(const char *fileName,int num,const char *name) const;
/*! Returns the value of the integer option with name \a fileName.
* The arguments \a num and \a name are for debugging purposes only.
* There is a convenience function Config_getInt() for this.
*/
int &getInt(const char *fileName,int num,const char *name) const;
/*! Returns the value of the boolean option with name \a fileName.
* The arguments \a num and \a name are for debugging purposes only.
* There is a convenience function Config_getBool() for this.
*/
bool &getBool(const char *fileName,int num,const char *name) const;
/*! Returns the ConfigOption corresponding with \a name or 0 if
* the option is not supported.
*/
ConfigOption *get(const QCString &name) const
{
auto it = m_dict.find(name.str());
return it!=m_dict.end() ? it->second : nullptr;
}
/* @} */
/*!
* @name Adding configuration options.
* @{
*/
/*! Starts a new configuration section with \a name and description \a doc.
* \returns An object representing the option.
*/
ConfigInfo *addInfo(const char *name,const char *doc)
{
ConfigInfo *result = new ConfigInfo(name,doc);
m_options.push_back(std::unique_ptr<ConfigOption>(result));
return result;
}
/*! Adds a new string option with \a name and documentation \a doc.
* \returns An object representing the option.
*/
ConfigString *addString(const char *name,
const char *doc)
{
ConfigString *result = new ConfigString(name,doc);
m_options.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! Adds a new enumeration option with \a name and documentation \a doc
* and initial value \a defVal.
* \returns An object representing the option.
*/
ConfigEnum *addEnum(const char *name,
const char *doc,
const char *defVal)
{
ConfigEnum *result = new ConfigEnum(name,doc,defVal);
m_options.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! Adds a new string option with \a name and documentation \a doc.
* \returns An object representing the option.
*/
ConfigList *addList(const char *name,
const char *doc)
{
ConfigList *result = new ConfigList(name,doc);
m_options.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! Adds a new integer option with \a name and documentation \a doc.
* The integer has a range between \a minVal and \a maxVal and a
* default value of \a defVal.
* \returns An object representing the option.
*/
ConfigInt *addInt(const char *name,
const char *doc,
int minVal,int maxVal,int defVal)
{
ConfigInt *result = new ConfigInt(name,doc,minVal,maxVal,defVal);
m_options.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! Adds a new boolean option with \a name and documentation \a doc.
* The boolean has a default value of \a defVal.
* \returns An object representing the option.
*/
ConfigBool *addBool(const char *name,
const char *doc,
bool defVal)
{
ConfigBool *result = new ConfigBool(name,doc,defVal);
m_options.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! Adds an option that has become obsolete. */
ConfigOption *addObsolete(const char *name,ConfigOption::OptionType orgType)
{
ConfigObsolete *result = new ConfigObsolete(name,orgType);
m_obsolete.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! Adds an option that has been disabled at compile time. */
ConfigOption *addDisabled(const char *name)
{
ConfigDisabled *result = new ConfigDisabled(name);
m_disabled.push_back(std::unique_ptr<ConfigOption>(result));
m_dict.emplace(name,result);
return result;
}
/*! @} */
/*! Writes a template configuration to stream \a t. If \a shortIndex
* is \c TRUE the description of each configuration option will
* be omitted.
*/
void writeTemplate(TextStream &t,bool shortIndex,bool updateOnly);
/*! Writes a the differences between the current configuration and the
* template configuration to stream \a t.
*/
void compareDoxyfile(TextStream &t,Config::CompareMode compareMode);
/*! Writes a the used settings of the current configuration as XML format
* to stream \a t.
*/
void writeXMLDoxyfile(TextStream &t);
/*! Writes all possible setting ids to an XSD file for validation
* through the stream \a t.
*/
void writeXSDDoxyfile(TextStream &t);
void setHeader(const char *header) { m_header = header; }
/////////////////////////////
// internal API
/////////////////////////////
/*! Converts the string values read from the configuration file
* to real values for non-string type options (like int, and bools)
*/
void convertStrToVal(Config::CompareMode compareMode);
/*! Sets default value in case value is empty
*/
void emptyValueToDefault();
/*! Replaces references to environment variable by the actual value
* of the environment variable.
*/
void substituteEnvironmentVars();
/*! Initialize config variables to their default value */
void init();
/*! Parse a configuration data in string \a str.
* \returns TRUE if successful, or FALSE if the string could not be
* parsed.
*/
bool parseString(const QCString &fn,const QCString &str,bool upd = FALSE);
/*! Parse a configuration file with name \a fn.
* \returns TRUE if successful, FALSE if the file could not be
* opened or read.
*/
bool parse(const QCString &fn,bool upd = FALSE);
/*! Append user start comment
*/
void appendStartComment(const QCString &u)
{
m_startComment += u;
}
/*! Append user comment
*/
void appendUserComment(const QCString &u)
{
m_userComment += u;
}
/*! Append replacement string
*/
void appendStoreRepl(const QCString &u)
{
m_storeRepl += u;
}
/*! Take the user start comment and reset it internally
* \returns user start comment
*/
QCString takeStartComment()
{
QCString result=m_startComment;
m_startComment.clear();
return substitute(result,"\r","");
}
/*! Take the user comment and reset it internally
* \returns user comment
*/
QCString takeUserComment()
{
QCString result=m_userComment;
m_userComment.clear();
return substitute(result,"\r","");
}
/*! Take the replacement string
* \returns the replacement string
*/
QCString takeStoreRepl()
{
QCString result=m_storeRepl;
m_storeRepl.clear();
return substitute(result,"\r","");
}
static void config_err(const char *fmt, ...);
static void config_term(const char *fmt, ...);
static void config_warn(const char *fmt, ...);
private:
ConfigOptionList m_options;
ConfigOptionList m_obsolete;
ConfigOptionList m_disabled;
ConfigOptionMap m_dict;
static std::unique_ptr<ConfigImpl> m_instance;
QCString m_startComment;
QCString m_userComment;
QCString m_storeRepl;
QCString m_header;
};
#endif
| 20,743
|
C++
|
.h
| 566
| 31.487633
| 116
| 0.671289
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,701
|
sitemap.h
|
doxygen_doxygen/src/sitemap.h
|
/*
* Copyright (C) 1997-2023 Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*/
#ifndef SITEMAP_H
#define SITEMAP_H
#include <memory>
#include "qcstring.h"
#include "construct.h"
#include "indexlist.h"
class Definition;
class MemberDef;
class Sitemap : public IndexIntf
{
public:
Sitemap();
~Sitemap();
NON_COPYABLE(Sitemap)
void initialize();
void finalize();
void incContentsDepth(){}
void decContentsDepth(){}
void addContentsItem(bool isDir, const QCString & name, const QCString & ref,
const QCString & file, const QCString & anchor,
bool separateIndex,bool addToNavIndex,
const Definition *def){}
void addIndexItem(const Definition *context, const MemberDef *md,
const QCString §ionAnchor, const QCString &title){}
void addIndexFile(const QCString & name);
void addImageFile(const QCString & name){}
void addStyleSheetFile(const QCString & name){}
static inline const QCString sitemapFileName = "sitemap.xml";
private:
class Private;
std::unique_ptr<Private> p;
};
class Crawlmap : public IndexIntf
{
public:
Crawlmap();
~Crawlmap();
NON_COPYABLE(Crawlmap)
void initialize();
void finalize();
void incContentsDepth(){}
void decContentsDepth(){}
void addContentsItem(bool isDir, const QCString & name, const QCString & ref,
const QCString & file, const QCString & anchor,
bool separateIndex,bool addToNavIndex,
const Definition *def);
void addIndexItem(const Definition *context, const MemberDef *md,
const QCString §ionAnchor, const QCString &title);
void addIndexFile(const QCString & name);
void addImageFile(const QCString & name){}
void addStyleSheetFile(const QCString & name){}
static inline const QCString crawlFileName = "doxygen_crawl";
private:
class Private;
std::unique_ptr<Private> p;
};
#endif // SITEMAP_H
| 2,560
|
C++
|
.h
| 69
| 31.086957
| 81
| 0.691842
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,702
|
translator_fa.h
|
doxygen_doxygen/src/translator_fa.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*
* Description : Doxygen Persian (Farsi) Translator
* Author : Ali Nadalizadeh < nadalizadeh at gmail dot com >
*
* ChangeLog :
* Thu 06 Jul 2006 11:54:09 PM IRDT <nadalizadeh at gmail dot com>
* >> First version of persian language support has been completed.
*
* Mon 04 Feb 2008 11:52:09 AM IRDT <nadalizadeh at gmail dot com>
* >> Obsolete methods removed. Translated more string(s) to persian. Upgraded to 1_5_4 adapter.
*
* Fri 04 Jun 2010 04:05:24 PM IRDT <nadalizadeh at gmail dot com>
* >> Implement missing new methods since 1.6.0.
* >> Add English to Persian digit convertor. (for date/time digits)
*
* Translation feedbacks are really appreciated.
*/
#ifndef TRANSLATOR_FA_H
#define TRANSLATOR_FA_H
#define HtmlRightToLeft QCString("<div dir=\"rtl\">")
#define HtmlLeftToRight QCString("<div dir=\"ltr\">")
#define HtmlDivEnd QCString("</div>")
class TranslatorPersian : public TranslatorAdapter_1_7_5
{
private:
/** Converts english digits of an input string to persian equivalents.
*/
QCString convertDigitsToFarsi(QCString str)
{
QCString output;
const char * PersianDigits[] = { "۰", "۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹" };
for(unsigned i=0; i<str.length(); i++)
{
if (str.at(i) >= '0' && str.at(i) <= '9')
output += PersianDigits[ str.at(i) - '0' ];
else
output += str.at(i);
}
return output;
}
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in Persian using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "persian"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The Persian LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "";
}
QCString latexCommandName() override
{
return p_latexCommandName("xelatex");
}
QCString trISOLang() override
{
return "fa";
}
QCString getLanguageString() override
{
return "0x429 Persian (Iran)";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "توابع مربوط"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(لازم به ذکر است که اينها توابع عضو نيستند)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "توضيحات جزئی"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "جزئیات"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "مستندات تعریف گونه ها"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "های عضو Enumeration مستندات"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "توضيحات توابع عضو"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Field مستندات";
}
else
{
return "مستندات متغيير های عضو";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "بيشتر..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "ليست تمام اعضاء "; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "ليست اعضاء"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "اين ليستی کامل از همه اعضای"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return "شامل همه ی اعضای به ارث برده شده می باشد."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="تولید شده توسط نرم افزار دی اکسیژن ";
if (!s.isEmpty()) result+=" برای "+s;
result+=" از کد برنامه ";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "enum نام"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "enum مقدار"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "تعریف شده در"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Modules"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "سلسله مراتب کلاس ها"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "ساختار های داده ";
}
else
{
return "ليست کلاس ها ";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "ليست فايل ها"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "فضاهای داده ها";
}
else
{
return "اعضاء کلاس ها";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globals";
}
else
{
return "اعضاء پرونده";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "صفحات مربوط"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "مثال ها"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "جستجو"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "ليست و سلسله مراتب درختی کلاس ها به صورت مرتب شده :";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="ليست همه ي پرونده های ";
if (!extractAll) result+="(مستند شده) ";
result+=" :";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "ليست ساختارهای داده به همراه توضيحی کوتاه :";
}
else
{
return "ليست کلاس ها ، ساختارهای داده و ... به همراه توضيحات مختصر راجع به آنها :";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result=" در ذيل ليست ";
if (!extractAll)
{
result+="آن اعضايي که مستند شده اند ";
}
else
{
result+="همه ی اعضاء ";
}
result+=" به همراه ارتباطشان با ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="ساختارهای داده ";
}
else
{
result+="كلاس ها ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="و مستندات ساختار داده برای هر عضو ";
}
else
{
result+="و مستندات کلاس برای هر عضو ";
}
result+="را مشاهده ميکنيد :";
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="ليست همه ی توابع ، متغيير ها، تعاريف و ... ";
if (!extractAll) result+="(مستند شده) ";
result+=" به همراه ارتباط آنها ";
result+="با پرونده هايی که به آن مربوط اند :";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "ليست همه ی مثال ها :"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "لیست تمام صفحات و مستندات مربوطه :"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "لیست تمام ماژول ها:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return "مستندات" + (!projName.isEmpty()?" " + projName : ""); }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "فهرست ماژول ها"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "فهرست سلسله مراتب"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "فهرست ساختار داده ها";
}
else
{
return "فهرست کلاس های";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "فهرست پرونده ها"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "مستندات ماژول"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "مستندات ساختار داده ها";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "مستندات کلاس ها";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "مستندات فایل"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "راهنمای مرجع"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "تعاريف"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "تعریف گونه ها"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "تعاريف"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "توابع"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "متغيير ها"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "معرف ها"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Define Documentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Typedef"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "مستندات تعريف"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "مستندات معرف"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "توضيح تابع"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "توضيح متغير"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "ساختارهای داده";
}
else
{
return "کلاس ها";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result = HtmlDivEnd + HtmlRightToLeft + QCString("توليد شده در ") +date ;
if (!projName.isEmpty()) result+=" برای "+projName;
result+=" توسط";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return ""+clName+" نمودار وراثت برای :";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "اخطار"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "نسخه"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "تاريخ"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "خروجی"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "See also"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "پارامترها"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "استثناء ها"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "توليد شده توسط"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "ليست فضاهای نام"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="در ذيل ليستی از همه ی فضاهای نام ";
if (!extractAll) result+="(مستند سازی شده) ";
result+="به همراه توضيح کوتاه آنها مشاهده می کنيد :";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "کلاس های دوست"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "مستندات توابع مربوط و دوست"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result;
switch(compType)
{
case ClassDef::Class: result=" کلاس"; break;
case ClassDef::Struct: result=" ساختار داده"; break;
case ClassDef::Union: result=" Union"; break;
case ClassDef::Interface: result=" Interface"; break;
case ClassDef::Protocol: result=" Protocol"; break;
case ClassDef::Category: result=" Category"; break;
case ClassDef::Exception: result=" استثناء"; break;
default: break;
}
if (isTemplate) result+=" قالب";
result=QCString(clName) + " مرجع" +result ;
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" مرجع پرونده";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" مرجع فضای نام";
return result;
}
QCString trPublicMembers() override
{ return "توابع عمومی عضو کلاس"; }
QCString trPublicSlots() override
{ return "های عمومی Slot"; }
QCString trSignals() override
{ return "سيگنال ها"; }
QCString trStaticPublicMembers() override
{ return "توابع ثابت عمومی عضو کلاس"; }
QCString trProtectedMembers() override
{ return "توابع خصوصی عضو کلاس"; }
QCString trProtectedSlots() override
{ return "های محافظت شده Slot"; }
QCString trStaticProtectedMembers() override
{ return "توابع ثابت محافظت شده عضو کلاس"; }
QCString trPrivateMembers() override
{ return "توابع خصوصی عضو کلاس"; }
QCString trPrivateSlots() override
{ return "های خصوصی Slot"; }
QCString trStaticPrivateMembers() override
{ return "توابع خصوصی ثابت عضو کلاس"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" و ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return ".را به ارث می برد "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return ".اين کلاس را به ارث برده است "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Reimplemented from "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "تعریف شده است "+trWriteList(numEntries)+"دوباره در ";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "اعضای فضاهای نام"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="ليست همه اعضای فضای نام ";
if (!extractAll) result+="(مستند شده) ";
result+=" با ارتباطشان با";
result+="فضاهای نامی که به آن مربوط اند را مشاهده ميکنيد :";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "فهرست فضاهای نام"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "توضيحات فضای نام"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "فضاهای نام"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="مستندات اين ";
switch(compType)
{
case ClassDef::Class: result+="کلاس"; break;
case ClassDef::Struct: result+="ساختار داده"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" از روی پرونده ";
if (single) result+=""; else result+="های ";
result+="زير توليد شده است :";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "مقادير بازگشتی"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "صفحه ی اصلی"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "ص."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return ".در خط @0 از پرونده @1 تعريف شده است";
}
QCString trDefinedInSourceFile() override
{
return ".در فايل @0 تعريف شده است";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "منسوخ شده";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Collaboration diagram for "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "نمودار شامل شدن ها برای "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "مستندات توباع آغازین و پایانی";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "کد منبع اين پرونده.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "توضيحات اين پرونده.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "پیش شرط";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "پس شرط";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "مقدار اوليه :";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "کد";
}
QCString trGraphicalHierarchy() override
{
return "سلسله مراتب گرافيکی کلاس";
}
QCString trGotoGraphicalHierarchy() override
{
return "نمایش نمودار درختی گرافیکی کلاس";
}
QCString trGotoTextualHierarchy() override
{
return "نمایش نمودار درختی متنی کلاس";
}
QCString trPageIndex() override
{
return "فهرست صفحات";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "نکته";
}
QCString trPublicTypes() override
{
return "های عمومی Type";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "فضاهای داده ها";
}
else
{
return "خواص (متغييرهای) عمومی";
}
}
QCString trStaticPublicAttribs() override
{
return "خواص (متغييرهای) عمومی ثابت";
}
QCString trProtectedTypes() override
{
return "های حفاظت شده Type";
}
QCString trProtectedAttribs() override
{
return "خواص (متغييرهای) حفاظت شده";
}
QCString trStaticProtectedAttribs() override
{
return "خواص (متغييرهای) حفاظت شده ثابت";
}
QCString trPrivateTypes() override
{
return "های خصوصی Type";
}
QCString trPrivateAttribs() override
{
return "خواص (متغييرهای) خصوصی";
}
QCString trStaticPrivateAttribs() override
{
return "خواص (متغييرهای) خصوصی ثابت";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "برای انجام";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "ليست کارهاي آينده";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return " استفاده شده توسط ";
}
QCString trRemarks() override
{
return "ملاحظات";
}
QCString trAttention() override
{
return "توجه";
}
QCString trInclByDepGraph() override
{
return "این نمودار فایل هایی را که این فایل را به طور مستقیم یا غیر مستقیم استفاده کرده اند نشان می دهد";
}
QCString trSince() override
{
return "از";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "راهنمای نمودار";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"This page explains how to interpret the graphs that are generated "
"by doxygen.<p>\n"
"Consider the following example:\n"
"\\code\n"
"/*! Invisible class because of truncation */\n"
"class Invisible { };\n\n"
"/*! Truncated class, inheritance relation is hidden */\n"
"class Truncated : public Invisible { };\n\n"
"/* Class not documented with doxygen comments */\n"
"class Undocumented { };\n\n"
"/*! Class that is inherited using public inheritance */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Class that is inherited using protected inheritance */\n"
"class ProtectedBase { };\n\n"
"/*! Class that is inherited using private inheritance */\n"
"class PrivateBase { };\n\n"
"/*! Class that is used by the Inherited class */\n"
"class Used { };\n\n"
"/*! Super class that inherits a number of other classes */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"If the \\c MAX_DOT_GRAPH_HEIGHT tag in the configuration file "
"is set to 240 this will result in the following graph:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"The boxes in the above graph have the following meaning:\n"
"<ul>\n"
"<li>%A filled black box represents the struct or class for which the "
"graph is generated.\n"
"<li>%A box with a black border denotes a documented struct or class.\n"
"<li>%A box with a gray border denotes an undocumented struct or class.\n"
"<li>%A box with a red border denotes a documented struct or class for"
"which not all inheritance/containment relations are shown. %A graph is "
"truncated if it does not fit within the specified boundaries.\n"
"</ul>\n"
"The arrows have the following meaning:\n"
"<ul>\n"
"<li>%A dark blue arrow is used to visualize a public inheritance "
"relation between two classes.\n"
"<li>%A dark green arrow is used for protected inheritance.\n"
"<li>%A dark red arrow is used for private inheritance.\n"
"<li>%A purple dashed arrow is used if a class is contained or used "
"by another class. The arrow is labeled with the variable(s) "
"through which the pointed class or struct is accessible.\n"
"<li>%A yellow dashed arrow denotes a relation between a template instance and "
"the template class it was instantiated from. The arrow is labeled with "
"the template parameters of the instance.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "راهنما";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "تست";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Test List";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "خاصیت ها";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "مستندات خاصیت";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "ساختار های داده";
}
else
{
return "كلاس ها";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Package "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "لیست بسته ها به همراه توضیح مختر در صورت وجود :";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "بسته ها";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "مقدار:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "اشکال";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "ليست اشکالات";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1256";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "178";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "فهرست";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
QCString result((first_capital ? "کلاس" : "کلاس"));
if (!singular) result+="ها";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool /*first_capital*/, bool singular) override
{
QCString result("پرونده");
if (!singular) result=result+" ها";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
QCString result((first_capital ? "فضای نام " : "فضای نام "));
if (!singular) result+="ها";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Group" : "group"));
if (!singular) result+="s";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
QCString result((first_capital ? "صفحه" : "صفحه"));
if (!singular) result+=" ها ";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
QCString result((first_capital ? "عضو" : "عضو"));
if (!singular) result+="ها";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Global" : "global"));
if (!singular) result+="s";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
QCString result((first_capital ? "Author" : "author"));
if (!singular) result+="s";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "را استفاده ميکند ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "را تکميل می کند "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return ".تکميل شده است "+trWriteList(numEntries)+" در";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "فهرست";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "لیست آیتم های از رده خارج";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "رویداد ها";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "مستندات رویداد";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "انواع بسته ها";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "توابع بسته ها";
}
QCString trPackageMembers() override
{
return "عضوها بسته ها";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Static Package Functions";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "خواص بسته ها";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Static Package Attributes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "همه";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "نمودار صدا زدن برای این تابع :";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "نتايج جستجو";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "متاسفانه هیچ صفحه ای برای جستجو ی شما یافت نشد.";
}
else if (numDocuments==1)
{
return "یک سند برای این مورد یافت شد.";
}
else
{
return "Found <b>$num</b> documents matching your query. "
"Showing best matches first.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Matches:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " کد و پرونده منبع";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "ساختار و سلسله مراتب شاخه ها"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "مستندات دايرکتوری"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "شاخه ها"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" مرجع شاخه ی"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool /*first_capital*/, bool singular) override
{
QCString result("شاخه");
if (singular) result+=" ها "+result;
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "This is an overloaded member function, "
"provided for convenience. It differs from the above "
"function only in what argument(s) it accepts.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "نمودار صدا زننده های این تابع:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "مستندات توابع عضو"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "لیست ساختار های داده"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "فیلدهای اطلاعات"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "ساختارهای داده به همراه توضیح کوتاه :"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool) override
{
return "توضیحات اعضا ساختارها به همراه مستندات ساختار داده ی مربوطه";
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Data Type Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Data Type Documentation"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "توابع و زیربرنامه ها"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "مستندات توابع و زیربرنامه ها"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "ساختار های داده"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "لیست ماژول ها"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool) override
{
QCString result="لیست ماژول ها به همراه توضیحات کوتاه";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Module"; break;
case ClassDef::Struct: result+=" Type"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Reference";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Module Reference";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "اعضاء ماژول"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool) override
{
QCString result="لیست اعضاء ماژول ها به همراه مستندات ماژول مربوطه";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Modules Index"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool, bool singular) override
{
QCString result("ماژول");
if (!singular) result+=" ها";
return result;
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="The documentation for this ";
switch(compType)
{
case ClassDef::Class: result+="module"; break;
case ClassDef::Struct: result+="type"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" was generated from the following file";
if (single) result+=":"; else result+="s:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "type", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool, bool singular) override
{
QCString result("زیربرنامه");
if (!singular) result+=" ها ";
return result;
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Type Constraints";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return QCString(name) + " Relation";
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "در حال بارگذاری...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "فضای نام جهانی";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "در حال جستجو...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "یافت نشد";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "پرونده ای در "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Includes file in "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه","یکشنبه" };
static const char *months[] = { "ژانویه","فوریه","مارس","آوریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return convertDigitsToFarsi(sdate);
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه", "يكشنبه" };
static const char *days_full[] = { "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه", "يكشنبه" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
return text;
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اُكتبر", "نوامبر", "دسامبر" };
static const char *months_full[] = { "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اُكتبر", "نوامبر", "دسامبر" };
QCString text = full? months_full[month-1] : months_short[month-1];
return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "قبلازظهر", "بعدازظهر" };
return dayPeriod[period?1:0];
}
};
#endif
| 63,375
|
C++
|
.h
| 1,596
| 31.76817
| 152
| 0.58264
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,703
|
filename.h
|
doxygen_doxygen/src/filename.h
|
/******************************************************************************
*
* Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef FILENAME_H
#define FILENAME_H
#include <memory>
#include <vector>
#include "linkedmap.h"
#include "utf8.h"
#include "util.h"
class FileDef;
/** Class representing all files with a certain base name */
class FileName : public std::vector< std::unique_ptr<FileDef> >
{
public:
FileName(const QCString &nm,const QCString &fn) : m_name(nm), m_fName(fn), m_pathName("tmp") {}
QCString fileName() const { return m_name; }
QCString fullName() const { return m_fName; }
QCString path() const { return m_pathName; }
private:
QCString m_name;
QCString m_fName;
QCString m_pathName;
};
//! Custom combined key compare and hash functor that uses a lower case string in
//! case CASE_SENSE_NAMES is set to NO.
class FileNameFn
{
public:
//! used as hash function
std::size_t operator()(const std::string& input) const noexcept
{
return std::hash<std::string>()(searchKey(input));
}
//! used as equal operator
bool operator() (const std::string &t1, const std::string &t2) const
{
return searchKey(t1) == searchKey(t2);
}
private:
std::string searchKey(const std::string &input) const
{
std::string key = input;
if (!getCaseSenseNames())
{
key = convertUTF8ToLower(key);
}
return key;
}
};
/** Ordered dictionary of FileName objects. */
class FileNameLinkedMap : public LinkedMap<FileName,FileNameFn,FileNameFn,
std::unordered_multimap<std::string,FileName*,FileNameFn,FileNameFn> >
{
};
#endif
| 2,227
|
C++
|
.h
| 67
| 29.328358
| 113
| 0.671781
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,704
|
declinfo.h
|
doxygen_doxygen/src/declinfo.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DECLINFO_H
#define DECLINFO_H
#include <stdio.h>
#include "qcstring.h"
#include "types.h"
extern void parseFuncDecl(const QCString &decl,
const SrcLangExt lang,
QCString &clName,
QCString &type,
QCString &name,
QCString &args,
QCString &funcTempList,
QCString &exceptions
);
#endif
| 1,162
|
C++
|
.h
| 31
| 29.225806
| 79
| 0.585106
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,705
|
translator_hi.h
|
doxygen_doxygen/src/translator_hi.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
/* English to Hindi keyword dictionary
* alias = उपनाम
* alias = उपनामगण
* architecture = वास्तुकला
* architectures = वास्तुकलाएं
* argument = तर्क
* arguments = तर्कगण
* attribute = गुण
* attrubutes = गुणगण
* category = श्रेणी
* categories = श्रेणीयाँ
* code = संकेत-लिपि
* codes = संकेत-लिपियाॅं
* component = अंग
* components = अंगगण
* concept = संकल्पना
* concepts = संकल्पनाएं
* configuration = विन्यास
* configurations = विन्यासगण
* const/constant = स्थिर
* consts/constants = स्थिरगण
* constructor = निर्माता
* class = वर्ग
* classes = वर्गगण
* datum = आंकड़ा
* data = आंकड़े
* data structure = आंकड़ा संरचना (datum structure)
* data structures = आंकड़े संरचनाएं
* destructor = नाशक
* directory = निर्देशिका
* directories = निर्देशिकाएं
* doxygen = डाॅक्सिजन
* entity = इकाइ
* entities = इकाइयाॅं
* enum/enumerator = परिगणक
* enumeration = परिगणना
* event = घटना
* events = घटनाएं
* example = उदाहरण
* examples = उदाहरणगण
* exception = अपवाद
* exceptions = अपवादगण
* field = भाग
* fields = भागगण
* file = फ़ाइल
* friend = मित्र
* friends = मित्रगण
* function/routine = फलन
* functions/routines = फलनगण
* global = वैश्र्विक
* globals = वैश्र्विकगण
* group = समूह
* groups = समूहगण
* instance = उदाहरण
* instances = उदाहरणगण
* instantiation = उदाहरणीकरण
* instantiations = उदाहरणीकरणगण
* interface = अंतराफलक
* interfaces = अंतराफलकगण
* inherit =
* inheritance = वरासत
* inherited = वरासित
* library = संग्रह
* libraries = संग्रहगण
* member = सदस्य
* members = सदस्यगण
* method = विधि
* methods = विधियाँ
* module = अनुखंड
* modules = अनुखंडगण
* namespace = नाम-स्थान
* operation = कार्यवाही
* operations = कार्यवाहीयाँ
* overload = अधिभार
* overloaded = अधिभारित
* package = संकुल
* packages = संकुलगण
* page = पृष्ठ
* pages = पृष्ठगण
* parameter = मापदंड
* parameters = मापदंडगण
* port = द्वार
* ports = द्वारगण
* private = निजी
* procedure = कार्यविधि
* procedures = कार्यविधियाँ
* process = प्रक्रिया
* processes = प्रक्रियाएं
* property = संपत्ति
* properties = संपत्तियाँ
* protected = संरक्षित
* protocol = प्रोटोकॉल
* public = सार्वजनिक
* record = अभिलेख
* records = अभिलेखगण
* shared = साझाकृत
* search = खोजें
* service = सेवा
* services = सेवाएं
* singleton = एकल
* singletons = एकलगण
* static = अचल
* struct/structure = संरचना
* structs/structures = संरचनाएं
* subfunction/subroutine = उपफलन
* subfunctions/subroutines = उपफलनगण
* subtype = उपप्ररुप
* subtypes = उपप्ररुपगण
* super = उत्तम
* synchronize = सिंक्रनाइज़
* synchronization = सिंक्रनाइज़ीकरण
* template = टेम्पलेट
* templates = टेम्पलेटगण
* typedef = प्ररुप-परिभाषा
* typedefs = प्ररुप-परिभाषागण
* union = मिलन
* unions = मिलनगण
* variable = परिवर्तनशील
* variables = परिवर्तनशीलगण
*/
#ifndef TRANSLATOR_HI_H
#define TRANSLATOR_HI_H
/*!
It is not necessary to include "translator.h" or
"translator_adapter.h" here. The files are included in the
language.cpp correctly. Not including any of the mentioned
files frees the maintainer from thinking about whether the
first, the second, or both files should be included or not, and
why. This holds namely for localized translators because their
base class is changed occasionally to adapter classes when the
Translator class changes the interface, or back to the
Translator class (by the local maintainer) when the localized
translator is made up-to-date again.
*/
class TranslatorHindi : public TranslatorAdapter_1_9_4
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "hindi"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{ return ""; }
QCString latexCommandName() override
{
return p_latexCommandName("xelatex");
}
QCString trISOLang() override
{ return "hi-IN"; }
QCString getLanguageString() override
{ return "0x439 Hindi"; }
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "संबंधित फलन"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(ध्यान दें कि ये सदस्य फलन नहीं हैं।)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "विस्तृत विवरण"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "विवरण"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "सदस्य प्ररुप-परिभाषा दस्तावेज़ीकरण"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "सदस्य परिगणना दस्तावेज़ीकरण"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "सदस्य फलन दस्तावेज़ीकरण"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "भाग दस्तावेज़ीकरण";
else
return "सदस्य आंकड़े दस्तावेज़ीकरण";
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "और..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "सभी सदस्यों की सूची"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "सदस्य सूची"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "यह है सदस्यों की पूरी सूची "; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", सभी विरासत में मिले सदस्यों सहित।"; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{
QCString result = "स्रोत संकेत-लिपि से ";
if (!s.isEmpty())
result += s + " के लिए ";
result += "डॉक्सिजन द्वारा स्वचालित रूप से उत्पन्न किया गया।";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "परिगणक नाम"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "परिगणक मूल्य"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "में परिभाषित"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "अनुखंडगण"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "वर्ग पदानुक्रम"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े संरचनाएं";
else
return "वर्ग सूची";
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "फ़ाइल सूची"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े भागगण";
else
return "वर्ग सदस्यगण";
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "वैश्र्विकगण";
else
return "फ़ाइल सदस्यगण";
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "संबंधित पृष्ठगण"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "उदाहरणगण"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "खोजें"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
return "यहाँ वर्गगण की एक पदानुक्रमनुसार सूची दी गई है:";
else
return "यह वरासत सूची मोटे तौर पर क्रमबद्ध है, लेकिन पूरी तरह से नहीं, वर्णानुक्रम में:";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result = "यहाँ संक्षिप्त विवरण के साथ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "फ़ाइलों की सूची दी गई है:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "यहाँ संक्षिप्त विवरण के साथ आंकड़े संरचनाएँ हैं:";
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
return "यहाँ संक्षिप्त विवरण के साथ वर्गगण दी गई हैं:";
else
return "यहाँ संक्षिप्त विवरण के साथ सभी वर्गगण, संरचनाएं, मिलनगण और अंतराफलकगण की सूची दी गई हैं:";
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result = "यहाँ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result += "संरचना और मिलन भागगण";
else
result += "वर्ग सदस्यगण";
result += " कि लिंको के साथ ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result += "प्रत्येक भाग के संरचना/मिलन दस्तावेज़ीकरण ";
else
result += "प्रत्येक भाग के वर्ग दस्तावेज़ीकरण ";
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result += "संबंधित संरचनाएं/मिलनगण ";
else
result += "संबंधित वर्गगण ";
}
result += "कि सूची दि गई हैं:";
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result = "यहाँ सभी ";
if (!extractAll) result += "दस्तावेज़ीकृत ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
result += "फलनगण, परिवर्तनशीलगण, मैक्रोगण, परिगणकगण और प्ररुप-परिभाषाएं";
else
result += "फ़ाइल सदस्यगण";
result += " कि लिंको के साथ ";
if (extractAll)
result += "संबंधित फाइलों ";
else
result += "दस्तावेज़ीकरण ";
result += "कि सूची दि गई हैं:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "यहाँ सभी उदाहरणों की एक सूची दी गई है:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "यहाँ सभी संबंधित दस्तावेज़ीकरण पृष्ठों की सूची दी गई है:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "यहाँ सभी अनुखंडों की एक सूची है:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "दस्तावेज़ीकरण"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "अनुखंड अनुक्रमणिका"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "पदानुक्रमनुसार अनुक्रमणिका"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े संरचना अनुक्रमणिका";
else
return "वर्ग अनुक्रमणिका";
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "फ़ाइल अनुक्रमणिका"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "अनुखंड दस्तावेज़ीकरण"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े संरचना दस्तावेज़ीकरण";
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
return trDesignUnitDocumentation();
else
return "वर्ग दस्तावेज़ीकरण";
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "फ़ाइल दस्तावेज़ीकरण"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "संदर्भ पुस्तिका"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "मैक्रोगण"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "प्ररुप-परिभाषाएं"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "परिगणकगण"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "फलनगण"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "परिवर्तनशीलगण"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "परिगणक"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "मैक्रो परिभाषा दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "प्ररुप-परिभाषा दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "परिगणना प्ररूप दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "फलन दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "परिवर्तनशील दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े संरचनाएं";
else
return "वर्गगण";
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result;
if (!projName.isEmpty())
result += projName + " के लिए ";
result += date + " पर उतपन्न किया गया: ";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{ return clName + " के लिए वरासत आरेख:"; }
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "चेतावनी"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "संस्करण"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "दिनांक"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "वापसी"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "यह भी देखें"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "मापदंडगण"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "अपवादगण"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "द्वारा उत्पन्न"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "नाम-स्थान सूची"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result = "यहाँ संक्षिप्त विवरण के साथ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "नाम-स्थानों की सूची दी गई है:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "मित्रगण"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "मित्रगण और संबंधित फलन दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(
const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result += " वर्ग"; break;
case ClassDef::Struct: result += " संरचना"; break;
case ClassDef::Union: result += " मिलन"; break;
case ClassDef::Interface: result += " अंतराफलक"; break;
case ClassDef::Protocol: result += " प्रोटोकॉल"; break;
case ClassDef::Category: result += " श्रेणी"; break;
case ClassDef::Exception: result += " अपवाद"; break;
default: break;
}
if (isTemplate)
result += " टेम्पलेट";
result += " संदर्भ";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result = fileName;
result += " फ़ाइल संदर्भ";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result = namespaceName;
result += " नाम-स्थान संदर्भ";
return result;
}
QCString trPublicMembers() override
{ return "सार्वजनिक सदस्य फलनगण"; }
QCString trPublicSlots() override
{ return "सार्वजनिक खांचें"; }
QCString trSignals() override
{ return "संकेतगण"; }
QCString trStaticPublicMembers() override
{ return "अचल सार्वजनिक सदस्य फलनगण"; }
QCString trProtectedMembers() override
{ return "संरक्षित सदस्य फलनगण"; }
QCString trProtectedSlots() override
{ return "संरक्षित खांचे"; }
QCString trStaticProtectedMembers() override
{ return "अचल संरक्षित सदस्य फलनगण"; }
QCString trPrivateMembers() override
{ return "निजी सदस्य फलनगण"; }
QCString trPrivateSlots() override
{ return "निजी खांचें"; }
QCString trStaticPrivateMembers() override
{ return "अचल निजी सदस्य फलनगण"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i = 0; i < numEntries; ++i)
{
// use generateMarker to generate placeholders for the class links!
result += generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i != numEntries - 1) // not the last entry, so we need a separator
{
if (i < numEntries - 2) // not the fore last entry
result += ", ";
else // the fore last entry
result += ", और ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{ return trWriteList(numEntries) + " से विरासित।"; }
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{ return trWriteList(numEntries) + " द्वारा विरासित।"; }
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{ return trWriteList(numEntries) + " से पुन: लागू किया गया।"; }
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{ return trWriteList(numEntries) + " में पुन: लागू किया गया।"; }
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "नाम-स्थान सदस्यगण"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result = "यहाँ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "नाम-स्थान सदस्यगण कि लिंको के साथ ";
if (extractAll)
result += "प्रत्येक सदस्य के नाम-स्थान दस्तावेज़ीकरण ";
else
result += "उनसे संबंधित नाम-स्थानों ";
result += "कि सूची दि गई हैं:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "नाम-स्थान अनुक्रमणिका"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "नाम-स्थान दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "नाम-स्थानगण"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
QCString result;
switch (compType)
{
case ClassDef::Class: result += vhdlOpt ? "डिज़ाइन इकाई" : "वर्ग"; break;
case ClassDef::Struct: result += "संस्करण"; break;
case ClassDef::Union: result += "मिलन"; break;
case ClassDef::Interface: result += "अंतराफलक"; break;
case ClassDef::Protocol: result += "प्रोटोकॉल"; break;
case ClassDef::Category: result += "श्रेणी"; break;
case ClassDef::Exception: result += "अपवाद"; break;
default: break;
}
result += " के लिए दस्तावेज़ीकरण ";
if (single)
result += " फ़ाइल से उत्पन्न किया गया था:";
else
result += " निम्न फ़ाइलों से उत्पन्न किया गया था:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "वापसी मान"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "मुख्य पृष्ठ"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "पृ."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{ return "फ़ाइल @1 की लाइन @0 पर परिभाषित।"; }
QCString trDefinedInSourceFile() override
{ return "फ़ाइल @0 में परिभाषित।"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{ return "पदावनत"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{ return clName + " के लिए सहयोगीकरण आरेख:"; }
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{ return fName + " के लिए निर्भरता लेखाचित्र शामिल करें:"; }
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{ return "निर्माता और नाशक दस्तावेज़ीकरण"; }
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{ return "इस फाइल कि स्त्रोत संकेत-लिपि को देखें।"; }
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{ return "इस फ़ाइल के दस्तावेज़ीकरण पर जाएं।"; }
/*! Text for the \\pre command */
QCString trPrecondition() override
{ return "पूर्वशर्त"; }
/*! Text for the \\post command */
QCString trPostcondition() override
{ return "शर्तपश्चात्"; }
/*! Text for the \\invariant command */
QCString trInvariant() override
{ return "अपरिवर्तनीय"; }
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{ return "प्रारंभिक मूल्य:"; }
/*! Text used the source code in the file index */
QCString trCode() override
{ return "संकेत-लिपि"; }
QCString trGraphicalHierarchy() override
{ return "चित्रात्मक वर्ग पदानुक्रम"; }
QCString trGotoGraphicalHierarchy() override
{ return "चित्रात्मक वर्ग पदानुक्रम पर जाएँ"; }
QCString trGotoTextualHierarchy() override
{ return "पाठ्य वर्ग पदानुक्रम पर जाएँ"; }
QCString trPageIndex() override
{ return "पृष्ठ अनुक्रमणिका"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{ return "ध्यान दें"; }
QCString trPublicTypes() override
{ return "सार्वजनिक प्ररुपगण"; }
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े भागगण";
else
return "सार्वजनिक गुणगण";
}
QCString trStaticPublicAttribs() override
{ return "अचल सार्वजनिक गुणगण"; }
QCString trProtectedTypes() override
{ return "संरक्षित प्ररुपगण"; }
QCString trProtectedAttribs() override
{ return "संरक्षित गुणगण"; }
QCString trStaticProtectedAttribs() override
{ return "अचल संरक्षित गुणगण"; }
QCString trPrivateTypes() override
{ return "निजी प्ररुपगण"; }
QCString trPrivateAttribs() override
{ return "निजी गुणगण"; }
QCString trStaticPrivateAttribs() override
{ return "अचल निजी गुणगण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{ return "करने के लिए"; }
/*! Used as the header of the todo list */
QCString trTodoList() override
{ return "करने के लिए सूची"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{ return "द्वारा संदर्भित"; }
QCString trRemarks() override
{ return "टिप्पणियाँ"; }
QCString trAttention() override
{ return "ध्यान"; }
QCString trInclByDepGraph() override
{ return "यह लेखाचित्र दिखाता है कि कौन सी फ़ाइलें प्रत्यक्ष या परोक्ष रूप से इस फ़ाइल को शामिल करती हैं:"; }
QCString trSince() override
{ return "जबसे"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{ return "लेखाचित्र किंवदंती"; }
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"यह पृष्ठ बताता है कि डॉक्सिजन द्वारा उत्पन्न लेखाचित्र की व्याख्या कैसे करें।\n"
"<p>\n"
"निम्नलिखित उदाहरण पर विचार करें:\n"
"\\code\n"
"/*! काट-छाँट के कारण अदृश्य वर्ग */\n"
"class Invisible { };\n\n"
"/*! वरासत संबंध छिपा हुआ है, वर्ग काट-छाँट दिया गया */\n"
"class Truncated : public Invisible { };\n\n"
"/* वर्ग को डॉक्सिजन टिप्पणियों के साथ दस्तावेज़ीकृत नहीं किया गया */\n"
"class Undocumented { };\n\n"
"/*! वह वर्ग जो सार्वजनिक वरासत का उपयोग करके विरासित की गई */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! एक टेम्पलेट वर्ग */\n"
"template<class T> class Templ { };\n\n"
"/*! वह वर्ग जो संरक्षित वरासत का उपयोग करके विरासित की गई */\n"
"class ProtectedBase { };\n\n"
"/*! वह वर्ग जो निजी वरासत का उपयोग करके विरासित की गई */\n"
"class PrivateBase { };\n\n"
"/*! वह वर्ग जिसका उपयोग विरासित वर्ग द्वारा किया जाता हैं */\n"
"class Used { };\n\n"
"/*! उत्तम वर्ग जो कई अन्य वर्गों से वरासित हैं */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"इसका परिणाम निम्नलिखित लेखाचित्र में होगा:"
"<p><center><img alt=\"\" src=\"graph_legend." + getDotImageExtension() + "\"></center></p>\n"
"<p>\n"
"उपरोक्त लेखाचित्र के डिब्बों के निम्नलिखित अर्थ हैं:\n"
"</p>\n"
"<ul>\n"
"<li>%A भरा ग्रे डिब्बा उस संरचना या वर्ग को दर्शाता है जिसके लिए लेखाचित्र बनाया गया हैं।</li>\n"
"<li>%A डिब्बा, काली बॉर्डर वाला, एक दस्तावेज़ीकृत संरचना या वर्ग को निरूपित करता हैं।</li>\n"
"<li>%A डिब्बा, ग्रे बॉर्डर वाला, एक निरदस्तावेज़ीकृत संरचना या वर्ग को निरूपित है।</li>\n"
"<li>%A डिब्बा, लाल बॉर्डर वाला, एक दस्तावेज़ीकृत संरचना या वर्ग को निरूपित है जिसके लिए "
"सभी वरासत संबंध नहीं दिखाए गए हैं। %A लेखाचित्र को काट-छाँट दिया जाता है यदि वह निर्दिष्ट "
"सीमाओं के भीतर नहीं समा पाता हैं।</li>\n"
"</ul>\n"
"<p>\n"
"तीर के निम्नलिखित अर्थ हैं:\n"
"</p>\n"
"<ul>\n"
"<li>%A गहरे नीले तीर का उपयोग दो वर्गों के बीच सार्वजनिक वरासत संबंध की कल्पना करने "
"के लिए किया जाता हैं।</li>\n"
"<li>%A गहरे हरे तीर का उपयोग संरक्षित वरासत के लिए किया जाता हैं।</li>\n"
"<li>%A गहरे लाल तीर का उपयोग निजी वरासत के लिए किया जाता हैं।</li>\n"
"<li>%A बैंगनी धराशायी तीर का उपयोग किया जाता है यदि कोई वर्ग समाहित है या किसी अन्य "
"वर्ग द्वारा उपयोग किया जाता है। तीर को परिवर्तनशील(गण) के साथ लेबल किया गया है जिसके "
"माध्यम से वर्ग या संरचना पहुंचने योग्य हैं।</li>\n"
"<li>%A पीला धराशायी तीर एक टेम्पलेट उदाहरण और उस टेम्पलेट वर्ग के बीच संबंध को दर्शाता "
"है जिससे इसे उदाहरणीत किया गया था। तीर को उदाहरण के टेम्पलेट मापदंड के साथ लेबल किया गया है।</li>\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{ return "किंवदंती"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{ return "परीक्षा"; }
/*! Used as the header of the test list */
QCString trTestList() override
{ return "परीक्षा सूची"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{ return "संपत्तियाँ"; }
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{ return "संपत्ति दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
return "आंकड़े संरचनाएं";
else
return "वर्गगण";
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{ return "संकुल " + name; }
/*! The description of the package index page */
QCString trPackageListDescription() override
{ return "यहाँ संक्षिप्त विवरण के साथ संकुल दिए गए हैं (यदि उपलब्ध हो):"; }
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{ return "संकुलगण"; }
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{ return "मूल्य:"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{ return "त्रुटि"; }
/*! Used as the header of the bug list */
QCString trBugList() override
{ return "त्रुटि सूची"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{ return "65001"; }
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{ return "1252"; }
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{ return "अनुक्रमणिका"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "वर्ग";
if (!singular)
result += "गण";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "फ़ाइल";
if (!singular)
result += "ें";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "नाम-स्थान";
if (!singular)
result += "गण";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "अनुखंड";
if (!singular)
result += "गण";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "पृष्ठ";
if (!singular)
result += "गण";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "सदस्य";
if (!singular)
result += "गण";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "वैश्र्विक";
if (!singular)
result += "गण";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "लेखक";
if (!singular)
result += "गण";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{ return "संदर्भ"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{ return trWriteList(numEntries) + " लागू करता है।"; }
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{ return trWriteList(numEntries) + " में लागू करता है।"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{ return "विषय-सूची"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{ return "पदावनत सूची"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{ return "घटनाएं"; }
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{ return "घटना दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{ return "संकुल प्ररूपगण"; }
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{ return "संकुल फलनगण"; }
QCString trPackageMembers() override
{ return "संकुल सदस्यगण"; }
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{ return "अचल संकुल फलनगण"; }
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{ return "संकुल गुणगण"; }
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{ return "अचल संकुल गुणगण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{ return "सभी"; }
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{ return "इस फलन के लिए बुलावा लेखाचित्र यहां दिया गया है:"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{ return "खोज के परिणामगण"; }
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments == 0)
return "क्षमा करें, आपकी जिज्ञासा से मेल खाने वाला कोई दस्तावेज़ नहीं है।";
else if (numDocuments == 1)
return "आपकी जिज्ञासा से मेल खाने वाला <b>1</b> दस्तावेज़ मिला।";
else
return "आपकी जिज्ञासा से मेल खाने वाले <b>$num</b> दस्तावेज़ मिले। सर्वश्रेष्ठ मिलान पहले दिखा रहे हैं।";
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{ return "मिलानगण:"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{ return filename + " स्त्रोत फ़ाइल"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "निर्देशिकाएं पदानुक्रम"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "निर्देशिका दस्तावेज़ीकरण"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "निर्देशिकाएं"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{
QCString result = dirName;
result += " निर्देशिका संदर्भ";
return result;
}
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in singular or plural form (\a singular).
*/
QCString trDir(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "निर्देशिका";
if (!singular)
result += "एं";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "यह अतिभारित सदस्य फलन सुविधा के लिए प्रदान किया गया है। यह उपरोक्त"
" फलन से केवल इस बात में भिन्न है कि यह किस तर्क को स्वीकार करता है।";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "इस फलन के लिए बुलावा लेखाचित्र यहाँ दिया गया है:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "परिगणक दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "सदस्य फलन/उपफलन दस्तावेज़ीकरण"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "आंकड़े प्ररुपगण सूची"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "आंकड़े भागगण"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "यहाँ संक्षिप्त विवरण के साथ आँकड़े प्ररूपगण हैं:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result = "यहाँ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "आंकड़े प्ररूपगण कि लिंको के साथ ";
if (!extractAll)
result += "प्रत्येक सदस्य के आंकड़े संरचना दस्तावेज़ीकरण ";
else
result += "उनसे संबंधित आंकड़े प्ररूपगण ";
result += "कि सूची दि गई हैं:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "आंकड़े प्ररुप अनुक्रमणिका"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "आंकड़े प्ररुप दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "फलनगण/उपफलनगण"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "फलन/उपफलन दस्तावेज़ीकरण"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "आंकड़े प्ररुपगण"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "अनुखंडगण सूची"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result = "यहाँ संक्षिप्त विवरण के साथ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "अनुखंडगण की सूची दी गई है:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(
const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result = clName;
switch (compType)
{
case ClassDef::Class: result+=" अनुखंड"; break;
case ClassDef::Struct: result+=" प्ररुप"; break;
case ClassDef::Union: result+=" मिलन"; break;
case ClassDef::Interface: result+=" अंतराफलक"; break;
case ClassDef::Protocol: result+=" प्रोटोकॉल"; break;
case ClassDef::Category: result+=" श्रेणी"; break;
case ClassDef::Exception: result+=" अपवाद"; break;
default: break;
}
if (isTemplate)
result += " टेम्पलेट";
result += " संदर्भ";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result = namespaceName;
result += " अनुखंड संदर्भ";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "अनुखंडगण सदस्यगण"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result = "यहाँ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "अनुखंड सदस्यगण कि लिंको के साथ ";
if (extractAll)
result += "प्रत्येक सदस्य के दस्तावेज़ीकरण ";
else
result += "उनसे संबंधित अनुखंडगण ";
result += "कि सूची दि गई हैं:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "अनुखंडगण अनुक्रमणिका"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "अनुखंड";
if (!singular)
result += "गण";
return result;
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(
ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
QCString result;
switch(compType)
{
case ClassDef::Class: result += "अनुखंड"; break;
case ClassDef::Struct: result += "प्ररुप"; break;
case ClassDef::Union: result += "मिलन"; break;
case ClassDef::Interface: result += "अंतराफलक"; break;
case ClassDef::Protocol: result += "प्रोटोकॉल"; break;
case ClassDef::Category: result += "श्रेणी"; break;
case ClassDef::Exception: result += "अपवाद"; break;
default: break;
}
result += " के लिए दस्तावेज़ीकरण ";
if (single)
result += " फ़ाइल से उत्पन्न किया गया था:";
else
result += " निम्न फ़ाइलों से उत्पन्न किया गया था:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "प्ररुप";
if (!singular)
result += "गण";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "उपप्रोग्राम";
if (!singular)
result += "गण";
return result;
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{ return "प्ररुप बाध्यताएं"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{ return name + " रिश्ता"; }
/*! Loading message shown when loading search results */
QCString trLoading() override
{ return "लादा जा रहा..."; }
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{ return "वैश्र्विक नाम-स्थान"; }
/*! Message shown while searching */
QCString trSearching() override
{ return "खोजां जा रहा..."; }
/*! Text shown when no search results are found */
QCString trNoMatches() override
{ return "कोई समानता नहीं"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{ return name + " में फ़ाइल"; }
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{ return name + " में फ़ाइल शामिल है"; }
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(
int year, int month, int day, int dayOfWeek,
int hour, int minutes, int seconds, DateTimeType includeTime) override
{
static const char *days[] = { "सोमवार", "मंगलवार", "बुधवार", "गुरुवार",
"शुक्रवार", "शनिवार", "रविवार" };
static const char *months[] = { "जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून",
"जुलाई", "अगस्त", "सितम्बर", "अक्टूबर", "नवम्बर", "दिसम्बर" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %s %d %d", days[dayOfWeek - 1], months[month - 1], day, year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d", hour, minutes, seconds);
sdate += stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "सोम.", "मंगल.", "बुध.", "गुरु.", "शुक्र.", "शनि.", "रवि." };
static const char *days_full[] = { "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार", "रविवार" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
return text;
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", "जुलाई", "अगस्त", "सितम्बर", "अक्तूबर", "नवम्बर", "दिसम्बर" };
static const char *months_full[] = { "जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून", "जुलाई", "अगस्त", "सितम्बर", "अक्तूबर", "नवम्बर", "दिसम्बर" };
QCString text = full? months_full[month-1] : months_short[month-1];
return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "am", "pm" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "ग्रन्थसूची"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "कॉपीराइट"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return name + " के लिए निर्देशिका निर्भरता लेखाचित्र:"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "विस्तार स्तर"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "टेम्पलेट मापदंड"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "और " + number + " अधिक..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{
QCString result = "इस परिगणक के लिए दस्तावेज़ीकरण निम्न फ़ाइल";
if (!single)
result += "ों";
result += " से उत्पन्न किया गया था:";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{ return name + " परिगणक संदर्भ"; }
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return what + " से विरासत में मिले " + members; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "अतिरिक्त विरासत में मिले सदस्य"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "चालू" : "बंद";
return "पैनल सिंक्रनाइज़ीकरण " + opt + " करने के लिए क्लिक करें";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{ return "श्रेणी @0 द्वारा प्रदान किया गया।"; }
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{ return "वर्ग @0 को विस्तार करता है।"; }
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{ return "वर्ग विधियाँ"; }
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{ return "उदाहरण विधियाँ"; }
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{ return "विधि दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "निर्यातीत अंतराफलकगण"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "शामिलीत सेवाएं"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "स्थिर समूहगण"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result = namespaceName;
result += " स्थिर समूह संदर्भ";
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result = sName;
result += " सेवा संदर्भ";
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result = sName;
result += " एकल संदर्भ";
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result = "इस सेवा के लिए दस्तावेज़ीकरण निम्न फ़ाइल";
if (!single)
result += "ों";
result += " से उत्पन्न किया गया था:";
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result = "इस एकल के लिए दस्तावेज़ीकरण निम्न फ़ाइल";
if (!single)
result += "ों";
result += " से उत्पन्न किया गया था:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "डिज़ाइन इकाई पदानुक्रम"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "डिज़ाइन इकाई सूची"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "डिज़ाइन इकाई सदस्यगण"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{ return "यहाँ उन सभी डिज़ाइन इकाई सदस्यों की सूची उनसे संबंधित इकाईयों की लिंक के साथ दी गई हैं:"; }
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "डिज़ाइन इकाई अनुक्रमणिका"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "डिज़ाइन इकाईयाँ"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "फलनगण/कार्यविधियाँ/प्रक्रियाएं"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch (type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "संग्रह";
else return "संग्रहगण";
case VhdlSpecifier::PACKAGE:
if (single) return "संकुल";
else return "संकुलगण";
case VhdlSpecifier::SIGNAL:
if (single) return "संकेत";
else return "संकेतगण";
case VhdlSpecifier::COMPONENT:
if (single) return "अंग";
else return "अंगगण";
case VhdlSpecifier::CONSTANT:
if (single) return "स्थिर";
else return "स्थिरगण";
case VhdlSpecifier::ENTITY:
if (single) return "इकाई";
else return "इकाईयाँ";
case VhdlSpecifier::TYPE:
if (single) return "प्ररूप";
else return "प्ररूपगण";
case VhdlSpecifier::SUBTYPE:
if (single) return "उपप्ररूप";
else return "उपप्ररूपगण";
case VhdlSpecifier::FUNCTION:
if (single) return "फलन";
else return "फलनगण";
case VhdlSpecifier::RECORD:
if (single) return "अभिलेख";
else return "अभिलेखगण";
case VhdlSpecifier::PROCEDURE:
if (single) return "कार्यविधि";
else return "कार्यविधियाँ";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "वास्तुकला";
else return "वास्तुकलाएं";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "तर्क";
else return "तर्कगण";
case VhdlSpecifier::PROCESS:
if (single) return "प्रक्रिया";
else return "प्रक्रियाएं";
case VhdlSpecifier::PORT:
if (single) return "द्वार";
else return "द्वारगण";
case VhdlSpecifier::USE:
if (single) return "प्रयोग खंड";
else return "प्रयोग खंडगण";
case VhdlSpecifier::GENERIC:
if (single) return "सामान्य";
else return "सामान्यगण";
case VhdlSpecifier::PACKAGE_BODY:
return "संकुल शरीर";
case VhdlSpecifier::UNITS:
return "इकाईयाँ";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "साझाकृत परिवर्तनशील";
else return "साझाकृत परिवर्तनशीलगण";
case VhdlSpecifier::VFILE:
if (single) return "फ़ाइल";
else return "फ़ाइलगण";
case VhdlSpecifier::GROUP:
if (single) return "समूह";
else return "समूहगण";
case VhdlSpecifier::INSTANTIATION:
if (single) return "उदाहरणीकरण";
else return "उदाहरणीकरणगण";
case VhdlSpecifier::ALIAS:
if (single) return "उपनाम";
else return "उपनामगण";
case VhdlSpecifier::CONFIG:
if (single) return "विन्यास";
else return "विन्यासगण";
case VhdlSpecifier::MISCELLANEOUS:
return "विविध";
case VhdlSpecifier::UCF_CONST:
return "बाध्यताएं";
default:
return "वर्ग";
}
}
QCString trCustomReference(const QCString &name) override
{ return name + " संदर्भ"; }
QCString trConstants() override
{ return "स्थिरगण"; }
QCString trConstantDocumentation() override
{ return "स्थिर दस्तावेज़ीकरण"; }
QCString trSequences() override
{ return "अनुक्रमगण"; }
QCString trSequenceDocumentation() override
{ return "अनुक्रम दस्तावेज़ीकरण"; }
QCString trDictionaries() override
{ return "शब्दकोशगण"; }
QCString trDictionaryDocumentation() override
{ return "शब्दकोश दस्तावेज़ीकरण"; }
QCString trSliceInterfaces() override
{ return "अंतराफलकगण"; }
QCString trInterfaceIndex() override
{ return "अंतराफलक अनुक्रमणिका"; }
QCString trInterfaceList() override
{ return "अंतराफलक सूची"; }
QCString trInterfaceListDescription() override
{ return "यहाँ संक्षिप्त विवरण के साथ अंतराफलकगण हैं:"; }
QCString trInterfaceHierarchy() override
{ return "अंतराफलक पदानुक्रम"; }
QCString trInterfaceHierarchyDescription() override
{ return "यह अंतराफलक विरासत सूची मोटे तौर पर क्रमबद्ध है, लेकिन पूरी तरह से नहीं, वर्णानुक्रम में:"; }
QCString trInterfaceDocumentation() override
{ return "अंतराफलक दस्तावेज़ीकरण"; }
QCString trStructs() override
{ return "संरचनाएं"; }
QCString trStructIndex() override
{ return "संरचना अनुक्रमणिका"; }
QCString trStructList() override
{ return "संरचना सूची"; }
QCString trStructListDescription() override
{ return "यहाँ संक्षिप्त विवरण के साथ संरचनाएं हैं:"; }
QCString trStructDocumentation() override
{ return "संरचना दस्तावेज़ीकरण"; }
QCString trExceptionIndex() override
{ return "अपवाद अनुक्रमणिका"; }
QCString trExceptionList() override
{ return "अपवाद सूची"; }
QCString trExceptionListDescription() override
{ return "यहाँ संक्षिप्त विवरण के साथ अपवादगण हैं:"; }
QCString trExceptionHierarchy() override
{ return "अपवाद पदानुक्रम"; }
QCString trExceptionHierarchyDescription() override
{ return "यह अपवाद विरासत सूची मोटे तौर पर क्रमबद्ध है, लेकिन पूरी तरह से नहीं, वर्णानुक्रम में:"; }
QCString trExceptionDocumentation() override
{ return "अपवाद दस्तावेज़ीकरण"; }
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result = clName;
if (isLocal) result += " स्थानीय";
switch (compType)
{
case ClassDef::Class: result+=" वर्ग"; break;
case ClassDef::Struct: result+=" संरचना"; break;
case ClassDef::Union: result+=" मिलन"; break;
case ClassDef::Interface: result+=" अंतराफलक"; break;
case ClassDef::Protocol: result+=" प्रोटोकॉल"; break;
case ClassDef::Category: result+=" श्रेणी"; break;
case ClassDef::Exception: result+=" अपवाद"; break;
default: break;
}
result += " संदर्भ";
return result;
}
QCString trOperations() override
{ return "कार्यवाहीयाँ"; }
QCString trOperationDocumentation() override
{ return "कार्यवाही दस्तावेज़ीकरण"; }
QCString trDataMembers() override
{ return "आंकड़े सदस्यगण"; }
QCString trDataMemberDocumentation() override
{ return "आंकड़े सदस्य दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit documentation */
QCString trDesignUnitDocumentation() override
{ return "डिज़ाइन इकाई दस्तावेज़ीकरण"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
/** C++20 concept */
QCString trConcept(bool /* first_capital */, bool singular) override
{
// There is no first-letter capitalization notion in Hindi.
QCString result = "संकल्पना";
if (!singular) result += "एं";
return result;
}
/*! used as the title of the HTML page of a C++20 concept page */
QCString trConceptReference(const QCString &conceptName) override
{
QCString result = conceptName;
result += " संकल्पना संदर्भ";
return result;
}
/*! used as the title of page containing all the index of all concepts. */
QCString trConceptList() override
{ return "संकल्पना सूची"; }
/*! used as the title of chapter containing the index listing all concepts. */
QCString trConceptIndex() override
{ return "संकल्पना अनुक्रमणिका"; }
/*! used as the title of chapter containing all information about concepts. */
QCString trConceptDocumentation() override
{ return "संकल्पना दस्तावेज़ीकरण"; }
/*! used as an introduction to the concept list */
QCString trConceptListDescription(bool extractAll) override
{
QCString result = "यहाँ संक्षिप्त विवरण के साथ सभी ";
if (!extractAll)
result += "दस्तावेज़ीकृत ";
result += "संकल्पनाएं की सूची दी गई है:";
return result;
}
/*! used to introduce the definition of the C++20 concept */
QCString trConceptDefinition() override
{ return "संकल्पना परिभाषा"; }
};
#endif
| 97,073
|
C++
|
.h
| 1,928
| 35.132261
| 156
| 0.559349
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,706
|
growbuf.h
|
doxygen_doxygen/src/growbuf.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef GROWBUF_H
#define GROWBUF_H
#include <utility>
#include <stdlib.h>
#include <string.h>
#include <string>
#define GROW_AMOUNT 1024*4
/** Class representing a string buffer optimized for growing. */
class GrowBuf
{
public:
GrowBuf() : m_str(nullptr), m_pos(0), m_len(0) {}
GrowBuf(size_t initialSize) : m_pos(0), m_len(initialSize) { m_str=static_cast<char*>(malloc(m_len)); }
~GrowBuf() { free(m_str); }
GrowBuf(const GrowBuf &other)
{
m_len = other.m_len;
m_pos = other.m_pos;
m_str = static_cast<char*>(malloc(m_len));
memcpy(m_str,other.m_str,m_len);
}
GrowBuf &operator=(const GrowBuf &other)
{
if (this!=&other)
{
free(m_str);
m_len = other.m_len;
m_pos = other.m_pos;
m_str = static_cast<char*>(malloc(m_len));
memcpy(m_str,other.m_str,m_len);
}
return *this;
}
GrowBuf(GrowBuf &&other)
: m_str(std::exchange(other.m_str,static_cast<char*>(nullptr)))
, m_pos(std::exchange(other.m_pos,0))
, m_len(std::exchange(other.m_len,0))
{
}
GrowBuf &operator=(GrowBuf &&other)
{
if (this==&other)
return *this;
m_len = std::exchange(other.m_len,0);
m_pos = std::exchange(other.m_pos,0);
m_str = std::exchange(other.m_str,static_cast<char*>(nullptr));
return *this;
}
void reserve(size_t size) { if (m_len<size) { m_len = size; m_str = static_cast<char*>(realloc(m_str,m_len)); } }
void clear() { m_pos=0; }
void addChar(char c) { if (m_pos>=m_len) { m_len+=GROW_AMOUNT; m_str = static_cast<char*>(realloc(m_str,m_len)); }
m_str[m_pos++]=c;
}
void addStr(const QCString &s) {
if (!s.isEmpty())
{
size_t l=s.length();
if (m_pos+l>=m_len) { m_len+=l+GROW_AMOUNT; m_str = static_cast<char*>(realloc(m_str,m_len)); }
strcpy(&m_str[m_pos],s.data());
m_pos+=l;
}
}
void addStr(const std::string &s) {
if (!s.empty())
{
size_t l=s.length();
if (m_pos+l>=m_len) { m_len+=l+GROW_AMOUNT; m_str = static_cast<char*>(realloc(m_str,m_len)); }
strcpy(&m_str[m_pos],s.c_str());
m_pos+=l;
}
}
void addStr(const char *s) {
if (s)
{
size_t l=strlen(s);
if (m_pos+l>=m_len) { m_len+=l+GROW_AMOUNT; m_str = static_cast<char*>(realloc(m_str,m_len)); }
strcpy(&m_str[m_pos],s);
m_pos+=l;
}
}
void addStr(const char *s,size_t n) {
if (s)
{
size_t l=strlen(s);
if (n<l) l=n;
if (m_pos+l>=m_len) { m_len+=l+GROW_AMOUNT; m_str = static_cast<char*>(realloc(m_str,m_len)); }
strncpy(&m_str[m_pos],s,n);
m_pos+=l;
}
}
void addInt(const char *fmt,int value) {
char tmp[50];
snprintf(tmp,50,fmt,value);
addStr(tmp);
}
char *get() { return m_str; }
const char *get() const { return m_str; }
size_t getPos() const { return m_pos; }
void setPos(size_t newPos) { m_pos = newPos; }
const char &at(size_t i) const { return m_str[i]; }
bool empty() const { return m_pos==0; }
private:
char *m_str;
size_t m_pos;
size_t m_len;
};
#endif
| 4,586
|
C++
|
.h
| 121
| 26.760331
| 121
| 0.484978
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,707
|
markdown.h
|
doxygen_doxygen/src/markdown.h
|
/******************************************************************************
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef MARKDOWN_H
#define MARKDOWN_H
#include <memory>
#include "qcstring.h"
#include "parserintf.h"
class Entry;
/** processes string \a s and converts markdown into doxygen/html commands. */
//QCString processMarkdown(const QCString &fileName,const int lineNr,Entry *e,const QCString &s);
QCString markdownFileNameToId(const QCString &fileName);
/// Helper class to process markdown formatted text
class Markdown
{
public:
Markdown(const QCString &fileName,int lineNr,int indentLevel=0);
~Markdown();
NON_COPYABLE(Markdown)
QCString process(const QCString &input, int &startNewlines, bool fromParseInput = false);
QCString extractPageTitle(QCString &docs, QCString &id, int &prepend, bool &isIdGenerated);
void setIndentLevel(int level);
private:
struct Private;
std::unique_ptr<Private> prv;
};
class MarkdownOutlineParser : public OutlineParserInterface
{
public:
MarkdownOutlineParser();
~MarkdownOutlineParser() override;
NON_COPYABLE(MarkdownOutlineParser)
void parseInput(const QCString &fileName,
const char *fileBuf,
const std::shared_ptr<Entry> &root,
ClangTUParser *clangParser) override;
bool needsPreprocessing(const QCString &) const override { return FALSE; }
void parsePrototype(const QCString &text) override;
private:
struct Private;
std::unique_ptr<Private> p;
};
#endif
| 2,088
|
C++
|
.h
| 54
| 34.833333
| 97
| 0.721344
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,708
|
docparser.h
|
doxygen_doxygen/src/docparser.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOCPARSER_H
#define DOCPARSER_H
#include <stdio.h>
#include <memory>
#include "qcstring.h"
#include "growvector.h"
#include "construct.h"
#include "types.h"
class MemberDef;
class Definition;
//---------------------------------------------------------------------------
//! @brief opaque parser interface
class IDocParser
{
public:
ABSTRACT_BASE_CLASS(IDocParser)
};
//! @brief pointer to parser interface
using IDocParserPtr = std::unique_ptr<IDocParser>;
//! @brief factory function to create a parser
IDocParserPtr createDocParser();
//---------------------------------------------------------------------------
//! @brief opaque representation of the abstract syntax tree (AST)
class IDocNodeAST
{
public:
ABSTRACT_BASE_CLASS(IDocNodeAST)
virtual bool isEmpty() const = 0;
};
using IDocNodeASTPtr = std::unique_ptr<IDocNodeAST>;
/*! Main entry point for the comment block parser.
* @param parserIntf The parser object created via createDocParser()
* @param fileName File in which the documentation block is found (or the
* name of the example file in case isExample is TRUE).
* @param startLine Line at which the documentation block is found.
* @param ctx Class or namespace to which this block belongs.
* @param md Member definition to which the documentation belongs.
* Can be 0.
* @param input String representation of the documentation block.
* @param indexWords Indicates whether or not words should be put in the
* search index.
* @param isExample TRUE if the documentation belongs to an example.
* @param exampleName Base name of the example file (0 if isExample is FALSE).
* @param singleLine Output should be presented on a single line, so without
* starting a new paragraph at the end.
* @param linkFromIndex TRUE if the documentation is generated from an
* index page. In this case context is not used to determine
* the relative path when making a link.
* @param markdownSupport TRUE if the input needs to take markdown markup into
* account.
* @returns An object representing the abstract syntax tree. Ownership of the
* pointer is handed over to the caller.
*/
IDocNodeASTPtr validatingParseDoc(IDocParser &parserIntf,const QCString &fileName,int startLine,
const Definition *ctx, const MemberDef *md,
const QCString &input,bool indexWords,
bool isExample,const QCString &exampleName,
bool singleLine,bool linkFromIndex,
bool markdownSupport);
/*! Main entry point for parsing simple text fragments. These
* fragments are limited to words, whitespace and symbols.
*/
IDocNodeASTPtr validatingParseText(IDocParser &parser,const QCString &input);
IDocNodeASTPtr createRef(IDocParser &parser,const QCString &target,const QCString &context, const QCString &srcFile = "", int srcLine = -1);
//--------------------------------------------------------------------------------
/*! Searches for section and anchor commands in the input
* Sections found will be added to the SectionManager.
*/
void docFindSections(const QCString &input,
const Definition *d,
const QCString &fileName);
#endif
| 4,092
|
C++
|
.h
| 86
| 43.616279
| 140
| 0.652708
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,709
|
lexcode.h
|
doxygen_doxygen/src/lexcode.h
|
/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef LEXCODE_H
#define LEXCODE_H
#include "parserintf.h"
class FileDef;
class MemberDef;
class QCString;
class Definition;
/** LEX code scanner.
*/
class LexCodeParser : public CodeParserInterface
{
public:
LexCodeParser();
~LexCodeParser() override;
NON_COPYABLE(LexCodeParser)
void parseCode(OutputCodeList &codeOutIntf,
const QCString &scopeName,
const QCString &input,
SrcLangExt,
bool stripCodeComments,
bool isExampleBlock,
const QCString &exampleName=QCString(),
const FileDef *fileDef=nullptr,
int startLine=-1,
int endLine=-1,
bool inlineFragment=FALSE,
const MemberDef *memberDef=nullptr,
bool showLineNumbers=TRUE,
const Definition *searchCtx=nullptr,
bool collectXRefs=TRUE
) override;
void resetCodeParserState() override;
private:
struct Private;
std::unique_ptr<Private> p;
};
#endif
| 1,782
|
C++
|
.h
| 51
| 27.333333
| 79
| 0.625653
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,710
|
tooltip.h
|
doxygen_doxygen/src/tooltip.h
|
/******************************************************************************
*
* Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TOOLTIP_H
#define TOOLTIP_H
#include <memory>
#include "construct.h"
class Definition;
class OutputCodeList;
//! Class that manages the tooltips for a source file
class TooltipManager
{
public:
TooltipManager();
~TooltipManager();
NON_COPYABLE(TooltipManager)
/** add a tooltip for a given symbol definition */
void addTooltip(const Definition *d);
/** write the list of all collected tooltip to the given outputs */
void writeTooltips(OutputCodeList &ol);
private:
class Private;
std::unique_ptr<Private> p;
};
#endif
| 1,229
|
C++
|
.h
| 36
| 31.5
| 79
| 0.708263
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,711
|
dotnode.h
|
doxygen_doxygen/src/dotnode.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOTNODE_H
#define DOTNODE_H
#include <vector>
#include <map>
#include <deque>
#include <iostream>
#include "types.h"
#include "dotgraph.h"
class ClassDef;
class DotNode;
class TextStream;
/** Attributes of an edge of a dot graph */
class EdgeInfo
{
public:
enum Colors { Blue=0, Green=1, Red=2, Purple=3, Grey=4, Orange=5, Orange2=6 };
enum Styles { Solid=0, Dashed=1 };
EdgeInfo(Colors color,Styles style,const QCString &lab,const QCString &url,int labColor)
: m_color(color), m_style(style), m_label(lab), m_url(url), m_labColor(labColor) {}
int color() const { return m_color; }
int style() const { return m_style; }
QCString label() const { return m_label; }
QCString url() const { return m_url; }
int labelColor() const { return m_labColor; }
static constexpr Colors protectionToColor(Protection prot)
{
switch (prot)
{
case Protection::Public: return Blue;
case Protection::Protected: return Green;
case Protection::Private: return Red;
case Protection::Package: return Purple;
}
return Blue;
}
private:
int m_color;
int m_style;
QCString m_label;
QCString m_url;
int m_labColor;
};
using DotNodeRefVector = std::vector<DotNode*>;
using EdgeInfoVector = std::vector<EdgeInfo>;
/** A node in a dot graph */
class DotNode
{
public:
static constexpr auto placeholderUrl = "-";
static void deleteNodes(DotNode* node);
static QCString convertLabel(const QCString& , bool htmlLike=false);
DotNode(DotGraph *graph,const QCString &lab,const QCString &tip,const QCString &url,
bool rootNode=FALSE,const ClassDef *cd=nullptr);
enum TruncState { Unknown, Truncated, Untruncated };
void addChild(DotNode *n,
EdgeInfo::Colors edgeColor=EdgeInfo::Purple,
EdgeInfo::Styles edgeStyle=EdgeInfo::Solid,
const QCString &edgeLab=QCString(),
const QCString &edgeURL=QCString(),
int edgeLabCol=-1);
void addParent(DotNode *n);
void deleteNode(DotNodeRefVector &deletedList);
void removeChild(DotNode *n);
void removeParent(DotNode *n);
int findParent( DotNode *n );
void write(TextStream &t,GraphType gt,GraphOutputFormat f,
bool topDown,bool toChildren,bool backArrows);
void writeXML(TextStream &t,bool isClassGraph) const;
void writeDocbook(TextStream &t,bool isClassGraph) const;
void writeDEF(TextStream &t) const;
void writeLabel(TextStream &t, GraphType gt) const;
void writeUrl(TextStream &t) const;
void writeBox(TextStream &t,GraphType gt,GraphOutputFormat f,
bool hasNonReachableChildren) const;
void writeArrow(TextStream &t,GraphType gt,GraphOutputFormat f,const DotNode *cn,
const EdgeInfo *ei,bool topDown, bool pointBack=TRUE) const;
QCString label() const { return m_label; }
int number() const { return m_number; }
bool isVisible() const { return m_visible; }
TruncState isTruncated() const { return m_truncated; }
int distance() const { return m_distance; }
int subgraphId() const { return m_subgraphId; }
bool isRenumbered() const { return m_renumbered; }
bool hasDocumentation() const { return m_hasDoc; }
bool isWritten() const { return m_written; }
void clearWriteFlag();
void renumberNodes(int &number);
void markRenumbered() { m_renumbered = true; }
DotNode& markHasDocumentation() { m_hasDoc = true; return *this;}
void setSubgraphId(int id) { m_subgraphId = id; }
void colorConnectedNodes(int curColor);
void setDistance(int distance);
void markAsVisible(bool b=TRUE) { m_visible=b; }
DotNode& markAsTruncated(bool b=TRUE) { m_truncated=b ? Truncated : Untruncated; return *this;}
const DotNodeRefVector &children() const { return m_children; }
const DotNodeRefVector &parents() const { return m_parents; }
const EdgeInfoVector &edgeInfo() const { return m_edgeInfo; }
DotNode &setNodeId(int number) { m_number=number; return *this; }
private:
DotGraph *m_graph;
int m_number;
QCString m_label; //!< label text
QCString m_tooltip; //!< node's tooltip
QCString m_url; //!< url of the node (format: remote$local)
DotNodeRefVector m_parents; //!< list of parent nodes (incoming arrows)
DotNodeRefVector m_children; //!< list of child nodes (outgoing arrows)
EdgeInfoVector m_edgeInfo; //!< edge info for each child
bool m_deleted = false; //!< used to mark a node as deleted
bool m_written = false; //!< used to mark a node as written
bool m_hasDoc = false; //!< used to mark a node as documented
bool m_isRoot; //!< indicates if this is a root node
const ClassDef * m_classDef; //!< class representing this node (can be 0)
bool m_visible = false; //!< is the node visible in the output
TruncState m_truncated = Unknown; //!< does the node have non-visible children/parents
int m_distance = 1000; //!< shortest path to the root node
bool m_renumbered = false; //!< indicates if the node has been renumbered (to prevent endless loops)
int m_subgraphId = -1;
};
class DotNodeMap : public std::map<std::string,DotNode*>
{
};
class DotNodeDeque : public std::deque<DotNode*>
{
};
QCString escapeTooltip(const QCString &tooltip);
#endif
| 6,412
|
C++
|
.h
| 140
| 40.935714
| 118
| 0.649984
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,712
|
translator_es.h
|
doxygen_doxygen/src/translator_es.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_ES_H
#define TRANSLATOR_ES_H
/*!
* translator_es.h modified by Lucas Cruz (7-julio-2000)
* Updated from 1.3.8 to 1.4.6 by Guillermo Ballester Valor (May-05-2006)
* Updated to 1.5.1 by Bartomeu Creus Navarro (22-enero-2007)
* Updated to 1.5.5 by Bartomeu Creus Navarro (5-febrero-2008)
* Updated to 1.5.8 by Bartomeu Creus Navarro (10-abril-2009)
* Updated to 1.6.3 by Bartomeu Creus Navarro (3-marzo-2010)
* Updated to 1.6.4 by Bartomeu Creus Navarro (26-mayo-2010) [(16-jun-2010) grabado en UTF-8]
* Updated to 1.8.0 by Bartomeu Creus Navarro (11-abril-2012)
* Updated to 1.8.2 by Bartomeu Creus Navarro (01-julio-2012)
* Updated to 1.8.4 by Bartomeu Creus Navarro (17-julio-2013)
* Updated to 1.9.6 by David H. Martín (28-diciembre-2022)
* Updated to 1.9.7 by David H. Martín (27-marzo-2023)
*/
namespace SpanishTranslatorUtils
{
/*! Returns true if the gender of the given component is masculine in
Spanish. */
inline bool isClassMemberHighlightMasculine(ClassMemberHighlight::Enum hl)
{
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
// structs and unions
return false;
}
else
{
// class members
return true;
}
case ClassMemberHighlight::Functions:
case ClassMemberHighlight::Variables:
case ClassMemberHighlight::Enums:
case ClassMemberHighlight::Properties:
return false;
case ClassMemberHighlight::EnumValues:
case ClassMemberHighlight::Typedefs:
case ClassMemberHighlight::Events:
case ClassMemberHighlight::Related:
default:
return true;
}
}
/*! Returns true if the gender of the given component is masculine in
Spanish. */
inline bool isFileMemberHighlightMasculine(FileMemberHighlight::Enum hl)
{
switch (hl)
{
case FileMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
// functions, variables...
return false;
}
else
{
// file members
return true;
}
case FileMemberHighlight::Functions:
case FileMemberHighlight::Variables:
case FileMemberHighlight::Sequences:
case FileMemberHighlight::Enums:
case FileMemberHighlight::Defines:
return false;
case FileMemberHighlight::Dictionaries:
case FileMemberHighlight::EnumValues:
case FileMemberHighlight::Typedefs:
default:
return true;
}
}
/*! Returns true if the gender of the given component is masculine in
Spanish. */
inline bool isNamespaceMemberHighlightMasculine(NamespaceMemberHighlight::Enum hl)
{
switch (hl)
{
case NamespaceMemberHighlight::Functions:
case NamespaceMemberHighlight::Variables:
case NamespaceMemberHighlight::Sequences:
case NamespaceMemberHighlight::Enums:
return false;
case NamespaceMemberHighlight::All:
case NamespaceMemberHighlight::Dictionaries:
case NamespaceMemberHighlight::EnumValues:
case NamespaceMemberHighlight::Typedefs:
default:
return true;
}
}
}
class TranslatorSpanish : public TranslatorAdapter_1_9_6
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "spanish"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[spanish, es-noshorthands, shorthands=off]{babel}";
}
QCString trISOLang() override
{
return "es";
}
QCString getLanguageString() override
{
return "0x40A Spanish";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Funciones relacionadas"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Observar que estas no son funciones miembro.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Descripción detallada"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Detalles"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Documentación de los «Typedef» miembros de la clase"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Documentación de las enumeraciones miembro de la clase"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Documentación de funciones/procedimientos/procesos miembro";
}
else
{
return "Documentación de funciones miembro";
}
}
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentación de campos";
}
else
{
return "Documentación de datos miembro";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Más..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Lista de todos los miembros"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Lista de los miembros"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Lista completa de los miembros de"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", incluyendo todos los heredados:"; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Generado automáticamente por Doxygen";
if (!s.isEmpty()) result+=" para "+s;
result+=" del código fuente.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "nombre de enumeración"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "valor enumerado"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "definido en"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Módulos"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Jerarquía de clases"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estructuras de datos";
}
else
{
return "Lista de clases";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Lista de archivos"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos de datos";
}
else
{
return "Miembros de clases";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globales";
}
else
{
return "Miembros de los archivos";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Páginas relacionadas"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Ejemplos"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Buscar"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Esta es la lista jerárquica de todas las entidades:";
}
else
{
return "Este listado de herencia está ordenado de forma general "
"pero no está en orden alfabético estricto:";
}
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Lista de todos los archivos ";
if (!extractAll) result+="documentados y ";
result+="con breves descripciones:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Lista de estructuras con breves descripciones:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Lista de clases con breves descripciones:";
}
else
{
return "Lista de clases, estructuras, "
"uniones e interfaces con breves descripciones:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Lista de todos los ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="campos de estructuras y uniones";
}
else
{
result+="campos de clases";
}
if (!extractAll)
{
result+=" documentados";
}
result+=" con enlaces a ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="la documentación de la estructura/unión para cada campo:";
}
else
{
result+="la documentación de la clase para cada miembro:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="las estructuras/uniones a las que pertenecen:";
}
else
{
result+="las clases a las que pertenecen:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Lista de ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="todas las funciones, variables, «defines», enumeraciones y «typedefs»";
}
else
{
result+="todos los miembros de los archivos";
}
if (!extractAll) result+=" documentados";
result+=" con enlaces ";
if (extractAll)
result+="a los archivos a los que corresponden:";
else
result+="a la documentación:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Lista de todos los ejemplos:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Lista de toda la documentación relacionada:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Lista de todos los módulos:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return "Documentación" + (!projName.isEmpty()? " de " + projName : ""); }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Índice de módulos"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Índice jerárquico"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Índice de estructuras de datos";
}
else
{
return "Índice de clases";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Índice de archivos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Documentación de módulos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentación de estructuras de datos";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Documentación de clases";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Documentación de archivos"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Manual de referencia"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "defines"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "typedefs"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumeraciones"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Funciones"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variables"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Valores de enumeraciones"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Documentación de «define»"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Documentación de «typedef»"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Documentación de enumeraciones"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Documentación de funciones"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Documentación de variables"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estructuras de datos";
}
else
{
return "Clases";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Generado el "+date;
if (!projName.isEmpty()) result+=" para "+projName;
result+=" por";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Diagrama de herencia de "+clName;
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Atención"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Versión"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Fecha"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Devuelve"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Ver también"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parámetros"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Excepciones"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Generado por"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Lista de espacios de nombres"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Lista de ";
if (!extractAll) result+="todos ";
result+="los espacios de nombres documentados, con breves descripciones:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Amigas"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Documentación de clases amigas y funciones relacionadas"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Referencia de";
if (isTemplate) result+=" la plantilla de";
switch(compType)
{
case ClassDef::Class: result+=" la clase "; break;
case ClassDef::Struct: result+=" la estructura "; break;
case ClassDef::Union: result+=" la unión "; break;
case ClassDef::Interface: result+=" la interface "; break;
case ClassDef::Protocol: result+="l protocolo "; break;
case ClassDef::Category: result+=" la categoría "; break;
case ClassDef::Exception: result+=" la excepción "; break;
default: break;
}
result+=clName;
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result="Referencia del archivo ";
result+=fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result="Referencia del espacio de nombres ";
result+=namespaceName;
return result;
}
QCString trPublicMembers() override
{ return "Métodos públicos"; }
QCString trPublicSlots() override
{ return "Slots públicos"; }
QCString trSignals() override
{ return "Señales"; }
QCString trStaticPublicMembers() override
{ return "Métodos públicos estáticos"; }
QCString trProtectedMembers() override
{ return "Métodos protegidos"; }
QCString trProtectedSlots() override
{ return "Slots protegidos"; }
QCString trStaticProtectedMembers() override
{ return "Métodos protegidos estáticos"; }
QCString trPrivateMembers() override
{ return "Métodos privados"; }
QCString trPrivateSlots() override
{ return "Slots privados"; }
QCString trStaticPrivateMembers() override
{ return "Métodos privados estáticos"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" y ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Hereda de "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Heredado por "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Reimplementado de "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Reimplementado en "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Miembros del espacio de nombres "; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Lista de todos los miembros de espacios de nombres ";
if (!extractAll) result+="documentados ";
result+="con enlaces a ";
if (extractAll)
result+="la documentación del espacio de nombres de cada miembro:";
else
result+="al espacio de nombres al que pertenecen:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Índice de espacios de nombres"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Documentación de espacios de nombres"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Espacios de nombres"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
QCString result="La documentación de est";
switch(compType)
{
case ClassDef::Class: result+=vhdlOpt? "a unidad de diseño":"a clase"; break;
case ClassDef::Struct: result+="a estructura"; break;
case ClassDef::Union: result+="a unión"; break;
case ClassDef::Interface: result+="a interface"; break;
case ClassDef::Protocol: result+="e protocolo"; break;
case ClassDef::Category: result+="a categoría"; break;
case ClassDef::Exception: result+="a excepción"; break;
default: break;
}
result+=" está generada de";
if (single) result+="l siguiente archivo:";
else result+=" los siguientes archivos:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Valores devueltos"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Página principal"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "pág."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Definición en la línea @0 del archivo @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definición en el archivo @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Obsoleto";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Diagrama de colaboración de "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Gráfico de dependencias incluidas en "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Documentación de constructores y destructores";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Ir al código fuente de este archivo.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Ir a la documentación de este archivo.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Precondición";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Postcondición";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariante";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Valor inicial:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "código fuente";
}
QCString trGraphicalHierarchy() override
{
return "Gráfico de jerarquía de clases";
}
QCString trGotoGraphicalHierarchy() override
{
return "Ir al gráfico de jerarquía de clases";
}
QCString trGotoTextualHierarchy() override
{
return "Ir al texto de jerarquía de clases";
}
QCString trPageIndex() override
{
return "Índice de páginas";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Nota";
}
QCString trPublicTypes() override
{
return "Tipos públicos";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos de datos";
}
else
{
return "Atributos públicos";
}
}
QCString trStaticPublicAttribs() override
{
return "Atributos públicos estáticos";
}
QCString trProtectedTypes() override
{
return "Tipos protegidos";
}
QCString trProtectedAttribs() override
{
return "Atributos protegidos";
}
QCString trStaticProtectedAttribs() override
{
return "Atributos estáticos protegidos";
}
QCString trPrivateTypes() override
{
return "Tipos privados";
}
QCString trPrivateAttribs() override
{
return "Atributos privados";
}
QCString trStaticPrivateAttribs() override
{
return "Atributos estáticos privados";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Tareas pendientes";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Lista de tareas pendientes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Referenciado por";
}
QCString trRemarks() override
{
return "Comentarios";
}
QCString trAttention() override
{
return "Atención";
}
QCString trInclByDepGraph() override
{
return "Gráfico de los archivos que directa o "
"indirectamente incluyen a este archivo:";
}
QCString trSince() override
{
return "Desde";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Leyenda del gráfico";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Esta página explica cómo interpretar los gráficos generados "
"por doxygen.<p>\n"
"Considérese el siguiente ejemplo:\n"
"\\code\n"
"/*! Clase invisible por truncamiento */\n"
"class Invisible { };\n\n"
"/*! Clase truncada, relación de herencia escondida */\n"
"class Truncated : public Invisible { };\n\n"
"/* Clase no documentada con comentarios de doxygen */\n"
"class Undocumented { };\n\n"
"/*! Clase que es heredera usando herencia publica */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! Plantilla de clases */\n"
"template<class T> class Templ { };\n\n"
"/*! Clase que es heredera usando herencia protegida */\n"
"class ProtectedBase { };\n\n"
"/*! Clase que es heredera usando herencia privada */\n"
"class PrivateBase { };\n\n"
"/*! Clase que es usada por la clase heredada */\n"
"class Used { };\n\n"
"/*! Superclase que hereda de varias otras clases */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Dará como resultado el siguiente gráfico:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
"<p>\n"
"Las cajas del gráfico superior tienen el siguiente significado:\n"
"</p>\n"
"<ul>\n"
"<li>Una caja gris rellena representa la estructura o clase para la cual "
"se generó el gráfico.\n"
"<li>Una caja con borde negro indica una estructura o clase documentada.\n"
"<li>Una caja con borde gris indica una estructura o clase no documentada.\n"
"<li>Una caja con borde rojo indica una estructura o clase documentada"
" de la que no todas las relaciones de herencia/asociación se "
"muestran. Un gráfico queda cortado si no encaja dentro de los "
"límites especificados."
"</ul>\n"
"<p>\n"
"Las flechas tienen el siguiente significado:\n"
"</p>\n"
"<ul>\n"
"<li>Una flecha azul oscuro se usa para mostrar una relación de herencia publica entre dos clases.\n"
"<li>Una flecha verde oscuro se usa para una herencia protegida.\n"
"<li>Una flecha rojo oscuro se usa para herencia privada.\n"
"<li>Una flecha púrpura discontinua se usa si la clase está contenida o "
"se usa por otra clase. La flecha está etiquetada por la variable "
"con que se accede a la clase o estructura apuntada. \n"
"<li>Una flecha amarilla discontinua indica la relación entre una instancia de plantilla y la clase de plantilla de la que se ha instanciado."
" La flecha se etiqueta con los parámetros de plantilla de la instancia.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "leyenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Prueba";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Lista de pruebas";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Propiedades";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Documentación de propiedades";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estructuras de datos";
}
else
{
return "Clases";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Paquete "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Estos son los paquetes con breves descripciones (si están disponibles):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Paquetes";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Valor:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Defecto";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Lista de defectos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Índice";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "clase", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "archivo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
QCString result = createNoun(first_capital, singular, "espacio", "s");
result+=" de nombres";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "módulo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "página", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "miembro", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "global", "es");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "autor", "es");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Hace referencia a";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implementa "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Implementado en "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Tabla de contenidos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Lista de obsoletos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Eventos";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Documentación de eventos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Tipos de paquete";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Funciones de paquete";
}
QCString trPackageMembers() override
{
return "Miembros de paquete";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Funciones estáticas de paquete";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Atributos de paquete";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Atributos estáticos de paquete";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Todos";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Gráfico de llamadas de esta función:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Resultados de la búsqueda";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Disculpe, no se encontraron documentos que coincidan con su búsqueda.";
}
else if (numDocuments==1)
{
return "Se encontró <b>1</b> documento que coincide con su búsqueda.";
}
else
{
return "Se encontraron <b>$num</b> documentos que coinciden con su búsqueda. "
"Se muestran los mejores resultados primero.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Coincidencias:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Archivo de código fuente " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Jerarquía de directorios"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Documentación de directorios"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Directorios"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{
QCString result="Referencia del directorio ";
result+=dirName;
return result;
}
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "directorio", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Esta es una función miembro sobrecargada que se "
"suministra por conveniencia. Difiere de la anterior "
"función solamente en los argumentos que acepta.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Gráfico de llamadas a esta función:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Documentación de valores enumerados"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Documentación de funciones/subrutinas miembros"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Lista de campos de datos"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Campos de datos"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Esta es la lista de los tipos de datos con breves descripciones:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Esta es la lista de todos ";
result+="los tipos de datos miembro ";
if (!extractAll)
{
result+="documentados ";
}
result+="con enlaces a ";
if (!extractAll)
{
result+="la documentación de la estructura de datos para cada miembro";
}
else
{
result+="los tipos de datos a los que pertenecen:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Índice de tipos de datos"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Documentación de tipos de datos"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Funciones/subrutinas"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Documentación de funciones/subrutinas"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Tipos de datos"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Lista de módulos"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Lista de todos los módulos ";
if (!extractAll) result+="documentados ";
result+="con breves descripciones:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Referencia de";
if (isTemplate) result+=" la plantilla de";
switch(compType)
{
case ClassDef::Class: result+="l módulo"; break;
case ClassDef::Struct: result+="l tipo"; break;
case ClassDef::Union: result+=" la unión"; break;
case ClassDef::Interface: result+=" la interface"; break;
case ClassDef::Protocol: result+="l protocolo"; break;
case ClassDef::Category: result+=" la categoría"; break;
case ClassDef::Exception: result+=" la excepción"; break;
default: break;
}
result+=clName;
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result="Referencia del módulo ";
result+=namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Miembros del módulo"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Lista de todos los miembros del módulo ";
if (!extractAll) result+="documentados ";
result+="con enlaces ";
if (extractAll)
{
result+="a la documentación del módulo para cada uno:";
}
else
{
result+="al módulo al que pertenecen:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Índice de módulos"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "módulo", "s");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
QCString result="La documentación de est";
switch(compType)
{
case ClassDef::Class: result+="e módulo"; break;
case ClassDef::Struct: result+="e tipo"; break;
case ClassDef::Union: result+="a unión"; break;
case ClassDef::Interface: result+="a interface"; break;
case ClassDef::Protocol: result+="e protocolo"; break;
case ClassDef::Category: result+="a categoría"; break;
case ClassDef::Exception: result+="a excepción"; break;
default: break;
}
result+=" está generada de";
if (single) result+="l siguiente archivo:";
else result+=" los siguientes archivos:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tipo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subprograma", "s");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Restricciones de tipo";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return "Relación "+name;
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Cargando...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Espacio de nombres global";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Buscando...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Nada coincide";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "Archivo en "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Incluye archivo en "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Lunes","Martes","Miércoles","Jueves",
"Viernes","Sábado","Domingo" };
static const char *months[] = { "enero","febrero","marzo","abril",
"mayo","junio","julio","agosto",
"septiembre","octubre","noviembre","diciembre" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "lun", "mar", "mié", "jue", "vie", "sáb", "dom" };
static const char *days_full[] = { "lunes", "martes", "miércoles", "jueves", "viernes", "sábado", "domingo" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
return first_capital? text.mid(0,1).upper()+text.mid(1) : text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic" };
static const char *months_full[] = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" };
QCString text = full? months_full[month-1] : months_short[month-1];
return first_capital? text.mid(0,1).upper()+text.mid(1) : text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "a. m.", "p. m." };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Referencias bibliográficas"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Copyright"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return "Gráfico de dependencias de directorios de "+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "nivel de detalle"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "Parámetros de plantilla"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "y "+number+" más..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{ QCString result = "La documentación de esta enumeración está generada de";
if (single)
result += "l siguiente archivo:";
else
result += " los siguientes archivos:";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{ return "Referencia de la enumeración "+name; }
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return members+" heredados de "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "Otros miembros heredados"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "habilitar" : "deshabilitar";
return "pulsar para "+opt+" sincronización";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "Proporcionado por la categoría @0.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "Extiende la clase @0.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "Métodos de clase";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "Métodos de instancia";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "Documentación de métodos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "Interfaces exportadas"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "Servicios incluidos"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "Grupos de constantes"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result="Referencia a grupos de constantes de ";
result+=namespaceName;
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result="Referencia a servicios de ";
result+=sName;
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result="Referencia a «singleton» de ";
result+=sName;
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="La documentación de este servicio "
"está generada de";
if (single) result+="l siguiente archivo:"; else result+=" los siguientes archivos:";
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="La documentación de este «singleton» "
"está generada de";
if (single) result+="l siguiente archivo:"; else result+=" los siguientes archivos:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "Jerarquía de unidades de diseño"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "Lista de unidades de diseño"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "Miembros de unidades de diseño"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{
return "Esta es la lista de todos los miembros de unidades de diseño con "
"enlaces a las entidades a las que pertenecen:";
}
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "Índice de unidades de diseño"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "Unidades de diseño"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "Funciones/procedimientos/procesos"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch(type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "Biblioteca";
else return "Bibliotecas";
case VhdlSpecifier::PACKAGE:
if (single) return "Paquete";
else return "Paquetes";
case VhdlSpecifier::SIGNAL:
if (single) return "Señal";
else return "Señales";
case VhdlSpecifier::COMPONENT:
if (single) return "Componente";
else return "Componentes";
case VhdlSpecifier::CONSTANT:
if (single) return "Constante";
else return "Constantes";
case VhdlSpecifier::ENTITY:
if (single) return "Entidad";
else return "Entidades";
case VhdlSpecifier::TYPE:
if (single) return "Tipo";
else return "Tipos";
case VhdlSpecifier::SUBTYPE:
if (single) return "Subtipo";
else return "Subtipos";
case VhdlSpecifier::FUNCTION:
if (single) return "Función";
else return "Funciones";
case VhdlSpecifier::RECORD:
if (single) return "Registro";
else return "Registros";
case VhdlSpecifier::PROCEDURE:
if (single) return "Procedimiento";
else return "Procedimientos";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "Arquitectura";
else return "Arquitecturas";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "Atributo";
else return "Atributos";
case VhdlSpecifier::PROCESS:
if (single) return "Proceso";
else return "Procesos";
case VhdlSpecifier::PORT:
if (single) return "Puerto";
else return "Puertos";
case VhdlSpecifier::USE:
if (single) return "Cláusula de uso";
else return "Cláusulas de uso";
case VhdlSpecifier::GENERIC:
if (single) return "Genérico";
else return "Genéricos";
case VhdlSpecifier::PACKAGE_BODY:
return "Cuerpo del paquete";
case VhdlSpecifier::UNITS:
return "Unidades";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "Variable compartida";
else return "Variables compartidas";
case VhdlSpecifier::VFILE:
if (single) return "Archivo";
else return "Archivos";
case VhdlSpecifier::GROUP:
if (single) return "Grupo";
else return "Grupos";
case VhdlSpecifier::INSTANTIATION:
if (single) return "Instanciación";
else return "Instanciaciones";
case VhdlSpecifier::ALIAS:
if (single) return "Alias";
else return "Aliases";
case VhdlSpecifier::CONFIG:
if (single) return "Configuración";
else return "Configuraciones";
case VhdlSpecifier::MISCELLANEOUS:
return "Varios";
case VhdlSpecifier::UCF_CONST:
return "Restricciones";
default:
return "Clase";
}
}
QCString trCustomReference(const QCString &name) override
{ return "Referencia de "+name; }
QCString trConstants() override
{
return "Constantes";
}
QCString trConstantDocumentation() override
{
return "Documentación de constantes";
}
QCString trSequences() override
{
return "Secuencias";
}
QCString trSequenceDocumentation() override
{
return "Documentación de secuencias";
}
QCString trDictionaries() override
{
return "Diccionarios";
}
QCString trDictionaryDocumentation() override
{
return "Documentación de diccionarios";
}
QCString trSliceInterfaces() override
{
return "Interfaces";
}
QCString trInterfaceIndex() override
{
return "Índice de interfaces";
}
QCString trInterfaceList() override
{
return "Lista de interfaces";
}
QCString trInterfaceListDescription() override
{
return "Esta es la lista de las interfaces con breves descripciones:";
}
QCString trInterfaceHierarchy() override
{
return "Jerarquía de interfaces";
}
QCString trInterfaceHierarchyDescription() override
{
return "Este listado de herencia está ordenado de forma general, pero no está en orden alfabético estricto:";
}
QCString trInterfaceDocumentation() override
{
return "Documentación de interfaces";
}
QCString trStructs() override
{
return "Estructuras de datos";
}
QCString trStructIndex() override
{
return "Índice de estructuras de datos";
}
QCString trStructList() override
{
return "Lista de estructuras de datos";
}
QCString trStructListDescription() override
{
return "Esta es la lista de las estructuras de datos con breves descripciones:";
}
QCString trStructDocumentation() override
{
return "Documentación de estructuras de datos";
}
QCString trExceptionIndex() override
{
return "Índice de excepciones";
}
QCString trExceptionList() override
{
return "Lista de excepciones";
}
QCString trExceptionListDescription() override
{
return "Esta es la lista de las excepciones con breves descripciones:";
}
QCString trExceptionHierarchy() override
{
return "Jerarquía de excepciones";
}
QCString trExceptionHierarchyDescription() override
{
return "Este listado de herencia está ordenado de forma general, pero no está en orden alfabético estricto:";
}
QCString trExceptionDocumentation() override
{
return "Documentación de excepciones";
}
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result="Referencia de";
switch(compType)
{
case ClassDef::Class: result+=" la clase "; break;
case ClassDef::Struct: result+=" la estructura "; break;
case ClassDef::Union: result+=" la unión "; break;
case ClassDef::Interface: result+=" la interface "; break;
case ClassDef::Protocol: result+="l protocolo "; break;
case ClassDef::Category: result+=" la categoría "; break;
case ClassDef::Exception: result+=" la excepción "; break;
default: break;
}
if (isLocal) result+=" local ";
result+=clName;
return result;
}
QCString trOperations() override
{
return "Operaciones";
}
QCString trOperationDocumentation() override
{
return "Documentación de operaciones";
}
QCString trDataMembers() override
{
return "Datos miembro";
}
QCString trDataMemberDocumentation() override
{
return "Documentación de datos miembro";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit documentation */
QCString trDesignUnitDocumentation() override
{ return "Documentación de unidades de diseño"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
/** C++20 concept */
QCString trConcept(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "concepto", "s");
}
/*! used as the title of the HTML page of a C++20 concept page */
QCString trConceptReference(const QCString &conceptName) override
{
QCString result="Referencia del concepto ";
result+=conceptName;
return result;
}
/*! used as the title of page containing all the index of all concepts. */
QCString trConceptList() override
{ return "Lista de conceptos"; }
/*! used as the title of chapter containing the index listing all concepts. */
QCString trConceptIndex() override
{ return "Índice de conceptos"; }
/*! used as the title of chapter containing all information about concepts. */
QCString trConceptDocumentation() override
{ return "Documentación de conceptos"; }
/*! used as an introduction to the concept list */
QCString trConceptListDescription(bool extractAll) override
{
QCString result="Esta es la lista de todos los conceptos ";
if (!extractAll) result+="documentados ";
result+="con breves descripciones:";
return result;
}
/*! used to introduce the definition of the C++20 concept */
QCString trConceptDefinition() override
{
return "Definición de concepto";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
QCString trPackageList() override
{ return "Lista de paquetes"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.6
//////////////////////////////////////////////////////////////////////////
/*! This is used for translation of the word that will be
* followed by a single name of the VHDL process flowchart.
*/
QCString trFlowchart() override
{ return "Diagrama de flujo:"; }
/*! Please translate also updated body of the method
* trMemberFunctionDocumentation(), now better adapted for
* VHDL sources documentation.
*/
//////////////////////////////////////////////////////////////////////////
// new since 1.9.7
//////////////////////////////////////////////////////////////////////////
/*! used in the compound documentation before a list of related symbols.
*
* Supersedes trRelatedFunctions
*/
QCString trRelatedSymbols() override
{ return "Símbolos relacionados"; }
/*! subscript for the related symbols
*
* Supersedes trRelatedSubscript
*/
QCString trRelatedSymbolsSubscript() override
{ return "(Observar que estos no son símbolos miembro.)"; }
/*! used in the class documentation as a header before the list of all
* related classes.
*
* Supersedes trRelatedFunctionDocumentation
*/
QCString trRelatedSymbolDocumentation() override
{ return "Documentación de símbolos amigos y relacionados"; }
/*! the compound type as used for the xrefitems */
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
{
QCString result;
switch(compType)
{
case ClassDef::Class:
if (lang == SrcLangExt::Fortran) trType(true,true);
else result=trClass(true,true);
break;
case ClassDef::Struct: result="Estructura"; break;
case ClassDef::Union: result="Unión"; break;
case ClassDef::Interface: result="Interface"; break;
case ClassDef::Protocol: result="Protocolo"; break;
case ClassDef::Category: result="Categoría"; break;
case ClassDef::Exception: result="Excepción"; break;
case ClassDef::Service: result="Servicio"; break;
case ClassDef::Singleton: result="Singleton"; break;
default: break;
}
return result;
}
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = SpanishTranslatorUtils::isFileMemberHighlightMasculine(hl);
QCString result="Lista de ";
result+=(masculine ? "todos los " : "todas las ");
switch (hl)
{
case FileMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="funciones, variables, «defines», enumeraciones y «typedefs»";
}
else
{
result+="miembros de los archivos";
}
break;
case FileMemberHighlight::Functions:
result+="funciones";
break;
case FileMemberHighlight::Variables:
result+="variables";
break;
case FileMemberHighlight::Typedefs:
result+="«typedefs»";
break;
case FileMemberHighlight::Sequences:
result+="secuencias";
break;
case FileMemberHighlight::Dictionaries:
result+="diccionarios";
break;
case FileMemberHighlight::Enums:
result+="enumeraciones";
break;
case FileMemberHighlight::EnumValues:
result+="valores enumerados";
break;
case FileMemberHighlight::Defines:
result+="macros";
break;
case FileMemberHighlight::Total: // for completeness
break;
}
if (!extractAll) result+=(masculine ? "documentados " : "documentadas ");
result+=" con enlaces ";
if (extractAll)
result+="a los archivos a los que corresponden:";
else
result+="a la documentación:";
return result;
}
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = SpanishTranslatorUtils::isClassMemberHighlightMasculine(hl);
QCString result="Lista de ";
result+=(masculine ? "todos los " : "todas las ");
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="estructuras y uniones";
}
else
{
result+="miembros de clases";
}
break;
case ClassMemberHighlight::Functions:
result+="funciones";
break;
case ClassMemberHighlight::Variables:
result+="variables";
break;
case ClassMemberHighlight::Typedefs:
result+="«typedefs»";
break;
case ClassMemberHighlight::Enums:
result+="enumeraciones";
break;
case ClassMemberHighlight::EnumValues:
result+="valores enumerados";
break;
case ClassMemberHighlight::Properties:
result+="propiedades";
break;
case ClassMemberHighlight::Events:
result+="eventos";
break;
case ClassMemberHighlight::Related:
result+="símbolos relacionados";
break;
case ClassMemberHighlight::Total: // for completeness
break;
}
if (!extractAll) result+=(masculine ? "documentados " : "documentadas ");
result+=" con enlaces ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a la documentación de la estructura/unión para cada campo:";
}
else
{
result+="a la documentación de la clase para cada miembro:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a las estructuras/uniones a las que pertenecen:";
}
else
{
result+="a las clases a las que pertenecen:";
}
}
return result;
}
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = SpanishTranslatorUtils::isNamespaceMemberHighlightMasculine(hl);
QCString result="Lista de ";
result+=(masculine ? "todos los " : "todas las ");
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case NamespaceMemberHighlight::All:
singularResult="miembro";
pluralResult="miembros";
break;
case NamespaceMemberHighlight::Functions:
singularResult="función";
pluralResult="funciones";
break;
case NamespaceMemberHighlight::Variables:
singularResult="variable";
pluralResult="variables";
break;
case NamespaceMemberHighlight::Typedefs:
singularResult="«typedef»";
pluralResult="«typedefs»";
break;
case NamespaceMemberHighlight::Sequences:
singularResult="secuencia";
pluralResult="secuencias";
break;
case NamespaceMemberHighlight::Dictionaries:
singularResult="diccionario";
pluralResult="diccionarios";
break;
case NamespaceMemberHighlight::Enums:
singularResult="enumeración";
pluralResult="enumeraciones";
break;
case NamespaceMemberHighlight::EnumValues:
singularResult="valor enumerado";
pluralResult="valores enumerados";
break;
case NamespaceMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+="del espacio de nombres ";
if (!extractAll) result+=(masculine ? "documentados " : "documentadas ");
result+=" con enlaces ";
if (extractAll)
result+="a la documentación del espacio de nombres de cada " + singularResult + ":";
else
result+="a los espacios de nombres a los que pertenecen:";
return result;
}
};
#endif
| 89,897
|
C++
|
.h
| 2,387
| 31.087558
| 170
| 0.595249
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,713
|
translator_za.h
|
doxygen_doxygen/src/translator_za.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
/*
* Bronne vir hierdie vertaling (Sources for this translation):
* Die Stigting vir Afrikaans se rekenaartermelys:
* - http://www.afrikaans.com/rekenaarterme.html
* Werkgroep vir Afrikaanse IT-terme:
* - http://www.vertaal.org/index.html
*/
#ifndef TRANSLATOR_ZA_H
#define TRANSLATOR_ZA_H
class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "afrikaans"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The Afrikaans LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[afrikaans]{babel}\n";
}
QCString trISOLang() override
{
return "af";
}
QCString getLanguageString() override
{
return "0x436 Afrikaans";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Verwante Funksies"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Let daarop dat hierdie nie lede funksies is nie.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Detail Beskrywing"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Besonderhede"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Lede Typedef Dokumentasie"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Lede Enumerasie Dokumentasie"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Lede Funksie Dokumentasie"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Veld Dokumentasie";
}
else
{
return "Lede Data Dokumentasie";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Meer detail..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Lys van alle lede"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Lede Lys"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Hierdie is 'n volledige lys van lede vir"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", insluitend alle afgeleide lede."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Automaties gegenereer deur Doxygen";
if (!s.isEmpty()) result+=" vir "+s;
result+=" van die bron kode af.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "enum naam"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "enum waarde"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "gedefinieër in"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Modules"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Klas Hierargie"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Strukture";
}
else
{
return "Klas Lys";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Leër Lys"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Velde";
}
else
{
return "Klas Lede";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globals";
}
else
{
return "Leër Lede";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Verwante Bladsye"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Voorbeelde"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Soek"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{
return "Hierdie afgeleide lys word rofweg gesorteer: ";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="leërs met kort beskrywings:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return " Data strukture met kort beskrywings:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Klasse met kort beskrywings:";
}
else
{
return "Klasse, structs, "
"unions en intervlakke met kort beskrywings:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="'n Lys van alle ";
if (!extractAll)
{
result+="gedokumenteerde ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct en union velde";
}
else
{
result+="klas lede";
}
result+=" met skakels na ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="die struct/union dokumentasie vir elke veld:";
}
else
{
result+="die klas dokumentasie vir elke lid:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="die structures/unions waaraan hulle behoort:";
}
else
{
result+="die klasse waaraan hulle behoort:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="'n Lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="funksies, veranderlikes, defines, enums, en typedefs";
}
else
{
result+="leër lede";
}
result+=" met skakels na ";
if (extractAll)
result+="die leërs waaraan hulle behoort:";
else
result+="die dokumentasie:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "'n Lys van alle voorbeelde:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "'n Lys van alle verwante dokumentasie:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "'n Lys van alle modules:"; }
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentasie"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Module Indeks"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Hierargiese Indeks"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Strukture Indeks";
}
else
{
return "Klas Indeks";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Leër Indeks"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Module Dokumentasie"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Strukture Dokumentasie";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Klas Dokumentasie";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Leër Dokumentasie"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Verwysings Handleiding"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Definiesies"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Typedefs"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerations"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Funksies"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Veranderlikes"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Enumeration waardes"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Define Documentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Typedef Dokumentasie"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Enumeration Type Dokumentasie"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Funksie Dokumentasie"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Veranderlike Dokumentasie"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Strukture";
}
else
{
return "Klasse";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Gegenereer op "+date;
if (!projName.isEmpty()) result+=" vir "+projName;
result+=" deur";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Afleidings diagram vir "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Waarskuwing"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Weergawe"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Datum"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Returns"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Sien ook"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parameters"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Exceptions"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Gegenereer deur"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Namespace Lys"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="'n Lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="namespaces met kort beskrywings:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Friends"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Friends En Verwante Funksie Dokumentasie"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" klas"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Intervlak"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Kategorie"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Verwysing";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" Leër Verwysing";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Namespace Verwysing";
return result;
}
QCString trPublicMembers() override
{ return "Publieke Lede Funksies"; }
QCString trPublicSlots() override
{ return "Publieke Slots"; }
QCString trSignals() override
{ return "Signals"; }
QCString trStaticPublicMembers() override
{ return "Statiese Publieke Lede Funksies"; }
QCString trProtectedMembers() override
{ return "Beskermde Lede Funksies"; }
QCString trProtectedSlots() override
{ return "Beskermde Slots"; }
QCString trStaticProtectedMembers() override
{ return "Statiese Beskermde Lede Funksies"; }
QCString trPrivateMembers() override
{ return "Private Lede Funksies"; }
QCString trPrivateSlots() override
{ return "Private Slots"; }
QCString trStaticPrivateMembers() override
{ return "Statiese Private Lede Funksies"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=", en ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Afgelei van"+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Afgelei van"+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Hergeimplimenteer van "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Hergeimplimenter in "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Namespace Lede"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="'n Lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="namespace lede met skakels na ";
if (extractAll)
result+="die namespace dokumentasie vir elke lid:";
else
result+="die namespaces waaraan hulle behoort:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Namespace Indeks"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Namespace Dokumentasie"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="Die dokumentasie vir hierdie ";
switch(compType)
{
case ClassDef::Class: result+="klas"; break;
case ClassDef::Struct: result+="struct"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="intervlak"; break;
case ClassDef::Protocol: result+="protokol"; break;
case ClassDef::Category: result+="kategorie"; break;
case ClassDef::Exception: result+="eksepsie"; break;
default: break;
}
result+=" is gegenereer vanaf die volgende leër";
if (single) result+=":"; else result+="s:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Return waardes"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Hoof Bladsy"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "p."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Gedefinieër by lyn @0 van leër @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definisie in leër @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Verouderd";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Samewerkings diagram vir "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Insluitings afhanklikheid diagram vir "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Konstruktor & Destruktor Dokumentasie";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Skakel na die bron kode van hierdie leër.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Skakel na die dokumentasie van hierdie leër.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Prekondisie";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Postkondisie";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Oorspronklike waarde:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "kode";
}
QCString trGraphicalHierarchy() override
{
return "Grafiese Klasse Hierargie";
}
QCString trGotoGraphicalHierarchy() override
{
return "Skakel na die grafiese klasse hierargie";
}
QCString trGotoTextualHierarchy() override
{
return "Skakel na die teks klasse hierargie";
}
QCString trPageIndex() override
{
return "Bladsy Indeks";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Nota";
}
QCString trPublicTypes() override
{
return "Publieke Tipes";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Velde";
}
else
{
return "Publieke Public Attributes";
}
}
QCString trStaticPublicAttribs() override
{
return "Statiese Publieke Attribute";
}
QCString trProtectedTypes() override
{
return "Beskermde Tipes";
}
QCString trProtectedAttribs() override
{
return "Beskermde Attribute";
}
QCString trStaticProtectedAttribs() override
{
return "Statiese Beskermde Attribute";
}
QCString trPrivateTypes() override
{
return "Private Tipes";
}
QCString trPrivateAttribs() override
{
return "Private Attribute";
}
QCString trStaticPrivateAttribs() override
{
return "Statiese Private Attribute";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Aksies";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Aksie Lys";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Verwysing van";
}
QCString trRemarks() override
{
return "Opmerkings";
}
QCString trAttention() override
{
return "Aandag";
}
QCString trInclByDepGraph() override
{
return "Hierdie diagram verduidelik watter leërs direk of"
"indirek hierdie leër insluit:";
}
QCString trSince() override
{
return "Sederd";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Diagram beskrywing";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Hierdie bladsy beskryf die diagram konvensies wat gebruik word "
"deur doxygen.<p>\n"
"in hierdie voorbeeld:\n"
"\\code\n"
"/*! Onsigbare klas weens afkorting */\n"
"class Invisible { };\n\n"
"/*! Afgekorte klas, afgeleide verwantskap word versteek */\n"
"class Truncated : public Invisible { };\n\n"
"/* Ongedokumenteerde Klas, geen doxygen kommentaar nie */\n"
"class Undocumented{ };\n\n"
"/*! 'n Klas wat afgelei is met 'n publieke verwantskap */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! 'n template klas */\n"
"template<class T> class Templ { };\n\n"
"/*! 'n Klas wat afgelei is met 'n beskermde verwantskap */\n"
"class ProtectedBase { };\n\n"
"/*! 'n Klas wat afgelei is met 'n private verwantskap */\n"
"class PrivateBase { };\n\n"
"/*! 'n Klas wat gebrui word deur die Afgeleide klas */\n"
"class GebruikMy { };\n\n"
"/*! 'n Super klas wat afgelei word van 'n aantal basis klasse */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Ongedokumenteer,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"As die \\c MAX_DOT_GRAPH_HEIGHT merker in die konfigurasie leër "
"aan 240 gelyk gestel is, word die volgende diagram geproduseer:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Die reghoeke in die diagram het die volgende betekenis:\n"
"<ul>\n"
"<li>%'n Soliede swart reghoek verteenwoordig die klas waarvoor "
"die diagram gegenereer is.\n"
"<li>%'n Reghoek met 'n swart omlyning verteenwoordig 'n gedokumenteerde klas.\n"
"<li>%'n Reghoek met 'n grys omlyning verteenwoordig 'n ongedokumenteerde klas.\n"
"<li>%'n Reghoek met 'n rooi omlyning verteenwoordig 'n gedokumenteerde klas waarvoor"
"alle verwante klasse (afgeleide of gebruik) nie getoon word nie. %'n Diagram word "
"op hierie manier afgekort as dit nie in die gespesifiseerde raam pas nie.\n"
"</ul>\n"
"Die pyltjies het die volgende betekenis:\n"
"<ul>\n"
"<li>%'n Donker blou pyltjie verteenwoordig 'n publieke afgeleide "
"verwantskap tussen twee klasse.\n"
"<li>%'n Donker groen pyltjie word gebruik vir 'n beskermde verwantskap.\n"
"<li>%'n Donker rooi pyltjie verteenwoordig private verwantskappe.\n"
"<li>%'n Pers pyltjie word gebruik as 'n klas gebruik of bevat word "
"deur 'n ander klas. Die pyltjie word gemerk met die veranderlike(s) waar deur "
"die verwysde klass verkrygbaar is.\n"
"<li>%'n Geel stippel pyl verteenwoordig die verwantslap tussen 'n template instansie en "
"die template waarvan die klas vervaardig is. Die pyltjie word gemerk met die "
"template parameters van die instansie.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "beskrywing";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Toets";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Toets Lys";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Eienskappe";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Eienskap Dokumentasie";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Strukture";
}
else
{
return "Klasse";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Pakket "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Die pakkette met kort beskrywings (indien beskikbaar):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Pakkette";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Waarde:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bug";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Bug Lys";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Indeks";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "klas", "se");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "leër", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "namespace", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "groep", "e");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "bladsy", "e");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "l", "ede", "id");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "global", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "outeur", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Verwysings";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implimenteer "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Geimplimenteer in "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Inhoudsopgawe";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Verouderde Lys";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Events";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Event Dokumentasie";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Pakket Tipes";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Pakket Funksies";
}
QCString trPackageMembers() override
{
return "Pakket Lede";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Statiese Pakket Funksies";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Pakket Eienskappe";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Statiese Pakket Eienskappe";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Alle Lede";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "'n gebruiks diagram vir hierdie funksie:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Soektog Resultate";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Geen dokumente na gelang van jou navraag nie.";
}
else if (numDocuments==1)
{
return "Die soektog het <b>1</b> dokument gevind na gelang van jou navraag.";
}
else
{
return "Die soektog het <b>$num</b> dokumente gevind na gelang van jou navraag. "
"Beste resultate eerste.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Teikens:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " Bron kode Leër";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Directory Hiërargie"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Directory Documentasie"; }
/*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Directories"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" Directory Verwysing"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "director", "ies", "y");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Hierdie is 'n oorlaaide lede funksie, "
"vertoon vir volledigheid. Dit verskil slegs van die bogegewe "
"funksie in die argument(e) wat dit aanvaar.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Hier is die roep skema vir die funksie:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Enumerator Dokumentasie"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Lede Funksie/Subroetine Dokumentasie"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Data Tipes Lys"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Data Velde"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Hier is die data tipes met kort beskrywings:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Hier is 'n lys van alle ";
if (!extractAll)
{
result+="gedokumenteerde ";
}
result+="data tipe lede";
result+=" met skakels na ";
if (!extractAll)
{
result+="die data strukture dokumentasie vir elke lid";
}
else
{
result+="die data tipes waaraan hulle behoort:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Data Tipe Indeks"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Data Tipe Dokumentasie"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Funksies/Subroetines"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Funksies/Subroetine Dokumentasie"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Data Tipes"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Modules Lys"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="modules met kort beskrywings:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Module"; break;
case ClassDef::Struct: result+=" Tipe"; break;
case ClassDef::Union: result+=" Unie"; break;
case ClassDef::Interface: result+=" Interflak"; break;
case ClassDef::Protocol: result+=" Protokol"; break;
case ClassDef::Category: result+=" Kategorie"; break;
case ClassDef::Exception: result+=" Eksepsie"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Bron";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Module Bron";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Module Lede"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Hier is 'n lys van alle ";
if (!extractAll) result+="gedokumenteerde ";
result+="module lede met skakels na ";
if (extractAll)
{
result+="die module dokumentasie vir elke lid:";
}
else
{
result+="die modules waaraan hulle behoort:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Modules Indeks"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "module", "s");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
QCString result="Die dokumentasie vir hierdie ";
switch(compType)
{
case ClassDef::Class: result+="module"; break;
case ClassDef::Struct: result+="tipe"; break;
case ClassDef::Union: result+="unie"; break;
case ClassDef::Interface: result+="Interflak"; break;
case ClassDef::Protocol: result+="protokcol"; break;
case ClassDef::Category: result+="kategorie"; break;
case ClassDef::Exception: result+="eksepsie"; break;
default: break;
}
result+=" is gegenereer vanaf die volgende leër";
if (single) result+=":"; else result+="s:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tipe", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subprogram", "me");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Tipe Limiete";
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "Ma.", "Di.", "Wo.", "Do.", "Vr.", "Sa.", "So." };
static const char *days_full[] = { "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag", "Sondag" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "Jan.", "Feb.", "Mrt.", "Apr.", "Mei", "Jun.", "Jul.", "Aug.", "Sep.", "Okt.", "Nov.", "Des." };
static const char *months_full[] = { "Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "Desember" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "vm.", "nm." };
return dayPeriod[period?1:0];
}
};
#endif
| 57,148
|
C++
|
.h
| 1,522
| 31.626807
| 173
| 0.5881
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,714
|
cmdmapper.h
|
doxygen_doxygen/src/cmdmapper.h
|
/******************************************************************************
*
* Copyright (C) 1997-2023 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef CMDMAPPER_H
#define CMDMAPPER_H
#include <unordered_map>
#include <string>
#include <memory>
#include "qcstring.h"
template<typename T>
using CommandMap = std::unordered_map< std::string, T >;
enum class CommandType
{
SIMPLESECT_BIT = 0x1000,
UNKNOWN = 0,
CMD_ADDINDEX = 1,
CMD_AMP = 2,
CMD_ANCHOR = 3,
CMD_AT = 4,
CMD_ATTENTION = 5 | SIMPLESECT_BIT,
CMD_AUTHOR = 6 | SIMPLESECT_BIT,
CMD_AUTHORS = 7 | SIMPLESECT_BIT,
CMD_BOLD = 8,
CMD_BSLASH = 9,
CMD_CODE = 10,
CMD_COPYDOC = 11,
CMD_DATE = 12 | SIMPLESECT_BIT,
CMD_DOLLAR = 13,
CMD_DONTINCLUDE = 14,
CMD_DOTFILE = 15,
CMD_EMPHASIS = 16,
CMD_ENDCODE = 17,
CMD_ENDHTMLONLY = 18,
CMD_ENDLATEXONLY = 19,
CMD_ENDLINK = 20,
CMD_ENDSECREFLIST= 21,
CMD_ENDVERBATIM = 22,
CMD_ENDXMLONLY = 23,
CMD_EXCEPTION = 24 | SIMPLESECT_BIT,
CMD_FORMULA = 25,
CMD_GREATER = 26,
CMD_HASH = 27,
CMD_HTMLINCLUDE = 28,
CMD_HTMLONLY = 29,
CMD_IMAGE = 30,
CMD_INCLUDE = 31,
CMD_INTERNAL = 32,
CMD_INTERNALREF = 33,
CMD_INVARIANT = 34 | SIMPLESECT_BIT ,
CMD_LATEXONLY = 35,
CMD_LESS = 36,
CMD_LI = 37,
CMD_LINE = 38,
CMD_LINEBREAK = 39,
CMD_LINK = 40,
CMD_NOTE = 41 | SIMPLESECT_BIT,
CMD_PAR = 42 | SIMPLESECT_BIT,
CMD_PARAM = 43 | SIMPLESECT_BIT,
CMD_PERCENT = 44,
CMD_POST = 45 | SIMPLESECT_BIT,
CMD_PRE = 46 | SIMPLESECT_BIT,
CMD_REF = 47,
CMD_SECREFITEM = 48,
CMD_REMARK = 49 | SIMPLESECT_BIT ,
CMD_RETURN = 50 | SIMPLESECT_BIT ,
CMD_RETVAL = 51 | SIMPLESECT_BIT,
CMD_SA = 52 | SIMPLESECT_BIT ,
CMD_SECREFLIST = 53,
CMD_SECTION = 54,
CMD_SUBPAGE = 55,
CMD_SUBSECTION = 56,
CMD_SUBSUBSECTION= 57,
CMD_PARAGRAPH = 58,
CMD_SINCE = 59 | SIMPLESECT_BIT,
CMD_SKIP = 60,
CMD_SKIPLINE = 61,
CMD_STARTCODE = 62,
CMD_JAVALINK = 63,
CMD_UNTIL = 64,
CMD_VERBATIM = 65,
CMD_VERBINCLUDE = 66,
CMD_VERSION = 67 | SIMPLESECT_BIT,
CMD_WARNING = 68 | SIMPLESECT_BIT,
CMD_XREFITEM = 69 | SIMPLESECT_BIT,
CMD_XMLONLY = 70,
CMD_DOT = 71,
CMD_ENDDOT = 72,
CMD_MSC = 73,
CMD_ENDMSC = 74,
CMD_MANONLY = 75,
CMD_ENDMANONLY = 76,
CMD_INCWITHLINES = 77,
CMD_INHERITDOC = 78,
CMD_TPARAM = 79 | SIMPLESECT_BIT,
CMD_COPYBRIEF = 80,
CMD_COPYDETAILS = 81,
CMD_QUOTE = 82,
CMD_MSCFILE = 83,
CMD_DCOLON = 84,
CMD_COPYRIGHT = 85 | SIMPLESECT_BIT,
CMD_CITE = 86,
CMD_SNIPPET = 87,
CMD_RTFONLY = 88,
CMD_ENDRTFONLY = 89,
CMD_PIPE = 90,
CMD_VHDLFLOW = 91,
CMD_DBONLY = 92,
CMD_ENDDBONLY = 93,
CMD_ENDINTERNAL = 94,
CMD_PARBLOCK = 95,
CMD_ENDPARBLOCK = 96,
CMD_DIAFILE = 97,
CMD_LATEXINCLUDE = 98,
CMD_NDASH = 99,
CMD_MDASH = 100,
CMD_STARTUML = 101,
CMD_ENDUML = 102,
CMD_SETSCOPE = 103,
CMD_PUNT = 104,
CMD_PLUS = 105,
CMD_MINUS = 106,
CMD_INCLUDEDOC = 107,
CMD_SNIPPETDOC = 108,
CMD_SNIPWITHLINES= 109,
CMD_EMOJI = 110,
CMD_EQUAL = 111,
CMD_RTFINCLUDE = 112,
CMD_DOCBOOKINCLUDE= 113,
CMD_MANINCLUDE = 114,
CMD_XMLINCLUDE = 115,
CMD_ILINE = 116,
CMD_ILITERAL = 117,
CMD_ENDILITERAL = 118,
CMD_IFILE = 119,
CMD_SHOWDATE = 120,
CMD_ISTARTCODE = 121,
CMD_ENDICODE = 122,
CMD_IVERBATIM = 123,
CMD_ENDIVERBATIM = 124,
CMD_IANCHOR = 125,
CMD_DOXYCONFIG = 126,
CMD_IMPORTANT = 127 | SIMPLESECT_BIT,
CMD_SUBPARAGRAPH = 128,
CMD_SUBSUBPARAGRAPH = 129,
CMD_IPREFIX = 130,
CMD_PLANTUMLFILE = 131
};
enum class HtmlTagType
{
SIMPLESECT_BIT = 0x1000,
UNKNOWN = 0,
HTML_CENTER = 1,
HTML_TABLE = 2,
HTML_CAPTION = 3,
HTML_SMALL = 4,
HTML_CODE = 5,
HTML_IMG = 6,
HTML_PRE = 7,
HTML_SUB = 8,
HTML_SUP = 9,
HTML_TR = 10,
HTML_TD = 11,
HTML_TH = 12,
HTML_OL = 13,
HTML_UL = 14,
HTML_LI = 15,
HTML_EMPHASIS = 16,
HTML_HR = 17,
HTML_DL = 18,
HTML_DT = 19,
HTML_DD = 20,
HTML_BR = 21,
HTML_A = 22,
HTML_BOLD = 23,
HTML_P = 24,
HTML_H1 = 25,
HTML_H2 = 26,
HTML_H3 = 27,
HTML_H4 = 28,
HTML_H5 = 29,
HTML_H6 = 30,
HTML_SPAN = 31,
HTML_DIV = 32,
HTML_BLOCKQUOTE= 33,
HTML_STRIKE = 34,
HTML_UNDERLINE = 35,
HTML_INS = 36,
HTML_DEL = 37,
HTML_S = 38,
HTML_DETAILS = 39,
HTML_CITE = 40,
HTML_THEAD = 41,
HTML_TBODY = 42,
HTML_TFOOT = 43,
HTML_KBD = 44,
XML_CmdMask = 0x100,
XML_C = XML_CmdMask + 0,
XML_CODE = XML_CmdMask + 1,
XML_DESCRIPTION = XML_CmdMask + 2,
XML_EXAMPLE = XML_CmdMask + 3,
XML_EXCEPTION = XML_CmdMask + 4,
XML_INCLUDE = XML_CmdMask + 5,
XML_ITEM = XML_CmdMask + 6,
XML_LIST = XML_CmdMask + 7,
XML_LISTHEADER = XML_CmdMask + 8,
XML_PARA = XML_CmdMask + 9,
XML_PARAM = XML_CmdMask + 10,
XML_PARAMREF = XML_CmdMask + 11,
XML_PERMISSION = XML_CmdMask + 12,
XML_REMARKS = XML_CmdMask + 13,
XML_RETURNS = XML_CmdMask + 14,
XML_SEE = XML_CmdMask + 15,
XML_SEEALSO = XML_CmdMask + 16,
XML_SUMMARY = XML_CmdMask + 17,
XML_TERM = XML_CmdMask + 18,
XML_TYPEPARAM = XML_CmdMask + 19,
XML_TYPEPARAMREF = XML_CmdMask + 20,
XML_VALUE = XML_CmdMask + 21,
XML_INHERITDOC = XML_CmdMask + 22
};
/** Class representing a mapping from command names to command IDs. */
template<typename T>
class Mapper
{
public:
T map(const QCString &n) const
{
if (n.isEmpty()) return T::UNKNOWN;
QCString name = n;
if (!m_cs) name=name.lower();
auto it = m_map.find(name.str());
return it!=m_map.end() ? it->second : T::UNKNOWN;
}
QCString find(const T n) const
{
for (const auto &[name,id] : m_map)
{
T curVal = id;
// https://stackoverflow.com/a/15889501/1657886
if (curVal == n || (curVal == (static_cast<T>(static_cast<int>(n) | static_cast<int>(T::SIMPLESECT_BIT))))) return name.c_str();
}
return QCString();
}
Mapper(const CommandMap<T> &cm,bool caseSensitive) : m_map(cm), m_cs(caseSensitive)
{
}
private:
const CommandMap<T> &m_map;
bool m_cs;
};
/** Namespace for the doxygen and HTML command mappers. */
namespace Mappers
{
extern const Mapper<CommandType> *cmdMapper;
extern const Mapper<HtmlTagType> *htmlTagMapper;
}
#endif
| 7,683
|
C++
|
.h
| 268
| 25.55597
| 136
| 0.565693
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,715
|
growvector.h
|
doxygen_doxygen/src/growvector.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef GROWVECTOR_H
#define GROWVECTOR_H
#include <vector>
#include <memory>
#include <iterator>
#include "construct.h"
/** @brief std::vector like container optimized for pushing elements to the back.
*
* It differs from std::vector in that it can grow without invalidating
* pointers to its members just like std::deque and std::list.
*
* It differs from std::deque in that the value can be incomplete
* just like std::vector.
*
* It differs from std::list in that it does not need to allocate each node
* separately and provides random access to its members.
*
* It is implemented as a vector of chunks where each chunk is a fixed capacity vector of T.
*/
template<class T>
class GrowVector
{
private:
static const size_t chunkBits = 4; // a chunk holds 2^bits elements
static const size_t chunkSize = 1 << chunkBits;
static const size_t chunkMask = chunkSize-1;
struct Chunk
{
Chunk() { data.reserve(chunkSize); }
std::vector<T> data;
};
using ChunkPtr = std::unique_ptr<Chunk>;
public:
/// @brief bidirectional iterator
template<class C,class I>
class Iterator
{
public:
using iterator_category = std::bidirectional_iterator_tag;
using difference_type = std::ptrdiff_t;
using value_type = I;
using pointer = I*;
using reference = I&;
Iterator(C &vec,size_t pos) : m_vec(&vec), m_pos(pos) {}
DEFAULT_COPYABLE(Iterator)
reference operator*() const { return m_vec->at(m_pos); }
pointer operator->() { return &m_vec->at(m_pos); }
Iterator& operator++() { m_pos++; return *this; }
Iterator operator++(int) { Iterator tmp = *this; ++(*this); return tmp; }
Iterator& operator--() { m_pos--; return *this; }
Iterator operator--(int) { Iterator tmp = *this; --(*this); return tmp; }
friend bool operator== (const Iterator& a, const Iterator& b) { return a.m_pos == b.m_pos; };
friend bool operator!= (const Iterator& a, const Iterator& b) { return a.m_pos != b.m_pos; };
private:
C *m_vec;
size_t m_pos;
};
using iterator = Iterator<GrowVector,T>;
using const_iterator = Iterator<const GrowVector,const T>;
/// returns an iterator to the beginning
iterator begin() { return iterator(*this,0); }
/// returns an iterator to the beginning
const_iterator begin() const { return const_iterator(*this,0); }
/// returns an iterator to the end
iterator end() { return iterator(*this,size()); }
/// returns an iterator to the end
const_iterator end() const { return const_iterator(*this,size()); }
/// returns the number of elements
size_t size() const
{
return m_chunks.empty() ? 0 : (m_chunks.size()-1)*chunkSize +
m_chunks.back()->data.size();
}
/// adds an element to the end
void push_back(T &&t)
{
make_room();
m_chunks.back()->data.push_back(std::move(t));
}
/// constructs an element in-place at the end
template<class...Args>
void emplace_back(Args&&...args)
{
make_room();
m_chunks.back()->data.emplace_back(std::forward<Args>(args)...);
}
/// removes the last element
void pop_back()
{
m_chunks.back()->data.pop_back();
if (m_chunks.back()->data.size()==0) // remove chunk if empty
{
m_chunks.pop_back();
}
}
/// access specified element
T &at(size_t i) { return m_chunks.at(i>>chunkBits)->data.at(i&chunkMask); }
/// access specified element
const T &at(size_t i) const { return m_chunks.at(i>>chunkBits)->data.at(i&chunkMask); }
/// access the first element
T &front() { return m_chunks.front()->data.front(); }
/// access the first element
const T &front() const { return m_chunks.front()->data.front(); }
/// access the last element
T &back() { return m_chunks.back()->data.back(); }
/// access the last element
const T &back() const { return m_chunks.back()->data.back(); }
/// checks whether the container is empty
bool empty() const { return m_chunks.empty(); }
/// clears the contents
void clear() { m_chunks.clear(); }
private:
void make_room()
{
if (m_chunks.empty() ||
m_chunks.back()->data.size()==chunkSize) // add new chuck if needed
{
m_chunks.push_back(std::make_unique<Chunk>());
}
}
std::vector<ChunkPtr> m_chunks;
};
#endif
| 5,344
|
C++
|
.h
| 137
| 33.627737
| 101
| 0.611143
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,716
|
translator_id.h
|
doxygen_doxygen/src/translator_id.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_ID_H
#define TRANSLATOR_ID_H
/*
* Translasi berikut didasarkan pada versi translator_en.h dalam
* Doxygen 1.7.5.1.
*
* Penterjemah: Adhi Hargo <cadmus_sw at yahoo.com>
*/
class TranslatorIndonesian : public TranslatorAdapter_1_8_0
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "indonesian"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[bahasa]{babel}";
}
QCString trISOLang() override
{
return "id";
}
QCString getLanguageString() override
{
return "0x421 Indonesian";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Fungsi-fungsi Terkait"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Perhatikan bahwa fungsi-fungsi tersebut bukan fungsi anggota.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Keterangan Lengkap"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Detail"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Dokumentasi Anggota: Tipe"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Dokumentasi Anggota: Enumerasi"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Dokumentasi Anggota: Fungsi"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Dokumentasi Variabel";
}
else
{
return "Dokumentasi Anggota: Data";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Selengkapnya..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Daftar semua anggota"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Daftar anggota"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Berikut ini daftar lengkap anggota untuk"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", termasuk semua anggota yang diwariskan."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Dibangkitkan secara otomatis oleh Doxygen";
if (!s.isEmpty()) result+=" untuk "+s;
result+=" dari kode sumber.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "nama enumerasi"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "nilai enumerasi"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "didefinisikan di"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Modul"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Hierarki Kelas"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Struktur Data";
}
else
{
return "Daftar Kelas";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Daftar File"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Variabel Data";
}
else
{
return "Daftar Anggota Kelas";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Daftar Definisi Global";
}
else
{
return "Daftar Anggota File";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Halaman Terkait"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Contoh"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Cari"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Hierarki kelas ini diurutkan kurang-lebih"
" berdasarkan abjad:";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Berikut ini daftar seluruh file";
if (!extractAll) result+=" yang didokumentasikan";
result += ", dengan penjelasan singkat:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Berikut ini daftar struktur data, dengan penjelasan singkat:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Berikut ini daftar kelas, dengan penjelasan singkat:";
}
else
{
return "Berikut ini daftar kelas, struct, union, dan interface, dengan penjelasan singkat:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Berikut ini daftar seluruh ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="variabel anggota struct dan union";
}
else
{
result+="kelas";
}
if (!extractAll)
{
result+=" yang didokumentasikan";
}
result+=", dengan tautan ke ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="dokumentasi struct/union untuk setiap variabel:";
}
else
{
result+="dokumentasi kelas untuk setiap anggota:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct/union yang memuatnya:";
}
else
{
result+="kelas yang memuatnya:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Berikut ini daftar ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="fungsi, variabel, makro definisi, enumerasi, dan tipe";
}
else
{
result+="file";
}
if (!extractAll) result+=" yang didokumentasikan";
result+=", dengan tautan ke ";
if (extractAll)
result+="file yang memuatnya:";
else
result+="dokumentasinya:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Berikut ini daftar semua contoh:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Berikut ini daftar semua halaman dokumentasi yang terkait:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Berikut ini daftar semua modul:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentasi"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Indeks Modul"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Indeks Hierarki Kelas"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Indeks Struktur Data";
}
else
{
return "Indeks Kelas";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Indeks File"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Dokumentasi Modul"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Dokumentasi Struktur Data";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Dokumentasi Kelas";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Dokumentasi File"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Dokumen Referensi"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Makro Definisi"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Definisi Tipe"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerasi"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Fungsi"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variabel"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Nilai enumerasi"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Dokumentasi Makro Definisi"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Dokumentasi Definisi Tipe"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Dokumentasi Tipe Enumerasi"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Dokumentasi Fungsi"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Dokumentasi Variabel"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Struktur Data";
}
else
{
return "Kelas";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Dibangkitkan pada tanggal "+date;
if (!projName.isEmpty()) result+=" untuk "+projName;
result+=" oleh";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Diagram hierarki kelas untuk "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Peringatan"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Versi"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Tanggal"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Mengembalikan"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Lihat juga"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parameter"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Eksepsi"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Dibangkitkan oleh"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Daftar Namespace"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Berikut ini daftar namespace";
if (!extractAll) result+=" yang didokumentasikan";
result+=", dengan keterangan singkat:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Friend"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Dokumentasi Friend Dan Fungsi Terkait"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Referensi";
switch(compType)
{
case ClassDef::Class: result+=" Kelas "; break;
case ClassDef::Struct: result+=" Struct "; break;
case ClassDef::Union: result+=" Union "; break;
case ClassDef::Interface: result+=" Interface "; break;
case ClassDef::Protocol: result+=" Protokol "; break;
case ClassDef::Category: result+=" Kategori "; break;
case ClassDef::Exception: result+=" Eksepsi "; break;
default: break;
}
if (isTemplate) result+=" Template ";
result+=clName;
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result="Referensi File ";
result+=fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result="Referensi Namespace ";
result+=namespaceName;
return result;
}
QCString trPublicMembers() override
{ return "Fungsi Anggota Publik"; }
QCString trPublicSlots() override
{ return "Slot Publik"; }
QCString trSignals() override
{ return "Signal"; }
QCString trStaticPublicMembers() override
{ return "Fungsi Anggota Publik Statis"; }
QCString trProtectedMembers() override
{ return "Fungsi Anggota Diproteksi"; }
QCString trProtectedSlots() override
{ return "Slot Diproteksi"; }
QCString trStaticProtectedMembers() override
{ return "Fungsi Anggota Diproteksi Statis"; }
QCString trPrivateMembers() override
{ return "Fungsi Anggota Privat"; }
QCString trPrivateSlots() override
{ return "Slot Privat"; }
QCString trStaticPrivateMembers() override
{ return "Fungsi Anggota Privat Statis"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=", dan ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Mewarisi "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Diwariskan ke "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Di-reimplementasikan dari "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Diimplementasikan ulang di "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Anggota Namespace"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Berikut ini daftar anggota namespace";
if (!extractAll) result+=" yang didokumentasikan";
result+=", dengan tautan ke ";
if (extractAll)
result+="dokumentasi namespace untuk setiap anggota:";
else
result+="namespace yang memuatnya:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Indeks Namespace"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Dokumentasi Namespace"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Daftar Namespace"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="Dokumentasi untuk ";
switch(compType)
{
case ClassDef::Class: result+="kelas"; break;
case ClassDef::Struct: result+="struct"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protokol"; break;
case ClassDef::Category: result+="kategori"; break;
case ClassDef::Exception: result+="eksepsi"; break;
default: break;
}
result+=" ini dibangkitkan dari file";
result+=single ? "" : "-file";
result+=" berikut:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Nilai kembali"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Halaman Utama"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "hal."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Definisi pada baris @0 dalam file @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definisi dalam file @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Kadaluarsa";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Diagram kolaborasi untuk "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Bagan kebergantungan pemuatan untuk "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Dokumentasi Konstruktor & Destruktor";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Ke kode sumber file ini.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Ke dokumentasi file ini.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Kondisi Awal";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Kondisi Akhir";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invarian";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Nilai awal:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "kode";
}
QCString trGraphicalHierarchy() override
{
return "Hierarki Kelas Secara Grafis";
}
QCString trGotoGraphicalHierarchy() override
{
return "Ke bagan grafis hierarki kelas";
}
QCString trGotoTextualHierarchy() override
{
return "Ke bagan tekstual hierarki kelas";
}
QCString trPageIndex() override
{
return "Indeks Halaman";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Catatan";
}
QCString trPublicTypes() override
{
return "Tipe Publik";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Variabel Data";
}
else
{
return "Atribut Publik";
}
}
QCString trStaticPublicAttribs() override
{
return "Atribut Publik Statis";
}
QCString trProtectedTypes() override
{
return "Tipe Diproteksi";
}
QCString trProtectedAttribs() override
{
return "Atribut Diproteksi";
}
QCString trStaticProtectedAttribs() override
{
return "Atribut Diproteksi Statis";
}
QCString trPrivateTypes() override
{
return "Tipe Privat";
}
QCString trPrivateAttribs() override
{
return "Atribut Privat";
}
QCString trStaticPrivateAttribs() override
{
return "Atribut Privat Statis";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Tugas";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Daftar Tugas";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Direferensikan oleh";
}
QCString trRemarks() override
{
return "Keterangan";
}
QCString trAttention() override
{
return "Perhatian";
}
QCString trInclByDepGraph() override
{
return "Bagan ini menunjukkan file-file yang memuat"
" atau menggunakan file ini baik secara langsung maupun"
" tidak langsung:";
}
QCString trSince() override
{
return "Sejak";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Keterangan Bagan";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Halaman ini berisi keterangan cara membaca bagan yang dibangkitkan "
"oleh doxygen.<p>\n"
"Contoh:\n"
"\\code\n"
"/*! Invisible class because of truncation */\n"
"class Invisible { };\n\n"
"/*! Truncated class, inheritance relation is hidden */\n"
"class Truncated : public Invisible { };\n\n"
"/* Class not documented with doxygen comments */\n"
"class Undocumented { };\n\n"
"/*! Class that is inherited using public inheritance */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Class that is inherited using protected inheritance */\n"
"class ProtectedBase { };\n\n"
"/*! Class that is inherited using private inheritance */\n"
"class PrivateBase { };\n\n"
"/*! Class that is used by the Inherited class */\n"
"class Used { };\n\n"
"/*! Super class that inherits a number of other classes */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Apabila tag \\c MAX_DOT_GRAPH_HEIGHT di file konfigurasi "
"diset ke 240 kode di atas akan menghasilkan bagan berikut:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Kotak-kotak pada bagan di atas mempunyai arti sebagai berikut:\n"
"<ul>\n"
"<li>%Kotak hitam merupakan struct atau kelas yang bersangkutan.\n"
"<li>%Kotak berbingkai hitam adalah struct atau kelas yang mempunyai dokumentasi.\n"
"<li>%Kotak dengan bingkai abu-abu adalah struct atau kelas tanpa dokumentasi.\n"
"<li>%Kotak dengan bingkai merah merupakan struct atau kelas yang didokumentasikan tetapi"
"tidak semua relasinya ditampilkan. %Sebuah bagan "
"akan terpotong apabila lebih besar daripada ukuran yang ditentukan.\n"
"</ul>\n"
"Arti dari tanda-tanda panah adalah sebagai berikut:\n"
"<ul>\n"
"<li>%Panah biru tua menandakan pewarisan publik.\n"
"<li>%Panah hijau tua untuk pewarisan diproteksi.\n"
"<li>%Panah merah tua untuk pewarisan privat.\n"
"<li>%Panah ungu putus-putus menandakan kelas tersebut berhubungan dengan kelas lain. "
"Panah tersebut diberi judul sesuai dengan kelas atau struct tujuan.\n"
"<li>%Panah kuning putus-putus menandakan hubungan antara sebuah template kelas dan "
"instance dari template tersebut. Panah tersebut diberi judul sesuai dengan "
"parameter template yang digunakan.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "keterangan";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Tes";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Daftar Tes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Daftar Property";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Dokumentasi Property";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Struktur Data";
}
else
{
return "Daftar Kelas";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Paket "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Berikut ini daftar paket, dengan keterangan singkat (apabila tersedia):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Daftar Paket";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Nilai:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bug";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Daftar Bug";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Indeks";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "kelas", "-kelas");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "file", "-file");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool) override
{
return createNoun(first_capital, false, "namespace", "");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "kelompok", "-kelompok");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "halaman", "-halaman");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "anggota", "-anggota");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "definisi", "-definisi") +
" global";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool) override
{
return createNoun(first_capital, false, "penulis", "");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Referensi";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Mengimplementasikan "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Diimplementasikan di "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Daftar Isi";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Daftar Kadaluarsa";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Event";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Dokumentasi Event";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Jenis Paket";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Daftar Fungsi Paket";
}
QCString trPackageMembers() override
{
return "Anggota-anggota Paket";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Daftar Fungsi Statis Paket";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Daftar Atribut Paket";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Daftar Atribut Statis Paket";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Semua";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Berikut ini bagan fungsi-terpanggil untuk fungsi ini:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Hasil Pencarian";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Maaf, tidak ada dokumen yang cocok.";
}
else if (numDocuments==1)
{
return "Ditemukan <b>1</b> dokumen yang cocok.";
}
else
{
return "Ditemukan <b>$num</b> documents yang cocok. "
"Menampilkan hasil terbaik lebih awal.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Kecocokan:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Kode Sumber:" + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Hierarki Direktori"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Dokumentasi Direktori"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Daftar Direktori"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result="Referensi Direktori "; result+=dirName; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool) override
{
return createNoun(first_capital, false, "direktori", "");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Ini adalah fungsi anggota yang di-overload"
" untuk kemudahan. Perbedaannya dengan fungsi di atas"
" hanya pada parameter-parameter yang diterima.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Berikut ini bagan fungsi-pemanggil untuk fungsi ini:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Dokumentasi Nilai Enumerasi"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Dokumentasi Fungsi/Subrutin Anggota"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Daftar Tipe Data"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Variabel Data"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Berikut daftar tipe data, dengan penjelasan singkat:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Berikut daftar semua anggota tipe data ";
if (!extractAll)
{
result+="terdokumentasi ";
}
result+=" dengan tautan ke ";
if (!extractAll)
{
result+="dokumentasi struktur data untuk setiap anggota:";
}
else
{
result+="tipe data yang memuatnya:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Indeks Tipe Data"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Dokumentasi Tipe Data"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Fungsi/Subrutin"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Dokumentasi Fungsi/Subrutin"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Tipe Data"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Modules List"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Berikut daftar semua modul";
if (!extractAll) result+=" terdokumentasi";
result+=", dengan penjelasan singkat:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Referensi ";
if (isTemplate) result+="Template ";
switch(compType)
{
case ClassDef::Class: result+="Modul "; break;
case ClassDef::Struct: result+="Tipe "; break;
case ClassDef::Union: result+="Union "; break;
case ClassDef::Interface: result+="Antarmuka "; break;
case ClassDef::Protocol: result+="Protokol "; break;
case ClassDef::Category: result+="Kategori "; break;
case ClassDef::Exception: result+="Eksepsi "; break;
default: break;
}
result+=clName;
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result="Referensi Modul ";
result+=namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Anggota Modul"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Berikut daftar semua anggota modul ";
if (!extractAll) result+="terdokumentasi ";
result+="dengan tautan ke ";
if (extractAll)
{
result+="dokumentasi modul untuk setiap anggota:";
}
else
{
result+="modul yang memuatnya:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Indeks Modul"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "modul", "-modul");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="Dokumentasi untuk ";
switch(compType)
{
case ClassDef::Class: result+="module"; break;
case ClassDef::Struct: result+="type"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" ini dibangkitkan dari file";
if (!single) result+="-file ";
result+="berikut:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tipe", "-tipe");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subprogram", "-subprogram");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Batasan Tipe";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return "Relasi "+QCString(name);
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Memuat...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Namespace Global";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Mencari...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Tidak Ditemukan";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "File dimuat dalam "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Memuat file dalam "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Senin","Selasa","Rabu","Kamis","Jumat","Sabtu","Minggu" };
static const char *months[] = { "Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Min" };
static const char *days_full[] = { "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu" };
return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des" };
static const char *months_full[] = { "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember" };
return full? months_full[month-1] : months_short[month-1];
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "AM", "PM" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Daftar Pustaka"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Hak Cipta"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return QCString("Bagan dependensi directori untuk ")+name+":"; }
};
#endif
| 60,452
|
C++
|
.h
| 1,606
| 31.81071
| 168
| 0.589434
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,717
|
outputgen.h
|
doxygen_doxygen/src/outputgen.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef OUTPUTGEN_H
#define OUTPUTGEN_H
#include <memory>
#include <stack>
#include <iostream>
#include <fstream>
#include "types.h"
#include "index.h"
#include "section.h"
#include "textstream.h"
#include "docparser.h"
#include "construct.h"
class ClassDiagram;
class DotClassGraph;
class DotInclDepGraph;
class DotCallGraph;
class DotDirDeps;
class DotGfxHierarchyTable;
class DotGroupCollaboration;
class MemberDef;
class Definition;
class OutputCodeList;
struct DocLinkInfo
{
QCString name;
QCString ref;
QCString url;
QCString anchor;
};
struct SourceLinkInfo
{
QCString file;
int line;
QCString ref;
QCString url;
QCString anchor;
};
enum class OutputType { List, Html, Latex, Man, RTF, Docbook, XML, Null, Extension, Recorder };
/** Base class for code generators
*/
class OutputCodeIntf
{
public:
OutputCodeIntf() = default;
DEFAULT_COPYABLE(OutputCodeIntf)
virtual OutputType type() const = 0;
virtual std::unique_ptr<OutputCodeIntf> clone() = 0;
virtual void codify(const QCString &s) = 0;
virtual void stripCodeComments(bool b) = 0;
virtual void startSpecialComment() = 0;
virtual void endSpecialComment() = 0;
virtual void setStripIndentAmount(size_t) = 0;
virtual void writeCodeLink(CodeSymbolType type,
const QCString &ref,const QCString &file,
const QCString &anchor,const QCString &name,
const QCString &tooltip) = 0;
virtual void writeLineNumber(const QCString &ref,const QCString &file,const QCString &anchor,
int lineNumber, bool writeLineAnchor) = 0;
virtual void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl,
const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo) = 0;
virtual void startCodeLine(int lineNr) = 0;
virtual void endCodeLine()= 0;
virtual void startFontClass(const QCString &c) = 0;
virtual void endFontClass() = 0;
virtual void writeCodeAnchor(const QCString &name) = 0;
virtual void startCodeFragment(const QCString &style) = 0;
virtual void endCodeFragment(const QCString &style) = 0;
virtual void startFold(int lineNr,const QCString &startMarker,const QCString &endMarker) = 0;
virtual void endFold() = 0;
};
/** Base class for shared implementation for all output generators.
*/
class OutputGenerator
{
public:
OutputGenerator() : m_t(40*1024) {}
enum class ParamListTypes { Param, RetVal, Exception };
enum class MemberItemType { Normal, AnonymousStart, AnonymousEnd, Templated };
OutputGenerator(const QCString &dir);
virtual ~OutputGenerator() = default;
ONLY_DEFAULT_MOVABLE(OutputGenerator)
QCString dir() const;
QCString fileName() const;
void startPlainFile(const QCString &name);
void endPlainFile();
protected:
TextStream m_t;
QCString m_dir;
private:
QCString m_fileName;
FILE *m_file = nullptr;
};
/** Abstract interface for output generators
*/
class OutputGenIntf
{
public:
ABSTRACT_BASE_CLASS(OutputGenIntf)
virtual OutputType type() const = 0;
virtual std::unique_ptr<OutputGenIntf> clone() = 0;
virtual void addCodeGen(OutputCodeList &list) = 0;
virtual void writeDoc(const IDocNodeAST *ast,const Definition *ctx,const MemberDef *md, int id) = 0;
virtual void startIndexSection(IndexSection is) = 0;
virtual void endIndexSection(IndexSection is) = 0;
virtual void writePageLink(const QCString &name,bool first) = 0;
virtual void startProjectNumber() = 0;
virtual void endProjectNumber() = 0;
virtual void writeStyleInfo(int part) = 0;
virtual void writeSearchInfo() = 0;
virtual void writeFooter(const QCString &navPath) = 0;
virtual void startFile(const QCString &name,const QCString &manName,const QCString &title,int id, int hierarchyLevel) = 0;
virtual void endFile() = 0;
virtual void startTitleHead(const QCString &fileName) = 0;
virtual void endTitleHead(const QCString &fileName,const QCString &name) = 0;
virtual void startParagraph(const QCString &classDef=QCString()) = 0;
virtual void endParagraph() = 0;
virtual void writeString(const QCString &text) = 0;
virtual void startIndexListItem() = 0;
virtual void endIndexListItem() = 0;
virtual void startIndexList() = 0;
virtual void endIndexList() = 0;
virtual void startIndexKey() = 0;
virtual void endIndexKey() = 0;
virtual void startIndexValue(bool b) = 0;
virtual void endIndexValue(const QCString &name,bool b) = 0;
virtual void startItemList() = 0;
virtual void endItemList() = 0;
virtual void startIndexItem(const QCString &ref,const QCString &file) = 0;
virtual void endIndexItem(const QCString &ref,const QCString &file) = 0;
virtual void docify(const QCString &s) = 0;
virtual void writeObjectLink(const QCString &ref,const QCString &file,
const QCString &anchor, const QCString &name) = 0;
virtual void startTextLink(const QCString &file,const QCString &anchor) = 0;
virtual void endTextLink() = 0;
virtual void writeStartAnnoItem(const QCString &type,const QCString &file,
const QCString &path,const QCString &name) = 0;
virtual void startTypewriter() = 0;
virtual void endTypewriter() = 0;
virtual void startGroupHeader(int extraLevels=0) = 0;
virtual void endGroupHeader(int extraLevels=0) = 0;
virtual void startItemListItem() = 0;
virtual void endItemListItem() = 0;
virtual void startMemberSections() = 0;
virtual void endMemberSections() = 0;
virtual void startHeaderSection() = 0;
virtual void endHeaderSection() = 0;
virtual void startMemberHeader(const QCString &anchor, int typ = 2) = 0;
virtual void endMemberHeader() = 0;
virtual void startMemberSubtitle() = 0;
virtual void endMemberSubtitle() = 0;
virtual void startMemberDocList() = 0;
virtual void endMemberDocList() = 0;
virtual void startMemberList() = 0;
virtual void endMemberList() = 0;
virtual void startInlineHeader() = 0;
virtual void endInlineHeader() = 0;
virtual void startAnonTypeScope(int i1) = 0;
virtual void endAnonTypeScope(int i1) = 0;
virtual void startMemberItem(const QCString &anchor,OutputGenerator::MemberItemType type,const QCString &id=QCString()) = 0;
virtual void endMemberItem(OutputGenerator::MemberItemType type) = 0;
virtual void startMemberTemplateParams() = 0;
virtual void endMemberTemplateParams(const QCString &anchor,const QCString &inheritId) = 0;
virtual void startCompoundTemplateParams() = 0;
virtual void endCompoundTemplateParams() = 0;
virtual void startMemberGroupHeader(bool b) = 0;
virtual void endMemberGroupHeader() = 0;
virtual void startMemberGroupDocs() = 0;
virtual void endMemberGroupDocs() = 0;
virtual void startMemberGroup() = 0;
virtual void endMemberGroup(bool last) = 0;
virtual void insertMemberAlign(bool templ=FALSE) = 0;
virtual void insertMemberAlignLeft(OutputGenerator::MemberItemType typ=OutputGenerator::MemberItemType::Normal, bool templ=FALSE) = 0;
virtual void writeRuler() = 0;
virtual void writeAnchor(const QCString &fileName,const QCString &name) = 0;
virtual void startEmphasis() = 0;
virtual void endEmphasis() = 0;
virtual void writeChar(char c) = 0;
virtual void startMemberDoc(const QCString &clName,const QCString &memName,
const QCString &anchor,const QCString &title,
int memCount,int memTotal,bool showInline) = 0;
virtual void endMemberDoc(bool hasArgs) = 0;
virtual void startDoxyAnchor(const QCString &fName,const QCString &manName,
const QCString &anchor, const QCString &name,
const QCString &args) = 0;
virtual void endDoxyAnchor(const QCString &fn,const QCString &anchor) = 0;
virtual void addLabel(const QCString &fName,const QCString &anchor) = 0;
virtual void writeLatexSpacing() = 0;
virtual void startDescForItem() = 0;
virtual void endDescForItem() = 0;
virtual void startCenter() = 0;
virtual void endCenter() = 0;
virtual void startSmall() = 0;
virtual void endSmall() = 0;
virtual void lineBreak(const QCString &style=QCString()) = 0;
virtual void startBold() = 0;
virtual void endBold() = 0;
virtual void startMemberDescription(const QCString &anchor,const QCString &inheritId=QCString(), bool typ = false) = 0;
virtual void endMemberDescription() = 0;
virtual void startMemberDeclaration() = 0;
virtual void endMemberDeclaration(const QCString &anchor,const QCString &inheritId) = 0;
virtual void writeInheritedSectionTitle(const QCString &id, const QCString &ref,
const QCString &file, const QCString &anchor,
const QCString &title,const QCString &name) = 0;
virtual void startExamples() = 0;
virtual void endExamples() = 0;
virtual void startIndent() = 0;
virtual void endIndent() = 0;
virtual void startSection(const QCString &lab,const QCString &title,SectionType t) = 0;
virtual void endSection(const QCString &lab,SectionType t) = 0;
virtual void addIndexItem(const QCString &s1,const QCString &s2) = 0;
virtual void writeSynopsis() = 0;
virtual void startClassDiagram() = 0;
virtual void endClassDiagram(const ClassDiagram &d,const QCString &f,const QCString &n) = 0;
virtual void startPageRef() = 0;
virtual void endPageRef(const QCString &c,const QCString &a) = 0;
virtual void startQuickIndices() = 0;
virtual void endQuickIndices() = 0;
virtual void writeSplitBar(const QCString &name) = 0;
virtual void writeNavigationPath(const QCString &s) = 0;
virtual void writeLogo() = 0;
virtual void writeQuickLinks(HighlightedItem hli,const QCString &file) = 0;
virtual void writeSummaryLink(const QCString &file,const QCString &anchor,const QCString &title,bool first) = 0;
virtual void startContents() = 0;
virtual void endContents() = 0;
virtual void startPageDoc(const QCString &pageTitle) = 0;
virtual void endPageDoc() = 0;
virtual void writeNonBreakableSpace(int num) = 0;
virtual void startDescTable(const QCString &title,const bool hasInits) = 0;
virtual void endDescTable() = 0;
virtual void startDescTableRow() = 0;
virtual void endDescTableRow() = 0;
virtual void startDescTableTitle() = 0;
virtual void endDescTableTitle() = 0;
virtual void startDescTableInit() = 0;
virtual void endDescTableInit() = 0;
virtual void startDescTableData() = 0;
virtual void endDescTableData() = 0;
virtual void startDotGraph() = 0;
virtual void endDotGraph(DotClassGraph &g) = 0;
virtual void startInclDepGraph() = 0;
virtual void endInclDepGraph(DotInclDepGraph &g) = 0;
virtual void startCallGraph() = 0;
virtual void endCallGraph(DotCallGraph &g) = 0;
virtual void startDirDepGraph() = 0;
virtual void endDirDepGraph(DotDirDeps &g) = 0;
virtual void startGroupCollaboration() = 0;
virtual void endGroupCollaboration(DotGroupCollaboration &g) = 0;
virtual void writeGraphicalHierarchy(DotGfxHierarchyTable &g) = 0;
virtual void startTextBlock(bool dense=FALSE) = 0;
virtual void endTextBlock(bool paraBreak=FALSE) = 0;
virtual void lastIndexPage() = 0;
virtual void startMemberDocPrefixItem() = 0;
virtual void endMemberDocPrefixItem() = 0;
virtual void startMemberDocName(bool align) = 0;
virtual void endMemberDocName() = 0;
virtual void startParameterType(bool first,const QCString &key) = 0;
virtual void endParameterType() = 0;
virtual void startParameterName(bool one) = 0;
virtual void endParameterName() = 0;
virtual void startParameterExtra() = 0;
virtual void endParameterExtra(bool last,bool one,bool bracket) = 0;
virtual void startParameterDefVal(const char *separator) = 0;
virtual void endParameterDefVal() = 0;
virtual void startParameterList(bool openBracket) = 0;
virtual void endParameterList() = 0;
virtual void exceptionEntry(const QCString &prefix,bool closeBracket) = 0;
virtual void startConstraintList(const QCString &header) = 0;
virtual void startConstraintParam() = 0;
virtual void endConstraintParam() = 0;
virtual void startConstraintType() = 0;
virtual void endConstraintType() = 0;
virtual void startConstraintDocs() = 0;
virtual void endConstraintDocs() = 0;
virtual void endConstraintList() = 0;
virtual void startMemberDocSimple(bool b) = 0;
virtual void endMemberDocSimple(bool b) = 0;
virtual void startInlineMemberType() = 0;
virtual void endInlineMemberType() = 0;
virtual void startInlineMemberName() = 0;
virtual void endInlineMemberName() = 0;
virtual void startInlineMemberDoc() = 0;
virtual void endInlineMemberDoc() = 0;
virtual void startLabels() = 0;
virtual void writeLabel(const QCString &l,bool isLast) = 0;
virtual void endLabels() = 0;
virtual void writeLocalToc(const SectionRefs &refs,const LocalToc <) = 0;
virtual void cleanup() = 0;
virtual void startPlainFile(const QCString &name) = 0;
virtual void endPlainFile() = 0;
};
#endif
| 14,079
|
C++
|
.h
| 305
| 40.967213
| 138
| 0.717828
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,718
|
translator_no.h
|
doxygen_doxygen/src/translator_no.h
|
/******************************************************************************
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
/******************************************************************************
* Norwegian translation by Lars Erik Jordet <lejordet@gmail.com>, parts by Frode Nilsen
*
* This is a new translation made from scratch, not based on my older Norwegian translation (for 1.2.2)
*
* Translation notes (in Norwegian)
*
* Jeg har stort sett brukt ord som ligger ganske nær de engelske ekvivalentene,
* for eksempel "enumeration" -> "enumerasjon", og i enkelte tilfeller det engelske
* ordet direkte, der jeg finner det mer naturlig enn å prøve å stable en setning
* på beina på norsk, eller jeg selv foretrekker det engelske ordet (eks: "Header-fil").
* Om noen ikke skulle like disse valgene, kontakt meg på mailadressen over.
*
* Doxygen har mange strings som består av sammensatte ord ("Member function description", for eksempel),
* som ikke alltid ser like ryddig ut på norsk. Jeg har brukt bindestrek for å få
* det til å se presentabelt ut, men om noen har en bedre idé, send til mailadressen over.
*
* 2006-03-06:
* Jeg bruker ikke doxygen selv lenger, så det går nok litt i lengste laget mellom oppdateringer...
*
* Changelog
*
* 2003-12-18: Initial translation
* 2004-07-19: Fixup to prepare for 1.3.8 (I had forgotten some functions)
* 2006-03-06: Added a .diff from Frode Nilsen, now compatible with 1.4.6.
*/
#ifndef TRANSLATOR_NO_H
#define TRANSLATOR_NO_H
class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "norwegian"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*/
QCString latexLanguageSupportCommand() override
{
return
"\\usepackage[norsk]{babel}\n";
}
QCString trISOLang() override
{
return "nn";
}
QCString getLanguageString() override
{
return "0x814 Norwegian";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Relaterte funksjoner"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Merk at disse ikke er medlemsfunksjoner.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Detaljert beskrivelse"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Detaljar"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Medlemstypedef-dokumentasjon"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Medlemsenumerasjon-dokumentasjon"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Medlemsfunksjon-dokumentasjon"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Feltdokumentasjon";
}
else
{
return "Medlemsdata-dokumentasjon";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Mer..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Liste over alle medlemmer"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Medlemsliste"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Dette er den fullstendige listen over medlemmer for"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", alle arvede medlemmer inkludert."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Generert automatisk av Doxygen";
if (!s.isEmpty()) result+=" for "+s;
result+=" fra kildekoden.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "enum-navn"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "enum-verdi"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "definert i"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Moduler"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Klassehierarki"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datastrukturer";
}
else
{
return "Klasseliste";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Fil-liste"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datafelt";
}
else
{
return "Klassemedlemmer";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globale";
}
else
{
return "Filmedlemmer";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Relaterte sider"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Eksempler"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Søk"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Denne arvelisten er grovsortert alfabetisk "
"(ikke nødvendigvis korrekt):";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Her er en liste over alle ";
if (!extractAll) result+="dokumenterte ";
result+="filer med korte beskrivelser:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Her er datastrukturene med korte beskrivelser:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Her er klasser med korte beskrivelser:";
}
else
{
return "Her er klasser, struct'er, "
"unioner og interface'er med korte beskrivelser:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Her er en liste over alle ";
if (!extractAll)
{
result+="dokumenterte ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct- og unionfelter";
}
else
{
result+="klassemedlemmer";
}
result+=" med koblinger til ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct/union dokumentasjon for hvert felt:";
}
else
{
result+="klassedokumentasjonen for hvert medlem:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct'ene/unionene de hører til:";
}
else
{
result+="klassene de hører til:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Her er en liste over alle ";
if (!extractAll) result+="dokumenterte ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="funksjoner, variabler, definisjoner, enum'er, og typedef'er";
}
else
{
result+="filmedlemmer";
}
result+=" med koblinger til ";
if (extractAll)
result+="filene de hører til:";
else
result+="dokumentasjonen:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Her er en liste over alle eksemplene:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Her er en liste over alle relaterte dokumentasjonssider:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Her er en liste over alle moduler:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Dokumentasjon"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Modulindeks"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Hierarkisk indeks"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datastrukturindeks";
}
else
{
return "Klasseindeks";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Filindeks"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Moduldokumentasjon"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datastrukturdokumentasjon";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Klassedokumentasjon";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Fildokumentasjon"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Referansemanual"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Definisjoner"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Typedef'er"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerasjoner"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Funksjoner"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variabler"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Enumerasjonsverdier"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Define-dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Typedef-dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Enumerasjontype dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Enumerasjonsverdi dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Funksjonsdokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Variabeldokumentasjon"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datastrukturer";
}
else
{
return "Klasser";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Generert "+date;
if (!projName.isEmpty()) result+=" for "+projName;
result+=" av";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Arvediagram for "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Advarsel"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Versjon"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Dato"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Returnerer"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Se også"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parametre"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Unntak"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Generert av"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Navneromsliste"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Her er en liste over alle ";
if (!extractAll) result+="dokumenterte ";
result+="navnerom med korte beskrivelser:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Venner"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Venner og relatert funksjonsdokumentasjon"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Klasse"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Grensesnitt"; break;
case ClassDef::Exception: result+=" Unntak"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
default: break;
}
if (isTemplate) result+=" Mal";
result+=" Referanse";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" filreferanse";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" navneromsreferanse";
return result;
}
QCString trPublicMembers() override
{ return "Public medlemsfunksjoner"; }
QCString trPublicSlots() override
{ return "Public slots"; }
QCString trSignals() override
{ return "Signaler"; }
QCString trStaticPublicMembers() override
{ return "Statiske public medlemsfunksjoner"; }
QCString trProtectedMembers() override
{ return "Protected memdlemsfunksjoner"; }
QCString trProtectedSlots() override
{ return "Protected slots"; }
QCString trStaticProtectedMembers() override
{ return "Statiske protected medlemsfunksjoner"; }
QCString trPrivateMembers() override
{ return "Private medlemsfunksjoner"; }
QCString trPrivateSlots() override
{ return "Private slots"; }
QCString trStaticPrivateMembers() override
{ return "Statiske private medlemsfunksjoner"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=", og ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Arver "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Arvet av "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Reimplementert fra "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Reimplementert i "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Navneromsmedlemmer"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Her er en liste over alle ";
if (!extractAll) result+="dokumenterte ";
result+="navneromsmedlemmer med koblinger til ";
if (extractAll)
result+="navneromsdokumentasjonen for hvert medlem:";
else
result+="navnerommet de hører til:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Navneromsindeks"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Navneromsdokumentasjon"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Navnerom"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="Dokumentasjonen for ";
switch(compType)
{
case ClassDef::Class: result+="denne klasse"; break;
case ClassDef::Struct: result+="denne struct"; break;
case ClassDef::Union: result+="denne union"; break;
case ClassDef::Interface: result+="dette interface"; break;
case ClassDef::Exception: result+="dette unntak"; break;
case ClassDef::Protocol: result+="denne protocol"; break;
case ClassDef::Category: result+="denne category"; break;
default: break;
}
result+=" ble generert fra følgende fil";
if (single) result+=":"; else result+="er:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Returverdier"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Hovedside"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "s."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Definisjon på linje @0 i filen @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definisjon i filen @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Foreldet";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Samarbeidsdiagram for "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Avhengighetsgraf for "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Konstruktør- & destruktør-dokumentasjon";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Gå til kildekoden til denne filen.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Gå til dokumentasjonen til denne filen.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Forhåndsbetingelse";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Etterbetingelse";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Startverdi:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "kode";
}
QCString trGraphicalHierarchy() override
{
return "Grafisk klassehierarki";
}
QCString trGotoGraphicalHierarchy() override
{
return "Gå til det grafiske klasse hierarkiet";
}
QCString trGotoTextualHierarchy() override
{
return "Gå til tekst-klassehierarki";
}
QCString trPageIndex() override
{
return "Innhold";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Notat";
}
QCString trPublicTypes() override
{
return "Public typer";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datafelt";
}
else
{
return "Public attributter";
}
}
QCString trStaticPublicAttribs() override
{
return "Statiske public attributter";
}
QCString trProtectedTypes() override
{
return "Protected typer";
}
QCString trProtectedAttribs() override
{
return "Protected attributter";
}
QCString trStaticProtectedAttribs() override
{
return "Statiske protected attributter";
}
QCString trPrivateTypes() override
{
return "Private typer";
}
QCString trPrivateAttribs() override
{
return "Private attributter";
}
QCString trStaticPrivateAttribs() override
{
return "Statiske private attributter";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a todo item */
QCString trTodo() override
{
return "Todo";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Todo-liste";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Referert av";
}
QCString trRemarks() override
{
return "Merknader";
}
QCString trAttention() override
{
return "Viktig";
}
QCString trInclByDepGraph() override
{
return "Denne grafen viser hvilke filer som direkte eller "
"indirekte inkluderer denne filen:";
}
QCString trSince() override
{
return "Siden";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Symbolforklaring";
}
/*! page explaining how the dot graph's should be interpreted */
QCString trLegendDocs() override
{
return
"Denne siden forklarer hvordan man tolker grafene doxygen genererer.<p>\n"
"Vi baserer oss på følgende eksempel:\n"
"\\code\n"
"/*! Usynlig klasse pga. trunkasjon */\n"
"class Invisible { };\n\n"
"/*! Trunkert klasse, arve-relasjon er skjult */\n"
"class Truncated : public Invisible { };\n\n"
"/* Klasse som ikke er dokumentert med doxygen-kommentarer */"
"class Undocumented { };\n\n"
"/*! Klasse med public-arv */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Klasse med protected-arv */\n"
"class ProtectedBase { };\n\n"
"/*! Klasse med private-arv */\n"
"class PrivateBase { };\n\n"
"/*! Klasse som blir brukt av klassen Inherited */\n"
"class Used { };\n\n"
"/*! Super-klasse som arver flere andre klasser */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Hvis \\c MAX_DOT_GRAPH_HEIGHT er satt til 200 i "
"konfigurasjonsfila vil dette resultere i følgende graf:"
"<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Boksene i grafen over betyr følgende:\n"
"<ul>\n"
"<li>En fylt svart boks representerer klassen grafen "
"er generert for.\n"
"<li>En boks med svart ramme angir en dokumentert struct eller klasse.\n"
"<li>En boks med grå ramme angir en udokumentert struct eller klasse.\n"
"<li>En boks med rød ramme angir en dokumentert struct eller klasse "
"der ikke alle relasjoner er vist. En graf blir trunkert om den ikke "
"passer innenfor de spesifiserte rammene.\n"
"</ul>\n"
"Pilene i grafen har følgende betydning:\n"
"</ul>\n"
"<li>En mørk blå pil brukes til å visualisere public-arv mellom to klasser.\n"
"<li>En mørk grønn pil brukes for protected-arv.\n"
"<li>En mørk rød pil angir private-arv.\n"
"<li>En stiplet lilla pil angir at en klasse er inkludert eller brukt "
"i en annen klasse. Pilen er merket med variablen(e) klassen "
"er tilgjengelig gjennom.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "symbolforklaring";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Test";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Test-liste";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Egenskaper";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Egenskaps-dokumentasjon";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java interfaces in the summary section of Java packages */
QCString trInterfaces() override
{
return "Grensesnitt";
}
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Datastrukturer";
}
else
{
return "Klasser";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Package "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Her er pakkene med korte beskrivelser (om tilgjengelig):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Pakker";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Verdi:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Feil";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Feil-liste";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Indeks";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "klasse", "r");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "fil", "er");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, false, "navnerom", "");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "gruppe", "r");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "side", "r");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "medlem", "mer");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "global", "e");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "forfatter", "e");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Referanser";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implementerer "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Implementert i "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Innholdsfortegnelse";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Liste over foreldede enheter";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Hendelser";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Hendelsesdokumentasjon";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Pakketyper";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Pakkefunksjoner";
}
QCString trPackageMembers() override
{
return "Pakkemedlemmer";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Statiske Pakkefunksjoner";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Pakkeattributter";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Statiske Pakkeattributter";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Alle";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Her er kall-grafen for denne funksjonen:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Søkeresultater";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Beklager, men ingen dokumenter ble funnet.";
}
else if (numDocuments==1)
{
return "Fant <b>ett</b> dokument som passet ditt søk.";
}
else
{
return "Fant <b>$num</b> dokumenter som passet ditt søk. "
"Viser beste treff først.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Treff:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Kildefil " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Katalog hierarki"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Katalogdokumentasjon"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Kataloger"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" Katalog referanse"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "katalog", "er");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Dette er en overloaded medlemsfunksjon, "
"generert for deg. Den skiller seg ut fra "
"funksjonen ovenfor i argument(ene) den aksepterer.";
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "må.", "ty.", "on.", "to.", "fr.", "la.", "sø." };
static const char *days_full[] = { "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag", "søndag" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" };
static const char *months_full[] = { "januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "f.m.", "e.m." };
return dayPeriod[period?1:0];
}
};
#endif
| 50,063
|
C++
|
.h
| 1,353
| 31.310421
| 164
| 0.586986
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,719
|
htmlentity.h
|
doxygen_doxygen/src/htmlentity.h
|
/******************************************************************************
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef HTMLENTITY_H
#define HTMLENTITY_H
#include <unordered_map>
#include <string>
#include "qcstring.h"
#include "construct.h"
class TextStream;
/** @brief Singleton helper class to map html entities to other formats */
class HtmlEntityMapper
{
public:
enum SymType { Sym_Unknown = -1,
Sym_nbsp, Sym_iexcl, Sym_cent, Sym_pound, Sym_curren,
Sym_yen, Sym_brvbar, Sym_sect, Sym_uml, Sym_copy,
Sym_ordf, Sym_laquo, Sym_not, Sym_shy, Sym_reg,
Sym_macr, Sym_deg, Sym_plusmn, Sym_sup2, Sym_sup3,
Sym_acute, Sym_micro, Sym_para, Sym_middot, Sym_cedil,
Sym_sup1, Sym_ordm, Sym_raquo, Sym_frac14, Sym_frac12,
Sym_frac34, Sym_iquest, Sym_Agrave, Sym_Aacute, Sym_Acirc,
Sym_Atilde, Sym_Auml, Sym_Aring, Sym_AElig, Sym_Ccedil,
Sym_Egrave, Sym_Eacute, Sym_Ecirc, Sym_Euml, Sym_Igrave,
Sym_Iacute, Sym_Icirc, Sym_Iuml, Sym_ETH, Sym_Ntilde,
Sym_Ograve, Sym_Oacute, Sym_Ocirc, Sym_Otilde, Sym_Ouml,
Sym_times, Sym_Oslash, Sym_Ugrave, Sym_Uacute, Sym_Ucirc,
Sym_Uuml, Sym_Yacute, Sym_THORN, Sym_szlig, Sym_agrave,
Sym_aacute, Sym_acirc, Sym_atilde, Sym_auml, Sym_aring,
Sym_aelig, Sym_ccedil, Sym_egrave, Sym_eacute, Sym_ecirc,
Sym_euml, Sym_igrave, Sym_iacute, Sym_icirc, Sym_iuml,
Sym_eth, Sym_ntilde, Sym_ograve, Sym_oacute, Sym_ocirc,
Sym_otilde, Sym_ouml, Sym_divide, Sym_oslash, Sym_ugrave,
Sym_uacute, Sym_ucirc, Sym_uuml, Sym_yacute, Sym_thorn,
Sym_yuml, Sym_fnof, Sym_Alpha, Sym_Beta, Sym_Gamma,
Sym_Delta, Sym_Epsilon, Sym_Zeta, Sym_Eta, Sym_Theta,
Sym_Iota, Sym_Kappa, Sym_Lambda, Sym_Mu, Sym_Nu,
Sym_Xi, Sym_Omicron, Sym_Pi, Sym_Rho, Sym_Sigma,
Sym_Tau, Sym_Upsilon, Sym_Phi, Sym_Chi, Sym_Psi,
Sym_Omega, Sym_alpha, Sym_beta, Sym_gamma, Sym_delta,
Sym_epsilon, Sym_zeta, Sym_eta, Sym_theta, Sym_iota,
Sym_kappa, Sym_lambda, Sym_mu, Sym_nu, Sym_xi,
Sym_omicron, Sym_pi, Sym_rho, Sym_sigmaf, Sym_sigma,
Sym_tau, Sym_upsilon, Sym_phi, Sym_chi, Sym_psi,
Sym_omega, Sym_thetasym, Sym_upsih, Sym_piv, Sym_bull,
Sym_hellip, Sym_prime, Sym_Prime, Sym_oline, Sym_frasl,
Sym_weierp, Sym_image, Sym_real, Sym_trade, Sym_alefsym,
Sym_larr, Sym_uarr, Sym_rarr, Sym_darr, Sym_harr,
Sym_crarr, Sym_lArr, Sym_uArr, Sym_rArr, Sym_dArr,
Sym_hArr, Sym_forall, Sym_part, Sym_exist, Sym_empty,
Sym_nabla, Sym_isin, Sym_notin, Sym_ni, Sym_prod,
Sym_sum, Sym_minus, Sym_lowast, Sym_radic, Sym_prop,
Sym_infin, Sym_ang, Sym_and, Sym_or, Sym_cap,
Sym_cup, Sym_int, Sym_there4, Sym_sim, Sym_cong,
Sym_asymp, Sym_ne, Sym_equiv, Sym_le, Sym_ge,
Sym_sub, Sym_sup, Sym_nsub, Sym_sube, Sym_supe,
Sym_oplus, Sym_otimes, Sym_perp, Sym_sdot, Sym_lceil,
Sym_rceil, Sym_lfloor, Sym_rfloor, Sym_lang, Sym_rang,
Sym_loz, Sym_spades, Sym_clubs, Sym_hearts, Sym_diams,
Sym_quot, Sym_amp, Sym_lt, Sym_gt, Sym_OElig,
Sym_oelig, Sym_Scaron, Sym_scaron, Sym_Yuml, Sym_circ,
Sym_tilde, Sym_ensp, Sym_emsp, Sym_thinsp, Sym_zwnj,
Sym_zwj, Sym_lrm, Sym_rlm, Sym_ndash, Sym_mdash,
Sym_lsquo, Sym_rsquo, Sym_sbquo, Sym_ldquo, Sym_rdquo,
Sym_bdquo, Sym_dagger, Sym_Dagger, Sym_permil, Sym_lsaquo,
Sym_rsaquo, Sym_euro,
/* doxygen extensions */
Sym_tm, Sym_apos,
/* doxygen commands mapped */
Sym_BSlash, Sym_At, Sym_Less, Sym_Greater, Sym_Amp,
Sym_Dollar, Sym_Hash, Sym_DoubleColon, Sym_Percent, Sym_Pipe,
Sym_Quot, Sym_Minus, Sym_Plus, Sym_Dot, Sym_Colon, Sym_Equal
};
enum PerlType { Perl_unknown = 0, Perl_string, Perl_char, Perl_symbol, Perl_umlaut,
Perl_acute, Perl_grave, Perl_circ, Perl_slash, Perl_tilde,
Perl_cedilla, Perl_ring
};
static HtmlEntityMapper &instance();
SymType name2sym(const QCString &symName) const;
const char *utf8(SymType symb,bool useInPrintf=FALSE) const;
const char *html(SymType symb,bool useInPrintf=FALSE) const;
const char *xml(SymType symb) const;
const char *docbook(SymType symb) const;
const char *latex(SymType symb) const;
const char *man(SymType symb) const;
const char *rtf(SymType symb) const;
struct PerlSymb
{
const char *symb;
const PerlType type;
};
const PerlSymb *perl(SymType symb) const;
void writeXMLSchema(TextStream &t);
private:
void validate();
HtmlEntityMapper();
~HtmlEntityMapper();
NON_COPYABLE(HtmlEntityMapper)
static HtmlEntityMapper *s_instance;
std::unordered_map<std::string,SymType> m_name2sym;
};
#endif
| 6,051
|
C++
|
.h
| 113
| 41.212389
| 87
| 0.582027
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,720
|
translator_kr.h
|
doxygen_doxygen/src/translator_kr.h
|
/******************************************************************************
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_KR_H
#define TRANSLATOR_KR_H
/* Korean translators
* doxygen-svn
* * fly1004@gmail.com
* doxygen-1.5.3
* * Astromaker(http://ngps.net/)
* * gpgiki(http://www.gpgstudy.com/gpgiki/)
* doxygen-1.2.11
* * ryk */
/*!
When defining a translator class for the new language, follow
the description in the documentation. One of the steps says
that you should copy the translator_en.h (this) file to your
translator_xx.h new file. Your new language should use the
Translator class as the base class. This means that you need to
implement exactly the same (pure virtual) override methods as the
TranslatorEnglish does. Because of this, it is a good idea to
start with the copy of TranslatorEnglish and replace the strings
one by one.
It is not necessary to include "translator.h" or
"translator_adapter.h" here. The files are included in the
language.cpp correctly. Not including any of the mentioned
files frees the maintainer from thinking about whether the
first, the second, or both files should be included or not, and
why. This holds namely for localized translators because their
base class is changed occasionally to adapter classes when the
Translator class changes the interface, or back to the
Translator class (by the local maintainer) when the localized
translator is made up-to-date again.
*/
class TranslatorKorean : public TranslatorAdapter_1_8_15
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "korean"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
// I'm not sure what this should be.
// When I figure it out, I'll update this.
// see http://www.ktug.or.kr/jsboard/read.php?table=operate&no=4422&page=1
return "\\usepackage{kotex}\n";
}
QCString latexCommandName() override
{
return p_latexCommandName("xelatex");
}
QCString trISOLang() override
{
return "ko";
}
QCString getLanguageString() override
{
return "0x412 Korean";
}
bool needsPunctuation() override
{
return false;
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "관련된 함수들"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(다음은 멤버 함수들이 아닙니다. 주의하십시오.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "상세한 설명"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "상세"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "멤버 타입정의 문서화"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "멤버 열거형 문서화"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "멤버 함수 문서화"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "필드 문서화";
}
else
{
return "멤버 데이터 문서화";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "더 자세히 ..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "모든 멤버 목록"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "멤버 목록"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "다음에 대한 모든 멤버의 목록입니다 :"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return " (모든 상속된 멤버들도 포함합니다.)"; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="소스 코드로부터 ";
if (!s.isEmpty()) result+=s+"를 위해 ";
result+="Doxygen에 의해 자동으로 생성됨.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "열거형 이름"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "열거형 값"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "다음에서 정의됨 :"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "모듈"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "클래스 계통도"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 구조";
}
else
{
return "클래스 목록";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "파일 목록"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 필드";
}
else
{
return "클래스 멤버";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "전역";
}
else
{
return "파일 멤버";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "관련된 페이지"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "예제"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "검색"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "이 상속 목록은 완전하진 않지만 알파벳순으로 대략적으로 정렬되어있습니다.:";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll) result+="문서화된 ";
result+="모든 파일에 대한 목록입니다. (간략한 설명만을 보여줍니다) :";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "다음은 데이터 구조들입니다. (간략한 설명만을 보여줍니다) :";
}
else
{
return "다음은 클래스, 구조체, 공용체 그리고 인터페이스들입니다. "
"(간략한 설명만을 보여줍니다) :";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll)
{
result+="문서화된 ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="모든 구조체와 공용체의 필드들";
}
else
{
result+="모든 클래스 멤버들";
}
result+="의 목록입니다. ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="각 필드들은 해당 필드에 대한 구조체와 공용체의 "
"문서화 페이지의 링크를 가지고 있습니다. :";
}
else
{
result+="각 멤버들은 해당 멤버에 대한 클래스의 문서화 페이지의 "
"링크를 가지고 있습니다. :";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="각 필드들은 해당 필드가 속해 있는 구조체와 공용체에 "
"대한 링크를 가지고 있습니다. :";
}
else
{
result+="각 멤버들은 해당 멤버가 속해 있는 클래스에 대한 "
"링크를 가지고 있습니다. :";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll) result+="문서화된 ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="모든 함수, 변수, 매크로, 열거형, 타입정의들";
}
else
{
result+="파일 멤버들";
}
result+="의 목록입니다. ";
result+="각 항목은 ";
if (extractAll)
result+="그들이 속한 파일 페이지의 링크를 가지고 있습니다. :";
else
result+="그들에 대한 문서화 페이지의 링크를 가지고 있습니다. :";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "다음은 모든 예제들의 목록입니다.:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "다음은 관련된 모든 문서화 페이지들의 목록입니다.:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "다음은 모든 모듈들의 목록입니다.:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "문서화"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "모듈 색인"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "계통도 색인"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 구조 색인";
}
else
{
return "클래스 색인";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "파일 색인"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "모듈 문서화"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 구조 문서화";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "클래스 문서화";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "파일 문서화"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "참조 매뉴얼"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "매크로"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "타입정의"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "열거형 타입"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "함수"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "변수"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "열거형 멤버"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "매크로 문서화"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "타입정의 문서화"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "열거형 타입 문서화"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "함수 문서화"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "변수 문서화"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 구조";
}
else
{
return "클래스";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="생성시간 : "+date;
if (!projName.isEmpty()) result+=", 프로젝트명 : "+projName;
result+=", 생성자 : ";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return clName+"에 대한 상속 다이어그램 : ";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "경고"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "버전"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "날짜"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "반환값"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "참고"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "매개변수"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "예외"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "다음에 의해 생성됨 : "; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "네임스페이스 목록"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll) result+="문서화된 ";
result+="모든 네임스페이스에 대한 목록입니다. (간략한 설명만을 보여줍니다) :";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Friends"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Friend, 그리고 관련된 함수 문서화"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" 클래스"; break;
case ClassDef::Struct: result+=" 구조체"; break;
case ClassDef::Union: result+=" 공용체"; break;
case ClassDef::Interface: result+=" 인터페이스"; break;
case ClassDef::Protocol: result+=" 프로토콜"; break;
case ClassDef::Category: result+=" 카테고리"; break;
case ClassDef::Exception: result+=" 예외"; break;
default: break;
}
if (isTemplate) result+=" 템플릿";
result+=" 참조";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" 파일 참조";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" 네임스페이스 참조";
return result;
}
QCString trPublicMembers() override
{ return "Public 멤버 함수"; }
QCString trPublicSlots() override
{ return "Public Slots"; }
QCString trSignals() override
{ return "Signals"; }
QCString trStaticPublicMembers() override
{ return "정적 Public 멤버 함수"; }
QCString trProtectedMembers() override
{ return "Protected 멤버 함수"; }
QCString trProtectedSlots() override
{ return "Protected Slots"; }
QCString trStaticProtectedMembers() override
{ return "정적 Protected 멤버 함수"; }
QCString trPrivateMembers() override
{ return "Private 멤버 함수"; }
QCString trPrivateSlots() override
{ return "Private Slots"; }
QCString trStaticPrivateMembers() override
{ return "정적 Private 멤버 함수"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
//if (i<numEntries-2) // not the fore last entry
result+=", ";
//else // the fore last entry
// result+=", "; // TODO: does the 'and' need to be translated here?
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return trWriteList(numEntries)+"를(을) 상속했습니다.";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return trWriteList(numEntries)+"에 의해 상속되었습니다.";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return trWriteList(numEntries)+"(으)로부터 재구현되었습니다.";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return trWriteList(numEntries)+"에서 재구현되었습니다.";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "네임스페이스 멤버"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll) result+="문서화된 ";
result+="모든 네임스페이스 멤버들의 목록입니다. ";
if (extractAll)
result+="각 멤버들은 해당 멤버의 네임스페이스 문서화 페이지의 링크를 가지고 있습니다. :";
else
result+="각 멤버들은 해당 멤버가 속한 네임스페이스 페이지의 링크를 가지고 있습니다. :";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "네임스페이스 색인"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "네임스페이스 문서화"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "네임스페이스"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="이 ";
switch(compType)
{
case ClassDef::Class: result+="클래스"; break;
case ClassDef::Struct: result+="구조체"; break;
case ClassDef::Union: result+="공용체"; break;
case ClassDef::Interface: result+="인터페이스"; break;
case ClassDef::Protocol: result+="프로토콜"; break;
case ClassDef::Category: result+="카테고리"; break;
case ClassDef::Exception: result+="예외"; break;
default: break;
}
result+="에 대한 문서화 페이지는 다음의 파일";
if (!single) result+="들";
result+="로부터 생성되었습니다.:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "반환값"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "메인 페이지"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "페이지"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "@1 파일의 @0 번째 라인에서 정의되었습니다.";
}
QCString trDefinedInSourceFile() override
{
return "@0 파일에서 정의되었습니다.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "잘못된 코드";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return clName+"에 대한 협력 다이어그램:";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return fName+"에 대한 include 의존 그래프";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "생성자 & 소멸자 문서화";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "이 파일의 소스 코드 페이지로 가기";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "이 파일의 문서화 페이지로 가기";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "전제조건";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "후미조건";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "변하지 않는";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "초기값:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "코드";
}
QCString trGraphicalHierarchy() override
{
return "그래픽컬한 클래스 계통도";
}
QCString trGotoGraphicalHierarchy() override
{
return "그래픽컬한 클래스 계통도 페이지로 가기";
}
QCString trGotoTextualHierarchy() override
{
return "텍스트 형식의 클래스 계통도 페이지로 가기";
}
QCString trPageIndex() override
{
return "페이지 색인";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "주의";
}
QCString trPublicTypes() override
{
return "Public 타입";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 필드";
}
else
{
return "Public 속성";
}
}
QCString trStaticPublicAttribs() override
{
return "정적 Public 속성";
}
QCString trProtectedTypes() override
{
return "Protected 타입";
}
QCString trProtectedAttribs() override
{
return "Protected 속성";
}
QCString trStaticProtectedAttribs() override
{
return "정적 Protected 속성";
}
QCString trPrivateTypes() override
{
return "Private 타입";
}
QCString trPrivateAttribs() override
{
return "Private 속성";
}
QCString trStaticPrivateAttribs() override
{
return "정적 Private 속성";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "할일";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "할일 목록";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "다음에 의해서 참조됨 : ";
}
QCString trRemarks() override
{
return "Remarks";
}
QCString trAttention() override
{
return "주의";
}
QCString trInclByDepGraph() override
{
return "이 그래프는 이 파일을 직/간접적으로 include 하는 파일들을 보여줍니다.:";
}
QCString trSince() override
{
return "Since";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "그래프 범례";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"이 페이지는 doxygen에 의해 생성된 그래프들을 이해하는 방법을 설명합니다.<p>\n"
"다음의 예제를 참고하십시오.:\n"
"\\code\n"
"/*! 생략되었기 때문에 보이지 않는 클래스 */\n"
"class Invisible { };\n\n"
"/*! Truncated 클래스, 상속관계가 숨겨짐 */\n"
"class Truncated : public Invisible { };\n\n"
"/* doxygen 주석에 의해서 문서화되지 않는 클래스 */\n"
"class Undocumented { };\n\n"
"/*! public 상속을 통해서 상속된 클래스 */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! 템플릿 클래스 */\n"
"template<class T> class Templ { };\n\n"
"/*! protected 상속을 통해서 상속된 클래스 */\n"
"class ProtectedBase { };\n\n"
"/*! private 상속을 통해서 상속된 클래스 */\n"
"class PrivateBase { };\n\n"
"/*! 상속되어진 클래스에 의해 (멤버로) 사용되어지는 클래스 */\n"
"class Used { };\n\n"
"/*! 다른 클래스들을 상속하는 슈퍼 클래스 */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"다음과 같은 그래프가 출력될 것입니다. :"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"위 그래프의 박스들은 다음과 같은 의미를 가집니다. :\n"
"<ul>\n"
"<li>%A 회색으로 채워진 박스는 이 그래프를 생성해 낸 구조체나 클래스를 의미합니다.\n"
"<li>%A 검은색 테두리의 박스는 문서화된 구조체나 클래스를 의미합니다.\n"
"<li>%A 회색 테두리의 박스는 문서화되지 않은 구조체나 클래스를 의미합니다.\n"
"<li>%A 빨간색 테두리의 박스는 모든 상속이나 포함관계가 보여지지 않는 "
"구조체나 클래스를 의미합니다."
"%A 만약 그래프가 지정된 경계내에 맞지 않으면, 그래프가 잘려집니다.\n"
"</ul>\n"
"화살표들은 다음과 같은 의미를 가집니다. :\n"
"<ul>\n"
"<li>%A 어두운 파랑색 화살표는 두 클래스들 간에 public 상속이 있음을 의미합니다.\n"
"<li>%A 어두운 연두색 화살표는 protected 상속이 있음을 의미합니다.\n"
"<li>%A 어두운 빨간색 화살표는 private 상속이 있음을 의미합니다.\n"
"<li>%A 보라색 점선 화살표는 다른 클래스에 의해 포함되거나 사용되어짐을 의미합니다. "
"화살표의 라벨은 화살표가 가리키는 클래스나 구조체로 접근하는 변수명(들)으로 붙습니다.\n"
"<li>%A 노란색 점선 화살표는 템플릿 인스턴스와 템프릿 클래스에 대한 관계를 의미합니다. "
"화살표의 라벨은 인스턴스의 템플릿 파라메터로 붙습니다.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "범례";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "테스트";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "테스트 목록";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "속성";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "속성 문서화";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "데이터 구조";
}
else
{
return "클래스";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return name+" 패키지";
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "다음은 패키지들입니다. (가능한한 간략한 설명만을 보여줍니다) :";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "패키지";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "값:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "버그";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "버그 목록";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "949";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "129";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "색인";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool, bool singular) override
{
return createNoun(false, singular, "클래스", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool, bool singular) override
{
return createNoun(false, singular, "파일", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool, bool singular) override
{
return createNoun(false, singular, "네임스페이스", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool, bool singular) override
{
return createNoun(false, singular, "그룹", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool, bool singular) override
{
return createNoun(false, singular, "페이지", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool, bool singular) override
{
return createNoun(false, singular, "멤버", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool, bool singular) override
{
return createNoun(false, singular, "전역", "");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool, bool singular) override
{
return createNoun(false, singular, "작성자", "들");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "다음을 참조함 : ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return trWriteList(numEntries)+"를 구현.";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return trWriteList(numEntries)+"에서 구현되었습니다.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "목차";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "잘못된 코드 목록";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "이벤트";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "이벤트 문서화";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "패키지 타입";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "패키지 함수";
}
QCString trPackageMembers() override
{
return "패키지 멤버들";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "정적 패키지 함수";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "패키지 속성";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "정적 패키지 속성";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "모두";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "검색 결과";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "죄송합니다. 질의에 일치하는 문서가 없습니다.";
}
else if (numDocuments==1)
{
return "질의에 일치하는 <b>1</b> 개의 문서를 찾았습니다.";
}
else
{
return "질의에 일치하는 <b>$num</b> 개의 문서를 찾았습니다. "
"가장 많이 일치하는 문서를 가장 먼저 보여줍니다.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "결과:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " 소스 파일";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "디렉토리 계통도"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "디렉토리 문서화"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "디렉토리"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" 디렉토리 참조"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool, bool singular) override
{
return createNoun(false, singular, "디렉토리", "들");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "이 함수는 편의를 제공하기 위해 오버로드된 멤버 함수입니다. "
"위의 함수와 틀린 점은 단지 받아들이는 아규먼트(argument)가 다르다는 것입니다.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "이 함수를 호출하는 함수들에 대한 그래프입니다.:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "열거형 문서화"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "멤버 함수/서브루틴 문서화"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "데이터 타입 목록"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "데이터 필드"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "대략적인 설명과 함께 데이터 타입들의 목록입니다.:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll)
{
result+="문서화된 ";
}
result+="모든 데이터 타입 멤버들의 목록입니다. ";
result+="각 항목은 ";
if (!extractAll)
{
result+="각 멤버에 대한 데이터 구조 문서화 페이지의 링크를 가지고 있습니다.";
}
else
{
result+="그들이 속한 데이터 타입의 링크를 가지고 있습니다. :";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "데이터 타입 색인"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "데이터 타입 문서화"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "함수/서브루틴"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "함수/서브루틴 문서화"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "데이터 타입들"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "모듈 목록"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll) result+="문서화된 ";
result+="모든 모듈에 대한 목록입니다. (간략한 설명만을 보여줍니다) :";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" 모듈"; break;
case ClassDef::Struct: result+=" 타입"; break;
case ClassDef::Union: result+=" 공용체"; break;
case ClassDef::Interface: result+=" 인터페이스"; break;
case ClassDef::Protocol: result+=" 프로토콜"; break;
case ClassDef::Category: result+=" 카테고리"; break;
case ClassDef::Exception: result+=" 예외"; break;
default: break;
}
if (isTemplate) result+=" 템플릿";
result+=" 참조";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" 모듈 참조";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "모듈 멤버들"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="다음은 ";
if (!extractAll) result+="문서화된 ";
result+="모든 모듈 멤버의 목록입니다. ";
if (extractAll)
{
result+="각 항목은 각 멤버의 모듈 문서화 페이지의 링크를 가지고 있습니다. :";
}
else
{
result+="각 항목은 그들이 속한 모듈의 링크를 가지고 있습니다. :";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "모듈 색인"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool, bool singular) override
{
return createNoun(false, singular, "모듈", "들");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="다음 파일";
if (single) result+=""; else result+="들";
result+="로부터 생성된 ";
result+="이 ";
switch(compType)
{
case ClassDef::Class: result+="모듈"; break;
case ClassDef::Struct: result+="타입"; break;
case ClassDef::Union: result+="공용체"; break;
case ClassDef::Interface: result+="인터페이스"; break;
case ClassDef::Protocol: result+="프로토콜"; break;
case ClassDef::Category: result+="카테고리"; break;
case ClassDef::Exception: result+="예외"; break;
default: break;
}
result+="의 문서화 페이지:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool, bool singular) override
{
return createNoun(false, singular, "타입", "들");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool, bool singular) override
{
return createNoun(false, singular, "서브프로그램", "들");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "타입 한정자들";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return QCString(name)+" 관계";
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "로딩중...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "전역 이름공간";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "검색중...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "일치하는것 없음";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return QCString(name) + "의 파일";
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return QCString(name) + "의 파일 포함";
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "월","화","수","목","금","토","일" };
static const char *months[] = { "1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "월", "화", "수", "목", "금", "토", "일" };
static const char *days_full[] = { "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
return text;
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" };
static const char *months_full[] = { "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" };
QCString text = full? months_full[month-1] : months_short[month-1];
return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "오전", "오후" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "참고 문헌"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Copyright"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return QCString(name) + QCString("에 대한 디렉토리 의존성 그래프:"); }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "상세 단계"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "템플릿 파라메터"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return QCString("그리고 ")+number+"개 더..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool /*single*/) override
{ QCString result = "이 열거형에 대한 문서가 다음 파일(들)로부터 생성되었습니다.:";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{ return QCString(name)+" Enum Reference"; }
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return QCString(what) + QCString("(으)로부터 상속된 ") + QCString(members); }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "추가로 상속된 멤버들"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "활성화" : "비활성화";
return "패널 동기화를 "+opt+"하기 위해 클릭하십시오";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "카테고리 @0에 의해 제공됨.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "클래스 @0 확장.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "클래스 메소드들";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "인스턴스 메소드들";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "메소드 문서화";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "익스포트된 인터페이스들"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "포함된 서비스들"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "상수 그룹들"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" 상수 그룹 레퍼런스";
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result=sName;
result+=" 서비스 레퍼런스";
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result=sName;
result+=" 싱글톤 레퍼런스";
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="이 서비스에 대한 문서화는 다음의 파일";
if (!single) result+="들";
result+="로부터 생성되었습니다.:";
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="이 싱글톤에 대한 문서화는 다음의 파일";
if (!single) result+="들";
result+="로부터 생성되었습니다.:";
return result;
}
};
#endif
| 69,162
|
C++
|
.h
| 1,763
| 30.023823
| 120
| 0.569137
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,721
|
pre.h
|
doxygen_doxygen/src/pre.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef PRE_H
#define PRE_H
#include <memory>
#include <string>
#include "construct.h"
class QCString;
class Preprocessor
{
public:
Preprocessor();
~Preprocessor();
NON_COPYABLE(Preprocessor)
void processFile(const QCString &fileName,const std::string &input,std::string &output);
void addSearchDir(const QCString &dir);
private:
struct Private;
std::unique_ptr<Private> p;
};
#endif
| 1,080
|
C++
|
.h
| 35
| 28.457143
| 92
| 0.701636
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,722
|
rtfgen.h
|
doxygen_doxygen/src/rtfgen.h
|
/******************************************************************************
*
* Copyright (C) 1997-2023 by Parker Waechter & Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef RTFGEN_H
#define RTFGEN_H
#include <array>
#include "config.h"
#include "outputgen.h"
class OutputCodeList;
/** Generator for RTF code fragments */
class RTFCodeGenerator : public OutputCodeIntf
{
public:
RTFCodeGenerator(TextStream *t);
void setTextStream(TextStream *t) { m_t = t; }
OutputType type() const override { return OutputType::RTF; }
void codify(const QCString &text) override;
void stripCodeComments(bool b) override;
void startSpecialComment() override;
void endSpecialComment() override;
void setStripIndentAmount(size_t amount) override;
std::unique_ptr<OutputCodeIntf> clone() override { return std::make_unique<RTFCodeGenerator>(*this); }
void writeCodeLink(CodeSymbolType type,
const QCString &ref,const QCString &file,
const QCString &anchor,const QCString &name,
const QCString &tooltip) override;
void writeTooltip(const QCString &,
const DocLinkInfo &,
const QCString &,
const QCString &,
const SourceLinkInfo &,
const SourceLinkInfo &
) override {}
void writeLineNumber(const QCString &,const QCString &,const QCString &,int l, bool) override;
void startCodeLine(int) override;
void endCodeLine() override;
void startFontClass(const QCString &) override;
void endFontClass() override;
void writeCodeAnchor(const QCString &) override {}
void startCodeFragment(const QCString &style) override;
void endCodeFragment(const QCString &) override;
void startFold(int,const QCString &,const QCString &) override {}
void endFold() override {}
private:
friend class RTFGenerator;
void setSourceFileName(const QCString &name);
void setIndentLevel(int level) { m_indentLevel=level; }
QCString rtf_Code_DepthStyle();
size_t m_col = 0;
TextStream *m_t;
bool m_doxyCodeLineOpen = false;
QCString m_sourceFileName;
int m_indentLevel = 0;
bool m_stripCodeComments = false;
bool m_hide = false;
size_t m_stripIndentAmount = 0;
};
/** Generator for RTF output. */
class RTFGenerator : public OutputGenerator, public OutputGenIntf
{
public:
RTFGenerator();
RTFGenerator(const RTFGenerator &);
RTFGenerator &operator=(const RTFGenerator &);
RTFGenerator(RTFGenerator &&) = delete;
RTFGenerator &operator=(RTFGenerator &&) = delete;
~RTFGenerator();
static void init();
static void writeStyleSheetFile(TextStream &t);
static void writeExtensionsFile(TextStream &t);
void setRelativePath(const QCString &path);
void setSourceFileName(const QCString &sourceFileName);
static bool preProcessFileInplace(const QCString &path,const QCString &name);
void clearBuffer();
//-------------------------------------------------------
OutputType type() const override { return OutputType::RTF; }
std::unique_ptr<OutputGenIntf> clone() override { return std::make_unique<RTFGenerator>(*this); }
void addCodeGen(OutputCodeList &list) override;
void cleanup() override;
void writeDoc(const IDocNodeAST *ast,const Definition *,const MemberDef *,int) override;
void startFile(const QCString &name,const QCString &manName,const QCString &title,int id,int hierarchyLevel) override;
void endFile() override;
void writeSearchInfo() override {}
void writeFooter(const QCString &) override {}
void startPageDoc(const QCString &) override {}
void endPageDoc() override {}
void startIndexSection(IndexSection) override;
void endIndexSection(IndexSection) override;
void writePageLink(const QCString &,bool) override;
void startProjectNumber() override;
void endProjectNumber() override;
void writeStyleInfo(int part) override;
void startTitleHead(const QCString &) override;
void endTitleHead(const QCString &,const QCString &name) override;
void startParagraph(const QCString &classDef) override;
void endParagraph() override;
void writeString(const QCString &text) override;
void startIndexListItem() override;
void endIndexListItem() override;
void startIndexList() override;
void endIndexList() override;
void startIndexKey() override;
void endIndexKey() override;
void startIndexValue(bool) override;
void endIndexValue(const QCString &,bool) override;
void startItemList() override;
void endItemList() override;
void startIndexItem(const QCString &ref,const QCString &file) override;
void endIndexItem(const QCString &ref,const QCString &file) override;
void docify(const QCString &text) override;
void writeObjectLink(const QCString &ref,const QCString &file,
const QCString &anchor,const QCString &name) override;
void startTextLink(const QCString &f,const QCString &anchor) override;
void endTextLink() override;
void startTypewriter() override { m_t << "{\\f2 "; }
void endTypewriter() override { m_t << "}"; }
void startGroupHeader(int) override;
void endGroupHeader(int) override;
void startItemListItem() override;
void endItemListItem() override;
void startMemberSections() override {}
void endMemberSections() override {}
void startHeaderSection() override {}
void endHeaderSection() override {}
void startMemberHeader(const QCString &,int) override { startGroupHeader(0); }
void endMemberHeader() override { endGroupHeader(FALSE); }
void startMemberSubtitle() override;
void endMemberSubtitle() override;
void startMemberDocList() override {}
void endMemberDocList() override {}
void startMemberList() override;
void endMemberList() override;
void startInlineHeader() override;
void endInlineHeader() override;
void startAnonTypeScope(int) override {}
void endAnonTypeScope(int) override {}
void startMemberItem(const QCString &,MemberItemType,const QCString &) override;
void endMemberItem(MemberItemType) override;
void startMemberTemplateParams() override {}
void endMemberTemplateParams(const QCString &,const QCString &) override {}
void startCompoundTemplateParams() override;
void endCompoundTemplateParams() override;
void insertMemberAlign(bool) override {}
void insertMemberAlignLeft(MemberItemType,bool) override {}
void writeRuler() override { rtfwriteRuler_thin(); }
void writeAnchor(const QCString &fileName,const QCString &name) override;
void startEmphasis() override { m_t << "{\\i "; }
void endEmphasis() override { m_t << "}"; }
void startBold() override { m_t << "{\\b "; }
void endBold() override { m_t << "}"; }
void lineBreak(const QCString &style=QCString()) override;
void startMemberDoc(const QCString &,const QCString &,const QCString &,const QCString &,int,int,bool) override;
void endMemberDoc(bool) override;
void startDoxyAnchor(const QCString &,const QCString &,const QCString &,const QCString &,const QCString &) override;
void endDoxyAnchor(const QCString &,const QCString &) override;
void addLabel(const QCString &,const QCString &) override;
void writeChar(char c) override;
void writeLatexSpacing() override {};//{ m_t << "\\hspace{0.3cm}"; }
void writeStartAnnoItem(const QCString &type,const QCString &file,
const QCString &path,const QCString &name) override;
void startCenter() override { m_t << "{\\qc\n"; }
void endCenter() override { m_t << "}"; }
void startSmall() override { m_t << "{\\sub "; }
void endSmall() override { m_t << "}"; }
void startMemberDescription(const QCString &,const QCString &,bool) override;
void endMemberDescription() override;
void startMemberDeclaration() override {}
void endMemberDeclaration(const QCString &,const QCString &) override {}
void writeInheritedSectionTitle(const QCString &,const QCString &,const QCString &,
const QCString &,const QCString &,const QCString &) override;
void startExamples() override;
void endExamples() override;
void startDescForItem() override;
void endDescForItem() override;
void startSection(const QCString &,const QCString &,SectionType) override;
void endSection(const QCString &,SectionType) override;
void addIndexItem(const QCString &,const QCString &) override;
void startIndent() override;
void endIndent() override;
void writeSynopsis() override {}
void startClassDiagram() override;
void endClassDiagram(const ClassDiagram &,const QCString &filename,const QCString &name) override;
void startPageRef() override;
void endPageRef(const QCString &,const QCString &) override;
void startQuickIndices() override {}
void endQuickIndices() override {}
void writeSplitBar(const QCString &) override {}
void writeNavigationPath(const QCString &) override {}
void writeLogo() override {}
void writeQuickLinks(HighlightedItem,const QCString &) override {}
void writeSummaryLink(const QCString &,const QCString &,const QCString &,bool) override {}
void startContents() override {}
void endContents() override {}
void writeNonBreakableSpace(int) override;
void startDescTable(const QCString &title,const bool hasInits) override;
void endDescTable() override;
void startDescTableRow() override;
void endDescTableRow() override;
void startDescTableTitle() override;
void endDescTableTitle() override;
void startDescTableInit() override;
void endDescTableInit() override;
void startDescTableData() override;
void endDescTableData() override;
void startDotGraph() override;
void endDotGraph(DotClassGraph &) override;
void startInclDepGraph() override;
void endInclDepGraph(DotInclDepGraph &) override;
void startGroupCollaboration() override;
void endGroupCollaboration(DotGroupCollaboration &g) override;
void startCallGraph() override;
void endCallGraph(DotCallGraph &) override;
void startDirDepGraph() override;
void endDirDepGraph(DotDirDeps &g) override;
void writeGraphicalHierarchy(DotGfxHierarchyTable &) override {}
void startMemberGroupHeader(bool) override;
void endMemberGroupHeader() override;
void startMemberGroupDocs() override;
void endMemberGroupDocs() override;
void startMemberGroup() override;
void endMemberGroup(bool) override;
void startTextBlock(bool dense) override;
void endTextBlock(bool) override;
void lastIndexPage() override;
void startMemberDocPrefixItem() override {}
void endMemberDocPrefixItem() override {}
void startMemberDocName(bool) override {}
void endMemberDocName() override {}
void startParameterType(bool,const QCString &) override;
void endParameterType() override;
void startParameterName(bool) override {}
void endParameterName() override {}
void startParameterExtra() override {}
void endParameterExtra(bool,bool,bool) override;
void startParameterDefVal(const char *s) override { docify(s); startTypewriter(); }
void endParameterDefVal() override { endTypewriter(); }
void startParameterList(bool) override;
void endParameterList() override {}
void exceptionEntry(const QCString &,bool) override;
void startConstraintList(const QCString &) override;
void startConstraintParam() override;
void endConstraintParam() override;
void startConstraintType() override;
void endConstraintType() override;
void startConstraintDocs() override;
void endConstraintDocs() override;
void endConstraintList() override;
void startMemberDocSimple(bool) override;
void endMemberDocSimple(bool) override;
void startInlineMemberType() override;
void endInlineMemberType() override;
void startInlineMemberName() override;
void endInlineMemberName() override;
void startInlineMemberDoc() override;
void endInlineMemberDoc() override;
void startLabels() override;
void writeLabel(const QCString &l,bool isLast) override;
void endLabels() override;
void writeLocalToc(const SectionRefs &,const LocalToc &) override {}
void startPlainFile(const QCString &name) override { OutputGenerator::startPlainFile(name); }
void endPlainFile() override { OutputGenerator::endPlainFile(); }
private:
QCString rtf_BList_DepthStyle();
QCString rtf_CList_DepthStyle();
QCString rtf_EList_DepthStyle();
QCString rtf_LCList_DepthStyle();
QCString rtf_DList_DepthStyle();
void beginRTFDocument();
void beginRTFChapter();
void beginRTFSection();
void rtfwriteRuler_doubleline();
void rtfwriteRuler_emboss();
void rtfwriteRuler_thick();
void rtfwriteRuler_thin();
void writeRTFReference(const QCString &label);
void newParagraph();
int indentLevel() const;
void incIndentLevel();
void decIndentLevel();
bool m_bstartedBody = false; // has startbody been called yet?
bool m_omitParagraph = false; // should a the next paragraph command be ignored?
int m_numCols = 0; // number of columns in a table
QCString m_relPath;
int m_hierarchyLevel = 0;
// RTF does not really have a additive indent...manually set list level.
static const int maxIndentLevels = 13;
int m_indentLevel = 0;
struct RTFListItemInfo
{
bool isEnum = false;
int number = 1;
char type = '1';
};
std::array<RTFListItemInfo,maxIndentLevels> m_listItemInfo;
std::unique_ptr<OutputCodeList> m_codeList;
RTFCodeGenerator *m_codeGen;
};
QCString rtfFormatBmkStr(const QCString &name);
#endif
| 14,429
|
C++
|
.h
| 310
| 41.045161
| 122
| 0.72296
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,723
|
stlsupport.h
|
doxygen_doxygen/src/stlsupport.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef STLSUPPORT_H
#define STLSUPPORT_H
#include <memory>
class Entry;
/** Add stub entries for the most used classes in the standard template library
* @param root Root of the entry tree to add the entries to.
*/
void addSTLSupport(std::shared_ptr<Entry> &root);
#endif
| 938
|
C++
|
.h
| 23
| 38.869565
| 79
| 0.707371
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,724
|
sqlite3gen.h
|
doxygen_doxygen/src/sqlite3gen.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef SQLITE3GEN_H
#define SQLITE3GEN_H
void generateSqlite3();
#endif
| 738
|
C++
|
.h
| 20
| 35
| 79
| 0.690909
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,725
|
translator_vi.h
|
doxygen_doxygen/src/translator_vi.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_VI_H
#define TRANSLATOR_VI_H
/*
* 17 Oct 2008 : Translation to Vietnamese by
* Đặng Minh Tuấn <tuanvietkey@gmail.com>
*
*/
/*!
When defining a translator class for the new language, follow
the description in the documentation. One of the steps says
that you should copy the translator_en.h (this) file to your
translator_xx.h new file. Your new language should use the
Translator class as the base class. This means that you need to
implement exactly the same (pure virtual) override methods as the
TranslatorEnglish does. Because of this, it is a good idea to
start with the copy of TranslatorEnglish and replace the strings
one by one.
It is not necessary to include "translator.h" or
"translator_adapter.h" here. The files are included in the
language.cpp correctly. Not including any of the mentioned
files frees the maintainer from thinking about whether the
first, the second, or both files should be included or not, and
why. This holds namely for localized translators because their
base class is changed occasionally to adapter classes when the
Translator class changes the interface, or back to the
Translator class (by the local maintainer) when the localized
translator is made up-to-date again.
*/
class TranslatorVietnamese : public TranslatorAdapter_1_6_0
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "vietnamese"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return
"\\usepackage[vietnamese]{babel}\n";
}
QCString latexFontenc() override
{
return "";
}
QCString latexCommandName() override
{
return p_latexCommandName("xelatex");
}
QCString trISOLang() override
{
return "vi";
}
QCString getLanguageString() override
{
return "0x42A Vietnamese";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Những hàm liên quan"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Chú ý những hàm này không phải là hàm thành viên.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Mô tả chi tiết"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Chi tiết"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Thông tin về Member Typedef"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Thông tin về Member Enumeration"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Thông tin về hàm thành viên"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Thông tin về trường";
}
else
{
return "Thông tin về Member Data";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Tiếp..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Liệt kê tất cả các thành viên"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Danh sách thành viên"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Danh sách các thành viên đầy đủ cho"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", cùng với tất cả các thành viên kế thừa."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Được tạo ra bởi Doxygen";
if (!s.isEmpty()) result+=" cho "+s;
result+=" từ mã nguồn.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "tên enum"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "giá trị enum"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "được định nghĩa trong"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Các Modules"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Kiến trúc Class"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Cấu trúc cơ sở dữ liệu (Data Structures)";
}
else
{
return "Danh mục các Class";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Danh mục File"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Các trường dữ liệu";
}
else
{
return "Các thành viên của Class";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Toàn cục";
}
else
{
return "File thành viên";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Các trang liên quan"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Các ví dụ"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Tìm kiếm"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Danh sách kế thừa đã được sắp xếp theo ABC, "
"nhưng chưa đầy đủ:";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Danh mục đầy đủ tất cả các ";
if (!extractAll) result+="(đã được biên soạn) ";
result+="files cùng với các mô tả tóm tắt:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Đây là cấu trúc cơ sở dữ liệu với mô tả tóm tắt:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Đây là các classes với các mô tả tóm tắt:";
}
else
{
return "Đây là các classes, structs, "
"unions và interfaces với các mô tả tóm tắt:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Danh mục tất cả các ";
if (!extractAll)
{
result+="(đã được mô tả) ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct và union fields";
}
else
{
result+="class members";
}
result+=" cùng với các các liên kết đến ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="Thông tin về struct/union cho từng trường:";
}
else
{
result+="Thông tin về class cho từng thành viên:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="các structures/unions thuộc:";
}
else
{
result+="các lớp thuộc:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Danh sách tất cả các ";
if (!extractAll) result+="(đã được mô tat) ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="functions, variables, defines, enums, và typedefs";
}
else
{
result+="các file thành viên";
}
result+=" cùng với links tới ";
if (extractAll)
result+="các files thuộc:";
else
result+="tài liệu:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Danh sách tất cả các ví dụ:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Danh sách tất cả các trang Thông tin có liên quan:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Danh sách tất cả các thành viên:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Thông tin"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Chỉ mục (Index) Module"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Hierarchical Index"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Index cấu trúc cơ sở dữ liệu";
}
else
{
return "Class Index";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "File Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Thông tin về các Module"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Thông tin về cấu trúc cơ sở dữ liệu";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Thông tin về Class";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Thông tin về File"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Thông tin tham chiếu"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Định nghĩa"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Typedefs"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerations"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Các hàm"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Các biến"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Enumerator"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Thông tin về định nghĩa"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Thông tin về Typedef"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Thông tin về Enumeration Type"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Thông tin về hàm"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Thông tin về các biến"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Cấu trúc cơ sở dữ liệu";
}
else
{
return "Classes";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Được biên soạn vào "+date;
if (!projName.isEmpty()) result+=" cho mã nguồn dự án "+projName;
result+=" bởi";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Sơ đồ kế thừa cho "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Lưu ý"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Phiên bản"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Ngày"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Giá trị trả về"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Xem thêm"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Các tham số"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Exceptions"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Được biên soạn bởi"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Danh sách Namespace"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Danh sách tất cả các ";
if (!extractAll) result+="(đã được biên tập) ";
result+="namespaces với mô tả tóm tắt:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Friends"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Thông tin về Friends và các hàm liên quan"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Class"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Tham chiếu";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" File Tham chiếu";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Namespace Tham chiếu";
return result;
}
QCString trPublicMembers() override
{ return "Các hàm thành viên Public"; }
QCString trPublicSlots() override
{ return "Public Slots"; }
QCString trSignals() override
{ return "Signals"; }
QCString trStaticPublicMembers() override
{ return "Các hàm Static Public"; }
QCString trProtectedMembers() override
{ return "Các hàm thành viên Protected"; }
QCString trProtectedSlots() override
{ return "Protected Slots"; }
QCString trStaticProtectedMembers() override
{ return "Các hàm thành viên Static Protected"; }
QCString trPrivateMembers() override
{ return "Các hàm thành viên Private"; }
QCString trPrivateSlots() override
{ return "Private Slots"; }
QCString trStaticPrivateMembers() override
{ return "Các hàm thành viên Static Private"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=", và ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Kế thừa "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Được kế thừa bởi "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Được thực thi lại từ "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Được thực thi lại trong "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Thành viên Namespace"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Danh sách tất cả các ";
if (!extractAll) result+="(đã được biên soạn) ";
result+="các thành viên namespace cùng với link tới ";
if (extractAll)
result+="Thông tin namespace cho từng thành viên:";
else
result+=" namespaces mà phụ thuộc bởi:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Namespace Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Thông tin về Namespace"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,bool) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="Thông tin cho ";
switch(compType)
{
case ClassDef::Class: result+="class"; break;
case ClassDef::Struct: result+="struct"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" được biên soạn từ các file sau đây";
result+=":";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Các giá trị trả về"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Tranh chính"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "tr."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Định nghĩa tại dòng @0 trong file @1.";
}
QCString trDefinedInSourceFile() override
{
return "Định nghĩa trong file @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Không tán thành";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Sơ đồ liên kết cho "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Kèm theo graph phụ thuộc cho "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Thông tin về Constructor và Destructor";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Tới mã nguồn của file này.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Tới Thông tin của file này.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Điều kiện trước";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Điều kiện sau";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Bất biến";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Giá trị khởi tạo:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "mã nguồn";
}
QCString trGraphicalHierarchy() override
{
return "Kiến trúc đồ họa của Class";
}
QCString trGotoGraphicalHierarchy() override
{
return "Tới kiến trúc đồ họa của Class";
}
QCString trGotoTextualHierarchy() override
{
return "Tới kiến trúc text của Class";
}
QCString trPageIndex() override
{
return "Chỉ mục trang";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Ghi chú";
}
QCString trPublicTypes() override
{
return "Public Types";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "các trường đữ liệu";
}
else
{
return "Các thuộc tính Public";
}
}
QCString trStaticPublicAttribs() override
{
return "Các thuộc tính Static Public";
}
QCString trProtectedTypes() override
{
return "Các kiểu Protected";
}
QCString trProtectedAttribs() override
{
return "các thuộc tính Protected";
}
QCString trStaticProtectedAttribs() override
{
return "Các thuộc tính Static Protected";
}
QCString trPrivateTypes() override
{
return "Các kiểu Private";
}
QCString trPrivateAttribs() override
{
return "Các thuộc tính Private";
}
QCString trStaticPrivateAttribs() override
{
return "Các thuộc tính Static Private";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Mục tiêu";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Danh sách hàng mục cần thực hiện";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Tham chiếu bởi";
}
QCString trRemarks() override
{
return "Ghi chú";
}
QCString trAttention() override
{
return "Chú ý";
}
QCString trInclByDepGraph() override
{
return "Đồ thị này biểu thị những file nào trực tiếp hoặc"
"không trực tiếp bao gồm file này:";
}
QCString trSince() override
{
return "Từ";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Chú giải Graph";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Trang này giải nghĩa các biểu đồ được biên soạn bởi "
" doxygen.<p>\n"
"Hãy xem xét các ví dụ sau:\n"
"\\code\n"
"/*! Các lướp không thấy được bởi sự cắt ngắn */\n"
"Lớp không nhìn thấy class { };\n\n"
"/*! class bị cắt, quan hệ kế thừa bị ẩn */\n"
"class bị cắt : bị ẩn toàn cục { };\n\n"
"/* Class không được mô tả với các chú giải doxygen */\n"
"class không được mô tả { };\n\n"
"/*! Class được kế thừa sử dụng các kế thừa public */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Class được kế thừa sử dụng kế thừa protected */\n"
"class ProtectedBase { };\n\n"
"/*! Class được kế thừa sử dụng kế thừa protected private */\n"
"class PrivateBase { };\n\n"
"/*! Class được sử dụng bởi các class kế thừa */\n"
"class được sử dụng { };\n\n"
"/*! Super class kế thừa một số các class khác */\n"
"class được kế thừa : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Kết quả trong biểu đồ sau đây:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Các hộp trong biểu đồ trên có ý nghĩa như sau:\n"
"<ul>\n"
"<li>%Hộp màu xám biểu thị cấu trúc clas cho "
"biểu đồ được thể hiện.\n"
"<li>%Hộp có khung mầu đen biểu thị struct hoặc class được mô tả.\n"
"<li>%Hộp có khung mầu xám biểu thị struct hoặc class chưa được mô tả.\n"
"<li>%Hộp có khung mầu đỏ biểu thị struct hoặc class được mổ tả "
"khi mà không phải tất cả các quan hệ kế thừa/containment được biển diễn.. %Biểu đồ bị "
"cắt nếu nó không nằm trọn trong các biên được cho trước..\n"
"</ul>\n"
"Các mũi tên có ý nghĩa như sau::\n"
"<ul>\n"
"<li>%Mũi tên mầu xanh đậm biểu thị các quan hệ kế thừa công khai "
"giữa 2 class.\n"
"<li>%Mũi tên màu xanh lá cây đậm biểu thị kế thừa được bảo về (protected).\n"
"<li>%Mũi tên đỏ đậm biểu thị kế thừa dạng private.\n"
"<li>%Mũi tên màu hồng đứt quảng biểu thị class được sử dụng "
"bởi class khác. Mũi tên được gán nhãn với các giá trị "
"mà các calsss hoặc struct được truy cập tới.\n"
"<li>%Mũi tên vàng đắt quãng được thị quan hệ giữa template instance và "
"template class được dẫn xuất từ đó. Mũi tên được gán nhãn với "
"tham số của template.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "Chú giải";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Test";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Danh sách Test";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Thuộc tính";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Thông tin thuộc tính (Property)";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Cấu trúc dữ liệu";
}
else
{
return "Classes";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Gói "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Danh sách các gói cùng với mô tả tóm tắt (khi có thể có):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Các gói";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Giá trị:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Lỗi";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Danh sách lỗi";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1258";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "163";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Chỉ số";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "class", "es");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "file", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "namespace", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "group", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "trang", "");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "member", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "global", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tác giả", "");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Tham chiếu";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Thực hiện "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Được thực hiện trong "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Mục lục";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Danh sách Deprecated";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Sự kiện";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Thông tin về sự kiện";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Kiểu gói";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Các hàm Package";
}
QCString trPackageMembers() override
{
return "Members Package";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Các hàm Static Package";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Các thuộc tính Package";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Các thuộc tính Static Package";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Tất cả";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Biểu đồ các lời gọi cho hàm này:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Kết quả tìm kiếm";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Không có tài liệu nào thỏa mãn các truy vấn của bạn.";
}
else if (numDocuments==1)
{
return "Tìm thấy <b>1</b> tài liệu thỏa mã truy vấn của bạn.";
}
else
{
return "Tìm thấy tất cả <b>$num</b> tài liệu thỏa mã truy vấn của bạn. "
"Hiển thị những thỏa mãn tốt nhất trước.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Các kết quả thỏa mãn đk:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " File nguồn";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Cấu trúc thư mục"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Thông tin về thư mục"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Các thư mục"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" Tham chiếu thư mục"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool) override
{
return createNoun(first_capital, false, "thư mục", "");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Hàm thành viên dạng overloaded, "
"được chỉ ra cho việc tra cứu dễ dàng. Nó khác với hàm ở trên"
"chỉ ở chỗ những tham số nào nó chấp nhận.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Biểu đồ các lời gọi cho hàm này:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Thông tin Enumerator"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Thông tin về các hàm và các thủ tục thành viên"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Danh sách kiêu dữ liệu"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Trường dữ liệu"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Kiểu dữ liệu với các mô tả tóm tắt:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Danh sách tất cả ";
if (!extractAll)
{
result+="(đã được mô tả) ";
}
result+="các kiểu dữ liệu thành viên";
result+=" cùng với liên kết với ";
if (!extractAll)
{
result+="Thông tin cấu trúc dữ liệu cho từng thành viên";
}
else
{
result+=" các kiểu dữ liệu thuộc:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Chỉ mục kiểu dữ liệu"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Thông tin về kiểu dữ liệu"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Functions/Subroutines"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Thông tin về Function/Subroutine"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Kiểu dữ liệu"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Danh sách Modules"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Danh sách tất cả ";
if (!extractAll) result+="(đã được mô tả) ";
result+="các module với mô tả tóm tắt:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Module"; break;
case ClassDef::Struct: result+=" Type"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Tham chiếu";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Tham chiếu Module";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Thành viên Module"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Danh sách tất cả ";
if (!extractAll) result+="(đã được mô tả) ";
result+="các module thành viên cùng với liên kết tới ";
if (extractAll)
{
result+="Thông tin module cho từng thành viên:";
}
else
{
result+="các module thuộc:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Chỉ mục các Module"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "module", "");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="Thông tin cho ";
switch(compType)
{
case ClassDef::Class: result+="module"; break;
case ClassDef::Struct: result+="type"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" được biên soạn từ các file sau đây";
if (single) result+=":"; else result+="s:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, false, "kiểu", "");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "chương trình con", "");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Ràng buộc của kiểu (Type)";
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "T2", "T3", "T4", "T5", "T6", "T7", "CN" };
static const char *days_full[] = { "Thứ Hai", "Thứ Ba", "Thứ Tư", "Thứ Năm", "Thứ Sáu", "Thứ Bảy", "Chủ Nhật" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
return text;
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "Thg1", "Thg2", "Thg3", "Thg4", "Thg5", "Thg6", "Thg7", "Thg8", "Thg9", "Thg10", "Thg11", "Thg12" };
static const char *months_full[] = { "Tháng Giêng", "Tháng Hai", "Tháng Ba", "Tháng Tư", "Tháng Năm", "Tháng Sáu", "Tháng Bảy", "Tháng Tám", "Tháng Chín", "Tháng Mười", "Tháng Mười Một", "Tháng Mười Hai" };
QCString text = full? months_full[month-1] : months_short[month-1];
return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "SA", "CH" };
return dayPeriod[period?1:0];
}
};
#endif
| 60,037
|
C++
|
.h
| 1,547
| 31.723982
| 233
| 0.583691
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,726
|
clangparser.h
|
doxygen_doxygen/src/clangparser.h
|
#ifndef CLANGPARSER_H
#define CLANGPARSER_H
#include <memory>
#include <string>
#include <cstdint>
#include "containers.h"
#include "types.h"
#include "construct.h"
class OutputCodeList;
class FileDef;
class ClangParser;
class Definition;
namespace clang { namespace tooling {
class CompilationDatabase;
} }
/** @brief Clang parser object for a single translation unit, which consists of a source file
* and the directly or indirectly included headers
*/
class ClangTUParser
{
public:
ClangTUParser(const ClangParser &parser,const FileDef *fd);
NON_COPYABLE(ClangTUParser)
virtual ~ClangTUParser();
/** Parse the file given at construction time as a translation unit
* This file should already be preprocessed by doxygen preprocessor at the time of calling.
*/
void parse();
/** Switches to another file within the translation unit started with start().
* @param[in] fd The file definition with the name of the file to switch to.
*/
void switchToFile(const FileDef *fd);
/** Returns the list of files for this translation unit */
StringVector filesInSameTU() const;
/** Looks for \a symbol which should be found at \a line.
* returns a clang unique reference to the symbol.
*/
std::string lookup(uint32_t line,const char *symbol);
/** writes the syntax highlighted source code for a file
* @param[out] ol The output generator list to write to.
* @param[in] fd The file to write sources for.
*/
void writeSources(OutputCodeList &ol,const FileDef *fd);
private:
void detectFunctionBody(const char *s);
void writeLineNumber(OutputCodeList &ol,const FileDef *fd,uint32_t line,bool writeLineAnchor);
void codifyLines(OutputCodeList &ol,const FileDef *fd,const char *text,
uint32_t &line,uint32_t &column,const char *fontClass=nullptr);
void writeMultiLineCodeLink(OutputCodeList &ol,
const FileDef *fd,uint32_t &line,uint32_t &column,
const Definition *d, const char *text);
void linkIdentifier(OutputCodeList &ol,const FileDef *fd,
uint32_t &line,uint32_t &column,
const char *text,int tokenIndex);
void linkMacro(OutputCodeList &ol,const FileDef *fd,
uint32_t &line,uint32_t &column,
const char *text);
void linkInclude(OutputCodeList &ol,const FileDef *fd,
uint32_t &line,uint32_t &column,
const char *text);
void codeFolding(OutputCodeList &ol,const Definition *d,uint32_t line);
void endCodeFold(OutputCodeList &ol,uint32_t line);
class Private;
std::unique_ptr<Private> p;
};
/** @brief Wrapper for to let libclang assisted parsing. */
class ClangParser
{
friend class ClangTUParser;
public:
/** Returns the one and only instance of the class */
static ClangParser *instance();
std::unique_ptr<ClangTUParser> createTUParser(const FileDef *fd) const;
private:
const clang::tooling::CompilationDatabase *database() const;
class Private;
std::unique_ptr<Private> p;
ClangParser();
NON_COPYABLE(ClangParser)
virtual ~ClangParser();
static ClangParser *s_instance;
};
#endif
| 3,298
|
C++
|
.h
| 83
| 33.674699
| 98
| 0.692596
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,727
|
htmlhelp.h
|
doxygen_doxygen/src/htmlhelp.h
|
/******************************************************************************
*
* Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
* The code is this file is largely based on a contribution from
* Harm van der Heijden <H.v.d.Heijden@phys.tue.nl>
* Please send thanks to him and bug reports to me :-)
*/
#ifndef HTMLHELP_H
#define HTMLHELP_H
#include <memory>
#include "qcstring.h"
#include "construct.h"
#include "indexlist.h"
class Definition;
class MemberDef;
/** A class that generated the HTML Help specific files.
*
* These files can be used with the Microsoft HTML Help workshop
* to generate compressed HTML files (.chm).
*/
class HtmlHelp : public IndexIntf
{
/*! used in imageNumber param of HTMLHelp::addContentsItem() function
to specify document icon in tree view.
Writes \<param name="ImageNumber" value="xx"\> in .HHC file. */
enum ImageNumber {
BOOK_CLOSED=1, BOOK_OPEN,
BOOK_CLOSED_NEW, BOOK_OPEN_NEW,
FOLDER_CLOSED, FOLDER_OPEN,
FOLDER_CLOSED_NEW,FOLDER_OPEN_NEW,
QUERY, QUERY_NEW,
TEXT, TEXT_NEW,
WEB_DOC, WEB_DOC_NEW,
WEB_LINK, WEB_LINK_NEW,
INFO, INFO_NEW,
LINK, LINK_NEW,
BOOKLET, BOOKLET_NEW,
EMAIL, EMAIL_NEW,
EMAIL2, EMAIL2_NEW,
IMAGE, IMAGE_NEW,
AUDIO, AUDIO_NEW,
MUSIC, MUSIC_NEW,
VIDEO, VIDEO_NEW,
INDEX, INDEX_NEW,
IDEA, IDEA_NEW,
NOTE, NOTE_NEW,
TOOL, TOOL_NEW
};
public:
HtmlHelp();
~HtmlHelp();
NON_COPYABLE(HtmlHelp)
void initialize();
void finalize();
void incContentsDepth();
void decContentsDepth();
void addContentsItem(bool isDir,
const QCString &name,
const QCString &ref,
const QCString &file,
const QCString &anchor,
bool separateIndex,
bool addToNavIndex,
const Definition *def);
void addIndexItem(const Definition *context,const MemberDef *md,
const QCString §ionAnchor, const QCString &title);
void addIndexFile(const QCString &name);
void addImageFile(const QCString &);
void addStyleSheetFile(const QCString &);
static inline const QCString hhcFileName = "index.hhc";
static inline const QCString hhkFileName = "index.hhk";
static inline const QCString hhpFileName = "index.hhp";
private:
class Private;
std::unique_ptr<Private> p;
QCString recode(const QCString &s);
};
#endif /* HTMLHELP_H */
| 3,303
|
C++
|
.h
| 88
| 31.352273
| 79
| 0.610106
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,728
|
docparser_p.h
|
doxygen_doxygen/src/docparser_p.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOCPARSER_P_H
#define DOCPARSER_P_H
/** @file
* @brief Private header shared between docparser.cpp and docnode.cpp
*/
#include <cassert>
#include <stack>
#include <iterator>
#include <vector>
#include <deque>
#include <cstdint>
#include "containers.h"
#include "docparser.h"
#include "docnode.h"
#include "doctokenizer.h"
#include "searchindex.h"
#include "construct.h"
#include "cmdmapper.h"
using DefinitionStack = std::vector<const Definition *>;
using DocNodeStack = std::stack<DocNodeVariant *>;
template<typename T, typename Container = std::deque<T>>
class IterableStack : public std::stack<T, Container>
{
using std::stack<T, Container>::c;
public:
// expose just the iterators of the underlying container
auto begin() { return std::begin(c); }
auto end() { return std::end(c); }
auto begin() const { return std::begin(c); }
auto end() const { return std::end(c); }
};
using DocStyleChangeStack = IterableStack<const DocNodeVariant *>;
/** Parser's context to store all global variables.
*/
struct DocParserContext
{
const Definition *scope = nullptr;
QCString context;
bool inSeeBlock = false;
bool xmlComment = false;
bool insideHtmlLink = false;
DocNodeStack nodeStack;
DocStyleChangeStack styleStack;
DocStyleChangeStack initialStyleStack;
DefinitionStack copyStack;
QCString fileName;
QCString relPath;
bool hasParamCommand = false;
bool hasReturnCommand = false;
StringMultiSet retvalsFound;
StringMultiSet paramsFound;
const MemberDef * memberDef = nullptr;
bool isExample = false;
QCString exampleName;
QCString searchUrl;
QCString prefix;
SrcLangExt lang = SrcLangExt::Cpp;
QCString includeFileName;
QCString includeFileText;
size_t includeFileOffset = 0;
size_t includeFileLength = 0;
int includeFileLine;
bool includeFileShowLineNo = false;
bool stripCodeComments = true;
TokenInfo *token = nullptr;
int lineNo = 0;
bool markdownSupport = false;
};
class DocParser : public IDocParser
{
public:
void pushContext();
void popContext();
void handleImg(DocNodeVariant *parent,DocNodeList &children,const HtmlAttribList &tagHtmlAttribs);
Token internalValidatingParseDoc(DocNodeVariant *parent,DocNodeList &children,
const QCString &doc);
QCString processCopyDoc(const char *data,size_t &len);
QCString findAndCopyImage(const QCString &fileName,DocImage::Type type, bool doWarn = true);
void checkArgumentName();
void checkRetvalName();
void checkUnOrMultipleDocumentedParams();
bool findDocsForMemberOrCompound(const QCString &commandName,
QCString *pDoc,
QCString *pBrief,
const Definition **pDef);
bool defaultHandleToken(DocNodeVariant *parent,Token tok,
DocNodeList &children,bool
handleWord=TRUE);
void errorHandleDefaultToken(DocNodeVariant *parent,Token tok,
DocNodeList &children,const QCString &txt);
void defaultHandleTitleAndSize(const CommandType cmd, DocNodeVariant *parent,
DocNodeList &children, QCString &width,QCString &height);
Token handleStyleArgument(DocNodeVariant *parent,DocNodeList &children,
const QCString &cmdName);
void handleStyleEnter(DocNodeVariant *parent,DocNodeList &children, DocStyleChange::Style s,
const QCString &tagName,const HtmlAttribList *attribs);
void handleStyleLeave(DocNodeVariant *parent,DocNodeList &children, DocStyleChange::Style s,
const QCString &tagName);
void handlePendingStyleCommands(DocNodeVariant *parent,DocNodeList &children);
void handleInitialStyleCommands(DocNodeVariant *parent,DocNodeList &children);
Token handleAHref(DocNodeVariant *parent,DocNodeList &children,const HtmlAttribList &tagHtmlAttribs);
void handleUnclosedStyleCommands();
void handleLinkedWord(DocNodeVariant *parent,DocNodeList &children,bool ignoreAutoLinkFlag=FALSE);
void handleParameterType(DocNodeVariant *parent,DocNodeList &children,const QCString ¶mTypes);
void handleInternalRef(DocNodeVariant *parent,DocNodeList &children);
void handleAnchor(DocNodeVariant *parent,DocNodeList &children);
void handlePrefix(DocNodeVariant *parent,DocNodeList &children);
void handleImage(DocNodeVariant *parent, DocNodeList &children);
void readTextFileByName(const QCString &file,QCString &text);
std::stack< DocParserContext > contextStack;
DocParserContext context;
DocTokenizer tokenizer;
};
//---------------------------------------------------------------------------
class AutoNodeStack
{
public:
AutoNodeStack(DocParser *parser,DocNodeVariant* node)
: m_parser(parser), m_node(node) { m_parser->context.nodeStack.push(node); }
~AutoNodeStack()
{
#if defined(NDEBUG)
(void)m_node;
if (!m_parser->context.nodeStack.empty())
{
m_parser->context.nodeStack.pop(); // robust version that does not assert
}
#else
assert(m_parser->context.nodeStack.top()==m_node);
m_parser->context.nodeStack.pop(); // error checking version
#endif
}
NON_COPYABLE(AutoNodeStack)
private:
DocParser *m_parser;
const DocNodeVariant *m_node;
};
inline bool isPreformatted(const DocNodeVariant *n)
{
return std::visit([](auto &&x)->decltype(auto) { return x.isPreformatted(); }, *n);
}
/*! Returns TRUE iff node n is a child of a preformatted node */
inline bool insidePRE(const DocNodeVariant *n)
{
while (n)
{
if (isPreformatted(n)) return TRUE;
n=parent(n);
}
return FALSE;
}
/*! Returns TRUE iff node n is a child of a html list item node */
inline bool insideLI(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlListItem>(*n)) return TRUE;
n=parent(n);
}
return FALSE;
}
/*! Returns TRUE iff node n is a child of a html list item node */
inline bool insideBlockQuote(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlBlockQuote>(*n)) return TRUE;
n=parent(n);
}
return FALSE;
}
//---------------------------------------------------------------------------
/*! Returns TRUE iff node n is a child of a unordered html list node */
inline bool insideUL(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlList>(*n) &&
std::get<DocHtmlList>(*n).type()==DocHtmlList::Unordered)
{
return TRUE;
}
n=parent(n);
}
return FALSE;
}
//---------------------------------------------------------------------------
/*! Returns TRUE iff node n is a child of a ordered html list node */
inline bool insideOL(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlList>(*n) &&
std::get<DocHtmlList>(*n).type()==DocHtmlList::Ordered)
{
return TRUE;
}
n=parent(n);
}
return FALSE;
}
//---------------------------------------------------------------------------
inline bool insideTable(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlTable>(*n)) return TRUE;
n=parent(n);
}
return FALSE;
}
//---------------------------------------------------------------------------
inline bool insideDetails(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlDetails>(*n)) return TRUE;
n=parent(n);
}
return FALSE;
}
//---------------------------------------------------------------------------
inline bool insideDL(const DocNodeVariant *n)
{
while (n)
{
if (std::holds_alternative<DocHtmlDescList>(*n)) return TRUE;
n=parent(n);
}
return FALSE;
}
#endif
| 8,629
|
C++
|
.h
| 246
| 30.552846
| 105
| 0.657684
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,729
|
threadpool.h
|
doxygen_doxygen/src/threadpool.h
|
/******************************************************************************
*
* Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef THREADPOOL_H
#define THREADPOOL_H
#include <condition_variable>
#include <deque>
#include <functional>
#include <future>
#include <mutex>
#include <thread>
#include <type_traits>
#include <utility>
#include <vector>
/// Class managing a pool of worker threads.
/// Work can be queued by passing a function to queue(). A future will be
/// returned that can be used to obtain the result of the function after execution.
///
/// Usage example:
/// @code
/// ThreadPool pool(10);
/// std::vector< std::future< int > > results;
/// for (int i=0;i<10;i++)
/// {
/// auto run = [](int i) { return i*i; };
/// results.emplace_back(pool.queue(std::bind(run,i)));
/// }
/// for (auto &f : results)
/// {
/// printf("Result %d:\n", f.get());
/// }
/// @endcode
class ThreadPool
{
public:
/// start N threads in the thread pool.
ThreadPool(std::size_t N=1)
{
for (std::size_t i = 0; i < N; ++i)
{
// each thread is a std::async running thread_task():
m_finished.push_back(
std::async(
std::launch::async,
[this]{ threadTask(); }
)
);
}
}
/// deletes the thread pool by finishing all threads
~ThreadPool()
{
finish();
}
ThreadPool(const ThreadPool &) = delete;
ThreadPool &operator=(const ThreadPool &) = delete;
ThreadPool(ThreadPool &&) = delete;
ThreadPool &operator=(ThreadPool &&) = delete;
/// Queue the callable function \a f for the threads to execute.
/// A future of the return type of the function is returned to capture the result.
template<class F, typename ...Args>
auto queue(F&& f, Args&&... args) -> std::future<decltype(f(args...))>
{
// We wrap the function object into a packaged task, splitting
// execution from the return value.
// Since the packaged_task object is not copyable, we create it on the heap
// and capture it via a shared pointer in a lambda and then assign that lambda
// to a std::function.
using RetType = decltype(f(args...));
auto ptr = std::make_shared< std::packaged_task<RetType()> >(std::forward<F>(f), std::forward<Args>(args)...);
auto taskFunc = [ptr]() { if (ptr->valid()) (*ptr)(); };
auto r=ptr->get_future(); // get the return value before we hand off the task
{
std::unique_lock<std::mutex> l(m_mutex);
m_work.emplace_back(taskFunc);
m_cond.notify_one(); // wake a thread to work on the task
}
return r; // return the future result of the task
}
/// finish enques a "stop the thread" message for every thread,
/// then waits for them to finish
void finish()
{
{
std::unique_lock<std::mutex> l(m_mutex);
for(auto&& u : m_finished)
{
(void)u; //unused_variable, to silence the compiler warning about unused variables
m_work.emplace_back(); // insert empty function object to signal abort
}
}
m_cond.notify_all();
m_finished.clear();
}
private:
// the work that a worker thread does:
void threadTask()
{
while(true)
{
// pop a task off the queue:
std::function<void()> f;
{
// usual thread-safe queue code:
std::unique_lock<std::mutex> l(m_mutex);
if (m_work.empty())
{
m_cond.wait(l,[&]{return !m_work.empty();});
}
f = std::move(m_work.front());
m_work.pop_front();
}
// if the function is empty, it means we are asked to abort
if (!f) return;
// run the task
f();
}
}
// the mutex, condition variable and deque form a single
// thread-safe triggered queue of tasks:
std::mutex m_mutex;
std::condition_variable m_cond;
// hold the queue of work
std::deque< std::function<void()> > m_work;
// this holds futures representing the worker threads being done:
std::vector< std::future<void> > m_finished;
};
#endif
| 4,720
|
C++
|
.h
| 139
| 28.553957
| 116
| 0.609895
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,730
|
dotattributes.h
|
doxygen_doxygen/src/dotattributes.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOTATTRIBUTES_H
#define DOTATTRIBUTES_H
#include <map>
#include <string>
#include "regex.h"
#include "qcstring.h"
//! Class representing an attribute list of a dot graph object.
class DotAttributes
{
public:
//! Creates an instance of a DotAttribute list given its initial string representation
DotAttributes(const QCString &input) : m_input(input) {}
//! Return the string representation of the attribute list
QCString str() const { return m_input; }
//! update a given attribute with a new value.
//! If the attribute is not found a new attribute will be appended.
void updateValue(const QCString &key,const QCString &inpValue)
{
// look for key\s*=
const std::string regStr = key.str()+R"(\s*=)";
const reg::Ex re { regStr };
reg::Match match;
std::string s = m_input.str();
if (reg::search(s,match,re)) // replace existing attribute
{
size_t len = s.length();
size_t startPos = match.position()+match.length(); // position after =
size_t pos = startPos;
while (pos<len && qisspace(s[pos])) pos++;
if (pos<len && s[pos]=='"') // quoted value, search for end quote, ignoring escaped quotes
{
char pc=s[pos];
pos++; // skip over start quote
while (pos<len && (s[pos]!='"' || (s[pos]=='"' && pc=='\\'))) pc=s[pos++];
if (pos<len) pos++; // skip over end quote
}
else // unquoted value, search for attribute separator (space,comma, or semicolon)
{
while (pos<len && s[pos]!=',' && s[pos]!=';' && !qisspace(s[pos])) pos++;
}
QCString value;
if (inpValue.isEmpty())
{
value = m_input.mid(startPos,pos-startPos);
}
else
{
value = inpValue;
}
// pos is now the position after the value, so replace the part between [start..pos) with the new value
m_input=m_input.left(startPos)+value.quoted()+m_input.mid(pos);
}
else // append new attribute
{
if (!inpValue.isEmpty())
{
if (!m_input.isEmpty()) m_input+=",";
m_input+=key+"="+inpValue.quoted();
}
}
}
private:
QCString m_input;
};
#endif // DOTATTRIBUTES_H
| 2,960
|
C++
|
.h
| 79
| 31.443038
| 111
| 0.604943
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,731
|
translator_en.h
|
doxygen_doxygen/src/translator_en.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_EN_H
#define TRANSLATOR_EN_H
/*!
When defining a translator class for the new language, follow
the description in the documentation. One of the steps says
that you should copy the translator_en.h (this) file to your
translator_xx.h new file. Your new language should use the
Translator class as the base class. This means that you need to
implement exactly the same (pure virtual) override methods as the
TranslatorEnglish does. Because of this, it is a good idea to
start with the copy of TranslatorEnglish and replace the strings
one by one.
It is not necessary to include "translator.h" or
"translator_adapter.h" here. The files are included in the
language.cpp correctly. Not including any of the mentioned
files frees the maintainer from thinking about whether the
first, the second, or both files should be included or not, and
why. This holds namely for localized translators because their
base class is changed occasionally to adapter classes when the
Translator class changes the interface, or back to the
Translator class (by the local maintainer) when the localized
translator is made up-to-date again.
*/
class TranslatorEnglish : public Translator
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "english"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "";
}
QCString trISOLang() override
{
return "en-US";
}
QCString getLanguageString() override
{
return "0x409 English (United States)";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Related Functions"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Note that these are not member functions.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Detailed Description"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Details"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Member Typedef Documentation"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Member Enumeration Documentation"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Member Function/Procedure/Process Documentation";
}
else
{
return "Member Function Documentation";
}
}
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Field Documentation";
}
else
{
return "Member Data Documentation";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "More..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "List of all members"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Member List"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "This is the complete list of members for"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", including all inherited members."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Generated automatically by Doxygen";
if (!s.isEmpty()) result+=" for "+s;
result+=" from the source code.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "enum name"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "enum value"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "defined in"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Modules"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Class Hierarchy"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structures";
}
else
{
return "Class List";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "File List"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Fields";
}
else
{
return "Class Members";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globals";
}
else
{
return "File Members";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Related Pages"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Examples"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Search"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Here is a hierarchical list of all entities:";
}
else
{
return "This inheritance list is sorted roughly, "
"but not completely, alphabetically:";
}
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="files with brief descriptions:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Here are the data structures with brief descriptions:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Here are the classes with brief descriptions:";
}
else
{
return "Here are the classes, structs, "
"unions and interfaces with brief descriptions:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll)
{
result+="documented ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct and union fields";
}
else
{
result+="class members";
}
result+=" with links to ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="the struct/union documentation for each field:";
}
else
{
result+="the class documentation for each member:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="the structures/unions they belong to:";
}
else
{
result+="the classes they belong to:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="functions, variables, defines, enums, and typedefs";
}
else
{
result+="file members";
}
result+=" with links to ";
if (extractAll)
result+="the files they belong to:";
else
result+="the documentation:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Here is a list of all examples:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Here is a list of all related documentation pages:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Here is a list of all modules:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Documentation"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Module Index"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Hierarchical Index"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structure Index";
}
else
{
return "Class Index";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "File Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Module Documentation"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structure Documentation";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Class Documentation";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "File Documentation"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Reference Manual"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Macros"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Typedefs"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerations"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Functions"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variables"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Enumerator"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Macro Definition Documentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Typedef Documentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Enumeration Type Documentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Function Documentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Variable Documentation"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structures";
}
else
{
return "Classes";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Generated on "+date;
if (!projName.isEmpty()) result+=" for "+projName;
result+=" by";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Inheritance diagram for "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Warning"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Version"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Date"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Returns"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "See also"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parameters"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Exceptions"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Generated by"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Namespace List"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="namespaces with brief descriptions:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Friends"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Friends And Related Function Documentation"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Class"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Reference";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result=fileName;
result+=" File Reference";
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Namespace Reference";
return result;
}
QCString trPublicMembers() override
{ return "Public Member Functions"; }
QCString trPublicSlots() override
{ return "Public Slots"; }
QCString trSignals() override
{ return "Signals"; }
QCString trStaticPublicMembers() override
{ return "Static Public Member Functions"; }
QCString trProtectedMembers() override
{ return "Protected Member Functions"; }
QCString trProtectedSlots() override
{ return "Protected Slots"; }
QCString trStaticProtectedMembers() override
{ return "Static Protected Member Functions"; }
QCString trPrivateMembers() override
{ return "Private Member Functions"; }
QCString trPrivateSlots() override
{ return "Private Slots"; }
QCString trStaticPrivateMembers() override
{ return "Static Private Member Functions"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=", and ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Inherits "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Inherited by "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Reimplemented from "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Reimplemented in "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Namespace Members"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="namespace members with links to ";
if (extractAll)
result+="the namespace documentation for each member:";
else
result+="the namespaces they belong to:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Namespace Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Namespace Documentation"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
QCString result="The documentation for this ";
switch(compType)
{
case ClassDef::Class: result+=vhdlOpt?"design unit":"class"; break;
case ClassDef::Struct: result+="struct"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" was generated from the following file";
if (single) result+=":"; else result+="s:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Return values"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Main Page"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "p."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Definition at line @0 of file @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definition in file @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Deprecated";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Collaboration diagram for "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Include dependency graph for "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Constructor & Destructor Documentation";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Go to the source code of this file.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Go to the documentation of this file.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Precondition";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Postcondition";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Initial value:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "code";
}
QCString trGraphicalHierarchy() override
{
return "Graphical Class Hierarchy";
}
QCString trGotoGraphicalHierarchy() override
{
return "Go to the graphical class hierarchy";
}
QCString trGotoTextualHierarchy() override
{
return "Go to the textual class hierarchy";
}
QCString trPageIndex() override
{
return "Page Index";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Note";
}
QCString trPublicTypes() override
{
return "Public Types";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Fields";
}
else
{
return "Public Attributes";
}
}
QCString trStaticPublicAttribs() override
{
return "Static Public Attributes";
}
QCString trProtectedTypes() override
{
return "Protected Types";
}
QCString trProtectedAttribs() override
{
return "Protected Attributes";
}
QCString trStaticProtectedAttribs() override
{
return "Static Protected Attributes";
}
QCString trPrivateTypes() override
{
return "Private Types";
}
QCString trPrivateAttribs() override
{
return "Private Attributes";
}
QCString trStaticPrivateAttribs() override
{
return "Static Private Attributes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Todo";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Todo List";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Referenced by";
}
QCString trRemarks() override
{
return "Remarks";
}
QCString trAttention() override
{
return "Attention";
}
QCString trInclByDepGraph() override
{
return "This graph shows which files directly or "
"indirectly include this file:";
}
QCString trSince() override
{
return "Since";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Graph Legend";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"This page explains how to interpret the graphs that are generated "
"by doxygen.<p>\n"
"Consider the following example:\n"
"\\code\n"
"/*! Invisible class because of truncation */\n"
"class Invisible { };\n\n"
"/*! Truncated class, inheritance relation is hidden */\n"
"class Truncated : public Invisible { };\n\n"
"/* Class not documented with doxygen comments */\n"
"class Undocumented { };\n\n"
"/*! Class that is inherited using public inheritance */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Class that is inherited using protected inheritance */\n"
"class ProtectedBase { };\n\n"
"/*! Class that is inherited using private inheritance */\n"
"class PrivateBase { };\n\n"
"/*! Class that is used by the Inherited class */\n"
"class Used { };\n\n"
"/*! Super class that inherits a number of other classes */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"This will result in the following graph:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
"<p>\n"
"The boxes in the above graph have the following meaning:\n"
"</p>\n"
"<ul>\n"
"<li>%A filled gray box represents the struct or class for which the "
"graph is generated.</li>\n"
"<li>%A box with a black border denotes a documented struct or class.</li>\n"
"<li>%A box with a gray border denotes an undocumented struct or class.</li>\n"
"<li>%A box with a red border denotes a documented struct or class for"
"which not all inheritance/containment relations are shown. %A graph is "
"truncated if it does not fit within the specified boundaries.</li>\n"
"</ul>\n"
"<p>\n"
"The arrows have the following meaning:\n"
"</p>\n"
"<ul>\n"
"<li>%A blue arrow is used to visualize a public inheritance "
"relation between two classes.</li>\n"
"<li>%A dark green arrow is used for protected inheritance.</li>\n"
"<li>%A dark red arrow is used for private inheritance.</li>\n"
"<li>%A purple dashed arrow is used if a class is contained or used "
"by another class. The arrow is labeled with the variable(s) "
"through which the pointed class or struct is accessible.</li>\n"
"<li>%A yellow dashed arrow denotes a relation between a template instance and "
"the template class it was instantiated from. The arrow is labeled with "
"the template parameters of the instance.</li>\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "legend";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Test";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Test List";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Properties";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Property Documentation";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Data Structures";
}
else
{
return "Classes";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Package "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Here are the packages with brief descriptions (if available):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Packages";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Value:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bug";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Bug List";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Index";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "class", "es");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "file", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "namespace", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "module", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "page", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "member", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "global", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "author", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "References";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implements "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Implemented in "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Table of Contents";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Deprecated List";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Events";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Event Documentation";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Package Types";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Package Functions";
}
QCString trPackageMembers() override
{
return "Package Members";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Static Package Functions";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Package Attributes";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Static Package Attributes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "All";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Here is the call graph for this function:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Search Results";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Sorry, no documents matching your query.";
}
else if (numDocuments==1)
{
return "Found <b>1</b> document matching your query.";
}
else
{
return "Found <b>$num</b> documents matching your query. "
"Showing best matches first.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Matches:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return filename + " Source File";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Directory Hierarchy"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Directory Documentation"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Directories"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result=dirName; result+=" Directory Reference"; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in singular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "director", "ies", "y");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "This is an overloaded member function, "
"provided for convenience. It differs from the above "
"function only in what argument(s) it accepts.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Here is the caller graph for this function:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Enumerator Documentation"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Member Function/Subroutine Documentation"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Data Types List"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Data Fields"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Here are the data types with brief descriptions:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll)
{
result+="documented ";
}
result+="data types members";
result+=" with links to ";
if (!extractAll)
{
result+="the data structure documentation for each member";
}
else
{
result+="the data types they belong to:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Data Type Index"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Data Type Documentation"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Functions/Subroutines"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Function/Subroutine Documentation"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Data Types"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Modules List"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="modules with brief descriptions:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Module"; break;
case ClassDef::Struct: result+=" Type"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
if (isTemplate) result+=" Template";
result+=" Reference";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Module Reference";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Module Members"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="module members with links to ";
if (extractAll)
{
result+="the module documentation for each member:";
}
else
{
result+="the modules they belong to:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Modules Index"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "module", "s");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{
// single is true implies a single file
QCString result="The documentation for this ";
switch(compType)
{
case ClassDef::Class: result+="module"; break;
case ClassDef::Struct: result+="type"; break;
case ClassDef::Union: result+="union"; break;
case ClassDef::Interface: result+="interface"; break;
case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="category"; break;
case ClassDef::Exception: result+="exception"; break;
default: break;
}
result+=" was generated from the following file";
if (single) result+=":"; else result+="s:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "type", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subprogram", "s");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Type Constraints";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name */
QCString trDirRelation(const QCString &name) override
{
return name+" Relation";
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Loading...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Global Namespace";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Searching...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "No Matches";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "File in "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Includes file in "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
static const char *months[] = { "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
static const char *days_full[] = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
static const char *months_full[] = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
return full? months_full[month-1] : months_short[month-1];
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "AM", "PM" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Bibliography"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{ return "Copyright"; }
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return "Directory dependency graph for "+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "detail level"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "Template Parameters"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "and "+number+" more..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{ QCString result = "The documentation for this enum was generated from the following file";
if (!single) result += "s";
result+=":";
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{ return name+" Enum Reference"; }
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return members+" inherited from "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "Additional Inherited Members"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "enable" : "disable";
return "click to "+opt+" panel synchronization";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "Provided by category @0.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "Extends class @0.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "Class Methods";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "Instance Methods";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "Method Documentation";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "Exported Interfaces"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "Included Services"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "Constant Groups"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" Constant Group Reference";
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result=sName;
result+=" Service Reference";
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result=sName;
result+=" Singleton Reference";
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="The documentation for this service "
"was generated from the following file";
if (single) result+=":"; else result+="s:";
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="The documentation for this singleton "
"was generated from the following file";
if (single) result+=":"; else result+="s:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "Design Unit Hierarchy"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "Design Unit List"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "Design Unit Members"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{
return "Here is a list of all design unit members with links to "
"the Entities they belong to:";
}
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "Design Unit Index"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "Design Units"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "Functions/Procedures/Processes"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch(type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "Library";
else return "Libraries";
case VhdlSpecifier::PACKAGE:
if (single) return "Package";
else return "Packages";
case VhdlSpecifier::SIGNAL:
if (single) return "Signal";
else return "Signals";
case VhdlSpecifier::COMPONENT:
if (single) return "Component";
else return "Components";
case VhdlSpecifier::CONSTANT:
if (single) return "Constant";
else return "Constants";
case VhdlSpecifier::ENTITY:
if (single) return "Entity";
else return "Entities";
case VhdlSpecifier::TYPE:
if (single) return "Type";
else return "Types";
case VhdlSpecifier::SUBTYPE:
if (single) return "Subtype";
else return "Subtypes";
case VhdlSpecifier::FUNCTION:
if (single) return "Function";
else return "Functions";
case VhdlSpecifier::RECORD:
if (single) return "Record";
else return "Records";
case VhdlSpecifier::PROCEDURE:
if (single) return "Procedure";
else return "Procedures";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "Architecture";
else return "Architectures";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "Attribute";
else return "Attributes";
case VhdlSpecifier::PROCESS:
if (single) return "Process";
else return "Processes";
case VhdlSpecifier::PORT:
if (single) return "Port";
else return "Ports";
case VhdlSpecifier::USE:
if (single) return "use clause";
else return "Use Clauses";
case VhdlSpecifier::GENERIC:
if (single) return "Generic";
else return "Generics";
case VhdlSpecifier::PACKAGE_BODY:
return "Package Body";
case VhdlSpecifier::UNITS:
return "Units";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "Shared Variable";
else return "Shared Variables";
case VhdlSpecifier::VFILE:
if (single) return "File";
else return "Files";
case VhdlSpecifier::GROUP:
if (single) return "Group";
else return "Groups";
case VhdlSpecifier::INSTANTIATION:
if (single) return "Instantiation";
else return "Instantiations";
case VhdlSpecifier::ALIAS:
if (single) return "Alias";
else return "Aliases";
case VhdlSpecifier::CONFIG:
if (single) return "Configuration";
else return "Configurations";
case VhdlSpecifier::MISCELLANEOUS:
return "Miscellaneous";
case VhdlSpecifier::UCF_CONST:
return "Constraints";
default:
return "Class";
}
}
QCString trCustomReference(const QCString &name) override
{ return name+" Reference"; }
/* Slice */
QCString trConstants() override
{
return "Constants";
}
QCString trConstantDocumentation() override
{
return "Constant Documentation";
}
QCString trSequences() override
{
return "Sequences";
}
QCString trSequenceDocumentation() override
{
return "Sequence Documentation";
}
QCString trDictionaries() override
{
return "Dictionaries";
}
QCString trDictionaryDocumentation() override
{
return "Dictionary Documentation";
}
QCString trSliceInterfaces() override
{
return "Interfaces";
}
QCString trInterfaceIndex() override
{
return "Interface Index";
}
QCString trInterfaceList() override
{
return "Interface List";
}
QCString trInterfaceListDescription() override
{
return "Here are the interfaces with brief descriptions:";
}
QCString trInterfaceHierarchy() override
{
return "Interface Hierarchy";
}
QCString trInterfaceHierarchyDescription() override
{
return "This inheritance list is sorted roughly, but not completely, alphabetically:";
}
QCString trInterfaceDocumentation() override
{
return "Interface Documentation";
}
QCString trStructs() override
{
return "Structs";
}
QCString trStructIndex() override
{
return "Struct Index";
}
QCString trStructList() override
{
return "Struct List";
}
QCString trStructListDescription() override
{
return "Here are the structs with brief descriptions:";
}
QCString trStructDocumentation() override
{
return "Struct Documentation";
}
QCString trExceptionIndex() override
{
return "Exception Index";
}
QCString trExceptionList() override
{
return "Exception List";
}
QCString trExceptionListDescription() override
{
return "Here are the exceptions with brief descriptions:";
}
QCString trExceptionHierarchy() override
{
return "Exception Hierarchy";
}
QCString trExceptionHierarchyDescription() override
{
return "This inheritance list is sorted roughly, but not completely, alphabetically:";
}
QCString trExceptionDocumentation() override
{
return "Exception Documentation";
}
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result=clName;
if (isLocal) result+=" Local";
switch(compType)
{
case ClassDef::Class: result+=" Class"; break;
case ClassDef::Struct: result+=" Struct"; break;
case ClassDef::Union: result+=" Union"; break;
case ClassDef::Interface: result+=" Interface"; break;
case ClassDef::Protocol: result+=" Protocol"; break;
case ClassDef::Category: result+=" Category"; break;
case ClassDef::Exception: result+=" Exception"; break;
default: break;
}
result+=" Reference";
return result;
}
QCString trOperations() override
{
return "Operations";
}
QCString trOperationDocumentation() override
{
return "Operation Documentation";
}
QCString trDataMembers() override
{
return "Data Members";
}
QCString trDataMemberDocumentation() override
{
return "Data Member Documentation";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit documentation */
QCString trDesignUnitDocumentation() override
{ return "Design Unit Documentation"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
/** C++20 concept */
QCString trConcept(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "concept", "s");
}
/*! used as the title of the HTML page of a C++20 concept page */
QCString trConceptReference(const QCString &conceptName) override
{
QCString result=conceptName;
result+=" Concept Reference";
return result;
}
/*! used as the title of page containing all the index of all concepts. */
QCString trConceptList() override
{ return "Concept List"; }
/*! used as the title of chapter containing the index listing all concepts. */
QCString trConceptIndex() override
{ return "Concept Index"; }
/*! used as the title of chapter containing all information about concepts. */
QCString trConceptDocumentation() override
{ return "Concept Documentation"; }
/*! used as an introduction to the concept list */
QCString trConceptListDescription(bool extractAll) override
{
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="concepts with brief descriptions:";
return result;
}
/*! used to introduce the definition of the C++20 concept */
QCString trConceptDefinition() override
{
return "Concept definition";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
QCString trPackageList() override
{ return "Package List"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.6
//////////////////////////////////////////////////////////////////////////
/*! This is used for translation of the word that will be
* followed by a single name of the VHDL process flowchart.
*/
QCString trFlowchart() override
{ return "Flowchart:"; }
/*! Please translate also updated body of the method
* trMemberFunctionDocumentation(), now better adapted for
* VHDL sources documentation.
*/
//////////////////////////////////////////////////////////////////////////
// new since 1.9.7
//////////////////////////////////////////////////////////////////////////
/*! used in the compound documentation before a list of related symbols.
*
* Supersedes trRelatedFunctions
*/
QCString trRelatedSymbols() override
{ return "Related Symbols"; }
/*! subscript for the related symbols
*
* Supersedes trRelatedSubscript
*/
QCString trRelatedSymbolsSubscript() override
{ return "(Note that these are not member symbols.)"; }
/*! used in the class documentation as a header before the list of all
* related classes.
*
* Supersedes trRelatedFunctionDocumentation
*/
QCString trRelatedSymbolDocumentation() override
{ return "Friends And Related Symbol Documentation"; }
/*! the compound type as used for the xrefitems */
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
{
QCString result;
switch(compType)
{
case ClassDef::Class:
if (lang == SrcLangExt::Fortran) trType(true,true);
else result=trClass(true,true);
break;
case ClassDef::Struct: result="Struct"; break;
case ClassDef::Union: result="Union"; break;
case ClassDef::Interface: result="Interface"; break;
case ClassDef::Protocol: result="Protocol"; break;
case ClassDef::Category: result="Category"; break;
case ClassDef::Exception: result="Exception"; break;
case ClassDef::Service: result="Service"; break;
case ClassDef::Singleton: result="Singleton"; break;
default: break;
}
return result;
}
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
switch (hl)
{
case FileMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="functions, variables, defines, enums, and typedefs";
}
else
{
result+="file members";
}
break;
case FileMemberHighlight::Functions:
result+="functions";
break;
case FileMemberHighlight::Variables:
result+="variables";
break;
case FileMemberHighlight::Typedefs:
result+="typedefs";
break;
case FileMemberHighlight::Sequences:
result+="sequences";
break;
case FileMemberHighlight::Dictionaries:
result+="dictionaries";
break;
case FileMemberHighlight::Enums:
result+="enums";
break;
case FileMemberHighlight::EnumValues:
result+="enum values";
break;
case FileMemberHighlight::Defines:
result+="macros";
break;
case FileMemberHighlight::Total: // for completeness
break;
}
result+=" with links to ";
if (extractAll)
result+="the files they belong to:";
else
result+="the documentation:";
return result;
}
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Here is a list of all ";
if (!extractAll)
{
result+="documented ";
}
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="struct and union fields";
}
else
{
result+="class members";
}
break;
case ClassMemberHighlight::Functions:
result+="functions";
break;
case ClassMemberHighlight::Variables:
result+="variables";
break;
case ClassMemberHighlight::Typedefs:
result+="typedefs";
break;
case ClassMemberHighlight::Enums:
result+="enums";
break;
case ClassMemberHighlight::EnumValues:
result+="enum values";
break;
case ClassMemberHighlight::Properties:
result+="properties";
break;
case ClassMemberHighlight::Events:
result+="events";
break;
case ClassMemberHighlight::Related:
result+="related symbols";
break;
case ClassMemberHighlight::Total: // for completeness
break;
}
result+=" with links to ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="the struct/union documentation for each field:";
}
else
{
result+="the class documentation for each member:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="the structures/unions they belong to:";
}
else
{
result+="the classes they belong to:";
}
}
return result;
}
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="namespace ";
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case NamespaceMemberHighlight::All:
singularResult="member";
break;
case NamespaceMemberHighlight::Functions:
singularResult="function";
break;
case NamespaceMemberHighlight::Variables:
singularResult="variable";
break;
case NamespaceMemberHighlight::Typedefs:
singularResult="typedef";
break;
case NamespaceMemberHighlight::Sequences:
singularResult="sequence";
break;
case NamespaceMemberHighlight::Dictionaries:
singularResult="dictionary";
pluralResult="dictionaries";
break;
case NamespaceMemberHighlight::Enums:
singularResult="enum";
break;
case NamespaceMemberHighlight::EnumValues:
singularResult="enum value";
break;
case NamespaceMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+=" with links to ";
if (extractAll)
result+="the namespace documentation for each " + singularResult + ":";
else
result+="the namespaces they belong to:";
return result;
}
QCString trDefinition() override { return "Definition";}
QCString trDeclaration() override { return "Declaration";}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.8
//////////////////////////////////////////////////////////////////////////
QCString trTopics() override
{ return "Topics"; }
QCString trTopicDocumentation() override
{ return "Topic Documentation"; }
QCString trTopicList() override
{ return "Topic List"; }
QCString trTopicIndex() override
{ return "Topic Index"; }
QCString trTopicListDescription() override
{ return "Here is a list of all topics with brief descriptions:"; }
QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
QCString result="Here is a list of all ";
if (!extractAll) result+="documented ";
result+="module ";
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case ModuleMemberHighlight::All:
singularResult="member";
break;
case ModuleMemberHighlight::Functions:
singularResult="function";
break;
case ModuleMemberHighlight::Variables:
singularResult="variable";
break;
case ModuleMemberHighlight::Typedefs:
singularResult="typedef";
break;
case ModuleMemberHighlight::Enums:
singularResult="enum";
break;
case ModuleMemberHighlight::EnumValues:
singularResult="enum value";
break;
case ModuleMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+=" with links to ";
if (extractAll)
result+="the module documentation for each " + singularResult + ":";
else
result+="the module they belong to:";
return result;
}
QCString trExportedModules() override
{
return "Exported Modules";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.10.0
//////////////////////////////////////////////////////////////////////////
QCString trCopyToClipboard() override
{
return "Copy to clipboard";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.11.0
//////////////////////////////////////////////////////////////////////////
QCString trImportant() override
{
return "Important";
}
};
#endif
| 86,772
|
C++
|
.h
| 2,361
| 30.456586
| 167
| 0.58738
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,732
|
mandocvisitor.h
|
doxygen_doxygen/src/mandocvisitor.h
|
/******************************************************************************
*
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef MANDOCVISITOR_H
#define MANDOCVISITOR_H
#include <iostream>
#include <array>
#include "qcstring.h"
#include "docvisitor.h"
#include "docnode.h"
class OutputCodeList;
class TextStream;
/*! @brief Concrete visitor implementation for LaTeX output. */
class ManDocVisitor : public DocVisitor
{
public:
ManDocVisitor(TextStream &t,OutputCodeList &ci,const QCString &langExt);
//--------------------------------------
// visitor functions for leaf nodes
//--------------------------------------
void operator()(const DocWord &);
void operator()(const DocLinkedWord &);
void operator()(const DocWhiteSpace &);
void operator()(const DocSymbol &);
void operator()(const DocEmoji &);
void operator()(const DocURL &);
void operator()(const DocLineBreak &);
void operator()(const DocHorRuler &);
void operator()(const DocStyleChange &);
void operator()(const DocVerbatim &);
void operator()(const DocAnchor &);
void operator()(const DocInclude &);
void operator()(const DocIncOperator &);
void operator()(const DocFormula &);
void operator()(const DocIndexEntry &);
void operator()(const DocSimpleSectSep &);
void operator()(const DocCite &);
void operator()(const DocSeparator &);
//--------------------------------------
// visitor functions for compound nodes
//--------------------------------------
void operator()(const DocAutoList &);
void operator()(const DocAutoListItem &);
void operator()(const DocPara &);
void operator()(const DocRoot &);
void operator()(const DocSimpleSect &);
void operator()(const DocTitle &);
void operator()(const DocSimpleList &);
void operator()(const DocSimpleListItem &);
void operator()(const DocSection &s);
void operator()(const DocHtmlList &s);
void operator()(const DocHtmlListItem &);
void operator()(const DocHtmlDescList &);
void operator()(const DocHtmlDescTitle &);
void operator()(const DocHtmlDescData &);
void operator()(const DocHtmlTable &t);
void operator()(const DocHtmlCaption &);
void operator()(const DocHtmlRow &);
void operator()(const DocHtmlCell &);
void operator()(const DocInternal &);
void operator()(const DocHRef &);
void operator()(const DocHtmlSummary &);
void operator()(const DocHtmlDetails &);
void operator()(const DocHtmlHeader &);
void operator()(const DocImage &);
void operator()(const DocDotFile &);
void operator()(const DocMscFile &);
void operator()(const DocDiaFile &);
void operator()(const DocPlantUmlFile &);
void operator()(const DocLink &lnk);
void operator()(const DocRef &ref);
void operator()(const DocSecRefItem &);
void operator()(const DocSecRefList &);
void operator()(const DocParamSect &);
void operator()(const DocParamList &);
void operator()(const DocXRefItem &);
void operator()(const DocInternalRef &);
void operator()(const DocText &);
void operator()(const DocHtmlBlockQuote &);
void operator()(const DocVhdlFlow &);
void operator()(const DocParBlock &);
private:
template<class T>
void visitChildren(const T &t)
{
for (const auto &child : t.children())
{
std::visit(*this, child);
}
}
//--------------------------------------
// helper functions
//--------------------------------------
void filter(const QCString &str);
//--------------------------------------
// state variables
//--------------------------------------
TextStream &m_t;
OutputCodeList &m_ci;
bool m_insidePre;
bool m_hide;
bool m_firstCol;
int m_indent;
QCString m_langExt;
struct ManListItemInfo
{
int number;
char type;
};
static const int maxIndentLevels = 13;
std::array<ManListItemInfo,maxIndentLevels> m_listItemInfo;
};
#endif
| 4,581
|
C++
|
.h
| 127
| 31.708661
| 79
| 0.633085
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,733
|
linkedmap.h
|
doxygen_doxygen/src/linkedmap.h
|
/******************************************************************************
*
* Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef LINKEDMAP_H
#define LINKEDMAP_H
#include <unordered_map>
#include <vector>
#include <memory>
#include <string>
#include <algorithm>
#include <cctype>
#include "qcstring.h"
//! @brief Container class representing a vector of objects with keys.
//! @details Objects can efficiently be looked up given the key.
//! Objects are owned by the container.
//! When adding objects the order of addition is kept, and used while iterating.
template<class T, class Hash = std::hash<std::string>,
class KeyEqual = std::equal_to<std::string>,
class Map = std::unordered_map<std::string,T*,Hash,KeyEqual > >
class LinkedMap
{
public:
using Ptr = std::unique_ptr<T>;
using Vec = std::vector<Ptr>;
using iterator = typename Vec::iterator;
using const_iterator = typename Vec::const_iterator;
using reverse_iterator = typename Vec::reverse_iterator;
using const_reverse_iterator = typename Vec::const_reverse_iterator;
//! Find an object given the key.
//! Returns a pointer to the element if found or nullptr if it is not found.
const T *find(const std::string &key) const
{
auto it = m_lookup.find(key);
return it!=m_lookup.end() ? it->second : nullptr;
}
//! Find an object given the key.
//! Returns a pointer to the element if found or nullptr if it is not found.
const T *find(const QCString &key) const
{
auto it = m_lookup.find(key.str());
return it!=m_lookup.end() ? it->second : nullptr;
}
//! Find an object given the key.
//! Returns a pointer to the element if found or nullptr if it is not found.
const T *find(const char *key) const
{
return find(std::string(key ? key : ""));
}
//! A non-const wrapper for find() const
T* find(const char *key)
{
return const_cast<T*>(static_cast<const LinkedMap&>(*this).find(key));
}
//! A non-const wrapper for find() const
T* find(const QCString &key)
{
return const_cast<T*>(static_cast<const LinkedMap&>(*this).find(key));
}
//! A non-const wrapper for find() const
T* find(const std::string &key)
{
return const_cast<T*>(static_cast<const LinkedMap&>(*this).find(key));
}
//! Adds a new object to the ordered vector if it was not added already.
//! Return a non-owning pointer to the newly added object, or to the existing object if
//! it was already inserted before under the given key.
template<class...Args>
[[maybe_unused]] T *add(const char *k, Args&&... args)
{
T *result = find(k);
if (result==nullptr)
{
std::string key(k ? k : "");
Ptr ptr = std::make_unique<T>(QCString(k),std::forward<Args>(args)...);
result = ptr.get();
m_lookup.emplace(key,result);
m_entries.push_back(std::move(ptr));
}
return result;
}
template<class...Args>
[[maybe_unused]] T *add(const QCString &k, Args&&... args)
{
std::string key = k.str();
T *result = find(key);
if (result==nullptr)
{
Ptr ptr = std::make_unique<T>(k,std::forward<Args>(args)...);
result = ptr.get();
m_lookup.emplace(key,result);
m_entries.push_back(std::move(ptr));
}
return result;
}
//! Adds an existing object to the ordered vector (unless another object was already
//! added under the same key). Ownership is transferred.
//! Return a non-owning pointer to the newly added object, or to the existing object if
//! it was already inserted before under the given key.
[[maybe_unused]] T *add(const char *k, Ptr &&ptr)
{
T *result = find(k);
if (result==nullptr)
{
std::string key(k ? k : "");
result = ptr.get();
m_lookup.emplace(key,result);
m_entries.push_back(std::move(ptr));
}
return result;
}
[[maybe_unused]] T *add(const QCString &k, Ptr &&ptr)
{
std::string key = k.str();
T *result = find(key);
if (result==nullptr)
{
result = ptr.get();
m_lookup.emplace(key,result);
m_entries.push_back(std::move(ptr));
}
return result;
}
//! Prepends a new object to the ordered vector if it was not added already.
//! Return a non-owning pointer to the newly added object, or to the existing object if
//! it was already inserted before under the given key.
template<class...Args>
T *prepend(const char *k, Args&&... args)
{
T *result = find(k);
if (result==nullptr)
{
std::string key(k ? k : "");
Ptr ptr = std::make_unique<T>(key.c_str(),std::forward<Args>(args)...);
result = ptr.get();
m_lookup.emplace(key,result);
m_entries.push_front(std::move(ptr));
}
return result;
}
template<class...Args>
T *prepend(const QCString &key, Args&&... args)
{
T *result = find(key);
if (result==nullptr)
{
Ptr ptr = std::make_unique<T>(key,std::forward<Args>(args)...);
result = ptr.get();
m_lookup.emplace(key.str(),result);
m_entries.push_front(std::move(ptr));
}
return result;
}
//! Removes an object from the container and deletes it.
//! Returns true if the object was deleted or false it is was not found.
bool del(const QCString &key)
{
auto it = m_lookup.find(key.str());
if (it!=m_lookup.end())
{
auto vecit = std::find_if(m_entries.begin(),m_entries.end(),[obj=it->second](auto &el) { return el.get()==obj; });
if (vecit!=m_entries.end()) // should always be true
{
m_entries.erase(vecit);
m_lookup.erase(it);
return true;
}
}
return false;
}
Ptr &operator[](size_t pos) { return m_entries[pos]; }
const Ptr &operator[](size_t pos) const { return m_entries[pos]; }
iterator begin() { return m_entries.begin(); }
iterator end() { return m_entries.end(); }
const_iterator begin() const { return m_entries.cbegin(); }
const_iterator end() const { return m_entries.cend(); }
reverse_iterator rbegin() { return m_entries.rbegin(); }
reverse_iterator rend() { return m_entries.rend(); }
const_reverse_iterator rbegin() const { return m_entries.crbegin(); }
const_reverse_iterator rend() const { return m_entries.crend(); }
bool empty() const { return m_entries.empty(); }
size_t size() const { return m_entries.size(); }
void clear()
{
m_entries.clear();
m_lookup.clear();
}
private:
Map m_lookup;
Vec m_entries;
};
//! @brief Container class representing a vector of objects with keys.
//! @details Objects can be efficiently be looked up given the key.
//! Objects are \e not owned by the container, the container will only hold references.
//! When adding objects the order of addition is kept, and used while iterating.
template<class T, class Hash = std::hash<std::string>,
class KeyEqual = std::equal_to<std::string>,
class Map = std::unordered_map<std::string,T*,Hash,KeyEqual > >
class LinkedRefMap
{
public:
using Ptr = T*;
using Vec = std::vector<Ptr>;
using iterator = typename Vec::iterator;
using const_iterator = typename Vec::const_iterator;
using reverse_iterator = typename Vec::reverse_iterator;
using const_reverse_iterator = typename Vec::const_reverse_iterator;
//! find an object given the key.
//! Returns a pointer to the object if found or nullptr if it is not found.
const T *find(const std::string &key) const
{
auto it = m_lookup.find(key);
return it!=m_lookup.end() ? it->second : nullptr;
}
//! find an object given the key.
//! Returns a pointer to the object if found or nullptr if it is not found.
const T *find(const QCString &key) const
{
auto it = m_lookup.find(key.str());
return it!=m_lookup.end() ? it->second : nullptr;
}
//! find an object given the key.
//! Returns a pointer to the object if found or nullptr if it is not found.
const T *find(const char *key) const
{
return find(std::string(key ? key : ""));
}
//! non-const wrapper for find() const
T* find(const char *key)
{
return const_cast<T*>(static_cast<const LinkedRefMap&>(*this).find(key));
}
T* find(const QCString &key)
{
return const_cast<T*>(static_cast<const LinkedRefMap&>(*this).find(key));
}
//! non-const wrapper for find() const
T* find(const std::string &key)
{
return const_cast<T*>(static_cast<const LinkedRefMap&>(*this).find(key));
}
//! Adds an object reference to the ordered vector if it was not added already.
//! Return true if the reference was added, and false if an object with the same key
//! was already added before
bool add(const char *k, T* obj)
{
if (find(k)==nullptr) // new element
{
std::string key(k ? k : "");
m_lookup.emplace(key,obj);
m_entries.push_back(obj);
return true;
}
else // already existing, don't add
{
return false;
}
}
bool add(const QCString &k, T* obj)
{
std::string key = k.str();
if (find(key)==nullptr) // new element
{
m_lookup.emplace(key,obj);
m_entries.push_back(obj);
return true;
}
else // already existing, don't add
{
return false;
}
}
//! Prepends an object reference to the ordered vector if it was not added already.
//! Return true if the reference was added, and false if an object with the same key
//! was already added before
bool prepend(const char *k, T* obj)
{
if (find(k)==nullptr) // new element
{
std::string key(k ? k : "");
m_lookup.emplace(key,obj);
m_entries.insert(m_entries.begin(),obj);
return true;
}
else // already existing, don't add
{
return false;
}
}
bool prepend(const QCString &key, T* obj)
{
if (find(key)==nullptr) // new element
{
m_lookup.emplace(key.str(),obj);
m_entries.insert(m_entries.begin(),obj);
return true;
}
else // already existing, don't add
{
return false;
}
}
//! Removes an object from the container and deletes it.
//! Returns true if the object was deleted or false it is was not found.
bool del(const QCString &key)
{
auto it = m_lookup.find(key.str());
if (it!=m_lookup.end())
{
auto vecit = std::find_if(m_entries.begin(),m_entries.end(),[obj=it->second](auto &el) { return el.get()==obj; });
if (vecit!=m_entries.end()) // should always be true
{
m_entries.erase(vecit);
m_lookup.erase(it);
return true;
}
}
return false;
}
Ptr &operator[](size_t pos) { return m_entries[pos]; }
const Ptr &operator[](size_t pos) const { return m_entries[pos]; }
iterator begin() { return m_entries.begin(); }
iterator end() { return m_entries.end(); }
const_iterator begin() const { return m_entries.cbegin(); }
const_iterator end() const { return m_entries.cend(); }
reverse_iterator rbegin() { return m_entries.rbegin(); }
reverse_iterator rend() { return m_entries.rend(); }
const_reverse_iterator rbegin() const { return m_entries.crbegin(); }
const_reverse_iterator rend() const { return m_entries.crend(); }
bool empty() const { return m_entries.empty(); }
size_t size() const { return m_entries.size(); }
void clear()
{
m_entries.clear();
m_lookup.clear();
}
private:
Map m_lookup;
Vec m_entries;
};
#endif
| 12,906
|
C++
|
.h
| 351
| 30.763533
| 122
| 0.597188
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,734
|
fortrancode.h
|
doxygen_doxygen/src/fortrancode.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef FORTRANCODE_H
#define FORTRANCODE_H
#include "parserintf.h"
class OutputCodeList;
class FileDef;
class MemberDef;
class QCString;
class Definition;
class FortranCodeParser : public CodeParserInterface
{
public:
FortranCodeParser(FortranFormat format=FortranFormat::Unknown);
~FortranCodeParser() override;
NON_COPYABLE(FortranCodeParser)
void parseCode(OutputCodeList &codeOutIntf,
const QCString &scopeName,
const QCString &input,
SrcLangExt lang,
bool stripCodeComments,
bool isExampleBlock,
const QCString &exampleName=QCString(),
const FileDef *fileDef=nullptr,
int startLine=-1,
int endLine=-1,
bool inlineFragment=FALSE,
const MemberDef *memberDef=nullptr,
bool showLineNumbers=TRUE,
const Definition *searchCtx=nullptr,
bool collectXRefs=TRUE
) override;
void resetCodeParserState() override;
private:
struct Private;
std::unique_ptr<Private> p;
};
class FortranCodeParserFree : public FortranCodeParser
{
public:
FortranCodeParserFree() : FortranCodeParser(FortranFormat::Free) { }
};
class FortranCodeParserFixed : public FortranCodeParser
{
public:
FortranCodeParserFixed() : FortranCodeParser(FortranFormat::Fixed) { }
};
#endif
| 2,146
|
C++
|
.h
| 62
| 27.951613
| 79
| 0.661687
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,735
|
translator.h
|
doxygen_doxygen/src/translator.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef TRANSLATOR_H
#define TRANSLATOR_H
#include "classdef.h"
#include "config.h"
#include "datetime.h"
#include "index.h"
#include "construct.h"
/** Abstract base class for all translatable text fragments. */
class Translator
{
public:
ABSTRACT_BASE_CLASS(Translator)
/*! This method is used to provide warning message that is displayed
* if the user chooses a language whose translation is not up to date.
* It is implemented by the adapter classes.
*/
virtual QCString updateNeededMessage() { return QCString(); }
// Please, have a look at comments inside the translator_en.h file
// to learn the meaning of the following methods. The translator_en.h
// file contains the TranslatorEnglish implementation, which is
// always up-to-date (by definition).
// --- Language control methods -------------------
virtual QCString idLanguage() = 0;
virtual QCString latexLanguageSupportCommand() = 0;
/*!
* Sets the LaTeX font encoding to be used. The default is set to `T1`,
* in case another font encoding has to be used this can be specified with
* this routine. In case no font encoding is required the empty string
* can be returned.
*/
virtual QCString latexFontenc() { return QCString("T1"); }
virtual QCString latexFont() {
return QCString("\\usepackage[scaled=.90]{helvet}\n"
"\\usepackage{courier}\n"
"\\renewcommand{\\familydefault}{\\sfdefault}\n");
}
/*!
* Sets the commands to be inserted directly after the `\\begin{document}`
* in the LaTeX document.
*/
virtual QCString latexDocumentPre() { return QCString(""); }
/*!
* Sets the commands to be inserted directly before the `\\end{document}`
* in the LaTeX document.
*/
virtual QCString latexDocumentPost() { return QCString(""); }
/*!
* Set the name to be used as latex command.
*/
virtual QCString latexCommandName()
{
return p_latexCommandName("pdflatex");
}
virtual QCString trISOLang() = 0;
/** language codes for Html help
<pre>
0x402 Bulgarian
0x405 Czech
0x406 Danish
0x413 Dutch
0xC09 English (Australia)
0x809 English (Britain)
0x1009 English (Canada)
0x1809 English (Ireland)
0x1409 English (New Zealand)
0x1C09 English (South Africa)
0x409 English (United States)
0x40B Finnish
0x40C French
0x407 German
0x408 Greece
0x439 Hindi
0x40E Hungarian
0x410 Italian
0x814 Norwegian
0x415 Polish
0x816 Portuguese(Portugal)
0x416 Portuguese(Brazil)
0x419 Russian
0x80A Spanish(Mexico)
0xC0A Spanish(Modern Sort)
0x40A Spanish(Traditional Sort)
0x41D Swedish
0x41F Turkey
0x411 Japanese
0x412 Korean
0x804 Chinese (PRC)
0x404 Chinese (Taiwan)
</pre>
New LCIDs:
<pre>
0x421 Indonesian
0x41A Croatian
0x418 Romanian
0x424 Slovenian
0x41B Slovak
0x422 Ukrainian
0x81A Serbian (Serbia, Latin)
0x403 Catalan
0x426 Latvian
0x427 Lithuanian
0x436 Afrikaans
0x42A Vietnamese
0x429 Persian (Iran)
0xC01 Arabic (Egypt) - I don't know which version of arabic is used inside translator_ar.h ,
so I have chosen Egypt at random
</pre>
Code for Esperanto should be as shown below but the htmlhelp compiler 1.3 does not support this
(and no newer version is available).
<pre>
0x48f Esperanto
</pre>
So do a fallback to the default language
<pre>
0x409 English (United States)
</pre>
<pre>
0xC1A Serbian (Serbia, Cyrillic)
</pre>
*/
virtual QCString getLanguageString() = 0;
/**
* add punctuation at the end of a brief description when needed and supported by the language
*/
virtual bool needsPunctuation() { return true; }
// --- Language translation methods -------------------
virtual QCString trRelatedFunctions() = 0;
virtual QCString trRelatedSubscript() = 0;
virtual QCString trDetailedDescription() = 0;
virtual QCString trDetails() = 0;
virtual QCString trMemberTypedefDocumentation() = 0;
virtual QCString trMemberEnumerationDocumentation() = 0;
virtual QCString trMemberFunctionDocumentation() = 0;
virtual QCString trMemberDataDocumentation() = 0;
virtual QCString trMore() = 0;
virtual QCString trListOfAllMembers() = 0;
virtual QCString trMemberList() = 0;
virtual QCString trThisIsTheListOfAllMembers() = 0;
virtual QCString trIncludingInheritedMembers() = 0;
virtual QCString trGeneratedAutomatically(const QCString &s) = 0;
virtual QCString trEnumName() = 0;
virtual QCString trEnumValue() = 0;
virtual QCString trDefinedIn() = 0;
// quick reference sections
virtual QCString trModules() = 0;
virtual QCString trClassHierarchy() = 0;
virtual QCString trCompoundList() = 0;
virtual QCString trFileList() = 0;
virtual QCString trCompoundMembers() = 0;
virtual QCString trFileMembers() = 0;
virtual QCString trRelatedPages() = 0;
virtual QCString trExamples() = 0;
virtual QCString trSearch() = 0;
virtual QCString trClassHierarchyDescription() = 0;
virtual QCString trFileListDescription(bool extractAll) = 0;
virtual QCString trCompoundListDescription() = 0;
virtual QCString trCompoundMembersDescription(bool extractAll) = 0;
virtual QCString trFileMembersDescription(bool extractAll) = 0;
virtual QCString trExamplesDescription() = 0;
virtual QCString trRelatedPagesDescription() = 0;
virtual QCString trModulesDescription() = 0;
// index titles (the project name is prepended for these)
virtual QCString trDocumentation(const QCString &projName) = 0;
virtual QCString trModuleIndex() = 0;
virtual QCString trHierarchicalIndex() = 0;
virtual QCString trCompoundIndex() = 0;
virtual QCString trFileIndex() = 0;
virtual QCString trModuleDocumentation() = 0;
virtual QCString trClassDocumentation() = 0;
virtual QCString trFileDocumentation() = 0;
virtual QCString trReferenceManual() = 0;
virtual QCString trDefines() = 0;
virtual QCString trTypedefs() = 0;
virtual QCString trEnumerations() = 0;
virtual QCString trFunctions() = 0;
virtual QCString trVariables() = 0;
virtual QCString trEnumerationValues() = 0;
virtual QCString trDefineDocumentation() = 0;
virtual QCString trTypedefDocumentation() = 0;
virtual QCString trEnumerationTypeDocumentation() = 0;
virtual QCString trFunctionDocumentation() = 0;
virtual QCString trVariableDocumentation() = 0;
virtual QCString trCompounds() = 0;
virtual QCString trGeneratedAt(const QCString &date,const QCString &projName) = 0;
virtual QCString trClassDiagram(const QCString &clName) = 0;
virtual QCString trWarning() = 0;
virtual QCString trVersion() = 0;
virtual QCString trDate() = 0;
virtual QCString trReturns() = 0;
virtual QCString trSeeAlso() = 0;
virtual QCString trParameters() = 0;
virtual QCString trExceptions() = 0;
virtual QCString trGeneratedBy() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
virtual QCString trNamespaceList() = 0;
virtual QCString trNamespaceListDescription(bool extractAll) = 0;
virtual QCString trFriends() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
virtual QCString trRelatedFunctionDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
virtual QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) = 0;
virtual QCString trFileReference(const QCString &fileName) = 0;
virtual QCString trNamespaceReference(const QCString &namespaceName) = 0;
virtual QCString trPublicMembers() = 0;
virtual QCString trPublicSlots() = 0;
virtual QCString trSignals() = 0;
virtual QCString trStaticPublicMembers() = 0;
virtual QCString trProtectedMembers() = 0;
virtual QCString trProtectedSlots() = 0;
virtual QCString trStaticProtectedMembers() = 0;
virtual QCString trPrivateMembers() = 0;
virtual QCString trPrivateSlots() = 0;
virtual QCString trStaticPrivateMembers() = 0;
virtual QCString trWriteList(int numEntries) = 0;
virtual QCString trInheritsList(int numEntries) = 0;
virtual QCString trInheritedByList(int numEntries) = 0;
virtual QCString trReimplementedFromList(int numEntries) = 0;
virtual QCString trReimplementedInList(int numEntries) = 0;
virtual QCString trNamespaceMembers() = 0;
virtual QCString trNamespaceMemberDescription(bool extractAll) = 0;
virtual QCString trNamespaceIndex() = 0;
virtual QCString trNamespaceDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
virtual QCString trNamespaces() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
virtual QCString trReturnValues() = 0;
virtual QCString trMainPage() = 0;
virtual QCString trPageAbbreviation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
virtual QCString trDefinedAtLineInSourceFile() = 0;
virtual QCString trDefinedInSourceFile() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
virtual QCString trDeprecated() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trCollaborationDiagram(const QCString &clName) = 0;
virtual QCString trInclDepGraph(const QCString &fName) = 0;
virtual QCString trConstructorDocumentation() = 0;
virtual QCString trGotoSourceCode() = 0;
virtual QCString trGotoDocumentation() = 0;
virtual QCString trPrecondition() = 0;
virtual QCString trPostcondition() = 0;
virtual QCString trInvariant() = 0;
virtual QCString trInitialValue() = 0;
virtual QCString trCode() = 0;
virtual QCString trGraphicalHierarchy() = 0;
virtual QCString trGotoGraphicalHierarchy() = 0;
virtual QCString trGotoTextualHierarchy() = 0;
virtual QCString trPageIndex() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trNote() = 0;
virtual QCString trPublicTypes() = 0;
virtual QCString trPublicAttribs() = 0;
virtual QCString trStaticPublicAttribs() = 0;
virtual QCString trProtectedTypes() = 0;
virtual QCString trProtectedAttribs() = 0;
virtual QCString trStaticProtectedAttribs() = 0;
virtual QCString trPrivateTypes() = 0;
virtual QCString trPrivateAttribs() = 0;
virtual QCString trStaticPrivateAttribs() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
virtual QCString trTodo() = 0;
virtual QCString trTodoList() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
virtual QCString trReferencedBy() = 0;
virtual QCString trRemarks() = 0;
virtual QCString trAttention() = 0;
virtual QCString trInclByDepGraph() = 0;
virtual QCString trSince() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
virtual QCString trLegendTitle() = 0;
virtual QCString trLegendDocs() = 0;
virtual QCString trLegend() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trTest() = 0;
virtual QCString trTestList() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
virtual QCString trProperties() = 0;
virtual QCString trPropertyDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
virtual QCString trClasses() = 0;
virtual QCString trPackage(const QCString &name) = 0;
virtual QCString trPackageListDescription() = 0;
virtual QCString trPackages() = 0;
virtual QCString trDefineValue() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
virtual QCString trBug() = 0;
virtual QCString trBugList() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
virtual QCString trRTFansicp() = 0;
/*! Character sets
* <pre>
* 0 — ANSI
* 1 — Default
* 2 — Symbol
* 3 — Invalid
* 77 — Mac
* 128 — Shift Jis
* 129 — Hangul
* 130 — Johab
* 134 — GB2312
* 136 — Big5
* 161 — Greek
* 162 — Turkish
* 163 — Vietnamese
* 177 — Hebrew
* 178 — Arabic
* 179 — Arabic Traditional
* 180 — Arabic user
* 181 — Hebrew user
* 186 — Baltic
* 204 — Russian
* 222 — Thai
* 238 — Eastern European
* 254 — PC 437
* 255 — OEM
* </pre>
*/
virtual QCString trRTFCharSet() = 0;
virtual QCString trRTFGeneralIndex() = 0;
// Translation of the word
virtual QCString trClass(bool first_capital, bool singular) = 0;
virtual QCString trFile(bool first_capital, bool singular) = 0;
virtual QCString trNamespace(bool first_capital, bool singular) = 0;
virtual QCString trGroup(bool first_capital, bool singular) = 0;
virtual QCString trPage(bool first_capital, bool singular) = 0;
virtual QCString trMember(bool first_capital, bool singular) = 0;
virtual QCString trGlobal(bool first_capital, bool singular) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
virtual QCString trAuthor(bool first_capital, bool singular) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
virtual QCString trReferences() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
virtual QCString trImplementedFromList(int numEntries) = 0;
virtual QCString trImplementedInList(int numEntries) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
virtual QCString trRTFTableOfContents() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
virtual QCString trDeprecatedList() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
virtual QCString trEvents() = 0;
virtual QCString trEventDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
virtual QCString trPackageTypes() = 0;
virtual QCString trPackageFunctions() = 0;
virtual QCString trPackageMembers() = 0;
virtual QCString trStaticPackageFunctions() = 0;
virtual QCString trPackageAttribs() = 0;
virtual QCString trStaticPackageAttribs() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
virtual QCString trAll() = 0;
virtual QCString trCallGraph() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
virtual QCString trSearchResultsTitle() = 0;
virtual QCString trSearchResults(int numDocuments) = 0;
virtual QCString trSearchMatches() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
virtual QCString trSourceFile(const QCString& filename) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
virtual QCString trDirIndex() = 0;
virtual QCString trDirDocumentation() = 0;
virtual QCString trDirectories() = 0;
virtual QCString trDirReference(const QCString &dirName) = 0;
virtual QCString trDir(bool first_capital, bool singular) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
virtual QCString trOverloadText() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
virtual QCString trCallerGraph() = 0;
virtual QCString trEnumerationValueDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4
//////////////////////////////////////////////////////////////////////////
virtual QCString trMemberFunctionDocumentationFortran() = 0;
virtual QCString trCompoundListFortran() = 0;
virtual QCString trCompoundMembersFortran() = 0;
virtual QCString trCompoundListDescriptionFortran() = 0;
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) = 0;
virtual QCString trCompoundIndexFortran() = 0;
virtual QCString trTypeDocumentation() = 0;
virtual QCString trSubprograms() = 0;
virtual QCString trSubprogramDocumentation() = 0;
virtual QCString trDataTypes() = 0;
virtual QCString trModulesList() = 0;
virtual QCString trModulesListDescription(bool extractAll) = 0;
virtual QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) = 0;
virtual QCString trModuleReference(const QCString &namespaceName) = 0;
virtual QCString trModulesMembers() = 0;
virtual QCString trModulesMemberDescription(bool extractAll) = 0;
virtual QCString trModulesIndex() = 0;
virtual QCString trModule(bool first_capital, bool singular) = 0;
virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) = 0;
virtual QCString trType(bool first_capital, bool singular) = 0;
virtual QCString trSubprogram(bool first_capital, bool singular) = 0;
virtual QCString trTypeConstraints() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trDirRelation(const QCString &name) = 0;
virtual QCString trLoading() = 0;
virtual QCString trGlobalNamespace() = 0;
virtual QCString trSearching() = 0;
virtual QCString trNoMatches() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3
//////////////////////////////////////////////////////////////////////////
virtual QCString trFileIn(const QCString &name) = 0;
virtual QCString trIncludesFileIn(const QCString &name) = 0;
virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) = 0;
virtual QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) = 0;
virtual QCString trMonth(int month, bool first_capital, bool full) = 0;
virtual QCString trDayPeriod(bool period) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
virtual QCString trCiteReferences() = 0;
virtual QCString trCopyright() = 0;
virtual QCString trDirDepGraph(const QCString &name) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trDetailLevel() = 0;
virtual QCString trTemplateParameters() = 0;
virtual QCString trAndMore(const QCString &number) = 0;
virtual QCString trEnumGeneratedFromFiles(bool single) = 0;
virtual QCString trEnumReference(const QCString &name) = 0;
virtual QCString trInheritedFrom(const QCString &members,const QCString &what) = 0;
virtual QCString trAdditionalInheritedMembers() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
virtual QCString trPanelSynchronisationTooltip(bool enable) = 0;
virtual QCString trProvidedByCategory() = 0;
virtual QCString trExtendsClass() = 0;
virtual QCString trClassMethods() = 0;
virtual QCString trInstanceMethods() = 0;
virtual QCString trMethodDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
virtual QCString trInterfaces() = 0;
virtual QCString trServices() = 0;
virtual QCString trConstantGroups() = 0;
virtual QCString trConstantGroupReference(const QCString &namespaceName) = 0;
virtual QCString trServiceReference(const QCString &sName) = 0;
virtual QCString trSingletonReference(const QCString &sName) = 0;
virtual QCString trServiceGeneratedFromFiles(bool single) = 0;
virtual QCString trSingletonGeneratedFromFiles(bool single) = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
virtual QCString trDesignUnitHierarchy() = 0;
virtual QCString trDesignUnitList() = 0;
virtual QCString trDesignUnitMembers() = 0;
virtual QCString trDesignUnitListDescription() = 0;
virtual QCString trDesignUnitIndex() = 0;
virtual QCString trDesignUnits() = 0;
virtual QCString trFunctionAndProc() = 0;
virtual QCString trVhdlType(VhdlSpecifier type,bool single) = 0;
virtual QCString trCustomReference(const QCString &name) = 0;
virtual QCString trConstants() = 0;
virtual QCString trConstantDocumentation() = 0;
virtual QCString trSequences() = 0;
virtual QCString trSequenceDocumentation() = 0;
virtual QCString trDictionaries() = 0;
virtual QCString trDictionaryDocumentation() = 0;
virtual QCString trSliceInterfaces() = 0;
virtual QCString trInterfaceIndex() = 0;
virtual QCString trInterfaceList() = 0;
virtual QCString trInterfaceListDescription() = 0;
virtual QCString trInterfaceHierarchy() = 0;
virtual QCString trInterfaceHierarchyDescription() = 0;
virtual QCString trInterfaceDocumentation() = 0;
virtual QCString trStructs() = 0;
virtual QCString trStructIndex() = 0;
virtual QCString trStructList() = 0;
virtual QCString trStructListDescription() = 0;
virtual QCString trStructDocumentation() = 0;
virtual QCString trExceptionIndex() = 0;
virtual QCString trExceptionList() = 0;
virtual QCString trExceptionListDescription() = 0;
virtual QCString trExceptionHierarchy() = 0;
virtual QCString trExceptionHierarchyDescription() = 0;
virtual QCString trExceptionDocumentation() = 0;
virtual QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) = 0;
virtual QCString trOperations() = 0;
virtual QCString trOperationDocumentation() = 0;
virtual QCString trDataMembers() = 0;
virtual QCString trDataMemberDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
virtual QCString trDesignUnitDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
virtual QCString trConcept(bool first_capital, bool singular) = 0;
virtual QCString trConceptReference(const QCString &conceptName) = 0;
virtual QCString trConceptList() = 0;
virtual QCString trConceptIndex() = 0;
virtual QCString trConceptDocumentation() = 0;
virtual QCString trConceptListDescription(bool extractAll) = 0;
virtual QCString trConceptDefinition() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
virtual QCString trPackageList() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.9.6
//////////////////////////////////////////////////////////////////////////
virtual QCString trFlowchart() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.9.7
//////////////////////////////////////////////////////////////////////////
virtual QCString trRelatedSymbols() = 0;
virtual QCString trRelatedSymbolsSubscript() = 0;
virtual QCString trRelatedSymbolDocumentation() = 0;
virtual QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) = 0;
virtual QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) = 0;
virtual QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) = 0;
virtual QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) = 0;
virtual QCString trDefinition() = 0;
virtual QCString trDeclaration() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.9.8
//////////////////////////////////////////////////////////////////////////
virtual QCString trTopics() = 0;
virtual QCString trTopicDocumentation() = 0;
virtual QCString trTopicList() = 0;
virtual QCString trTopicIndex() = 0;
virtual QCString trTopicListDescription() = 0;
virtual QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) = 0;
virtual QCString trExportedModules() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.10.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trCopyToClipboard() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.11.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trImportant() = 0;
protected:
QCString p_latexCommandName(const QCString &latexCmd)
{
QCString latex_command = Config_getString(LATEX_CMD_NAME);
if (latex_command.isEmpty()) latex_command = "latex";
if (Config_getBool(USE_PDFLATEX))
{
if (latex_command == "latex") latex_command = latexCmd;
}
return latex_command;
}
/*! For easy flexible-noun implementation.
* \internal
*/
QCString createNoun(bool first_capital, bool singular,
const QCString &base,
const QCString &plurSuffix, const QCString &singSuffix = "" )
{
QCString result;
if (first_capital)
{
std::string res = getUTF8CharAt(base.str(),0);
res = convertUTF8ToUpper(res);
result = res.c_str();
result += base.mid(res.length());
}
else
{
result = base;
}
result += (singular ? singSuffix : plurSuffix);
return result;
}
};
#endif
| 31,966
|
C++
|
.h
| 687
| 41.378457
| 121
| 0.535883
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,736
|
translator_pt.h
|
doxygen_doxygen/src/translator_pt.h
|
/******************************************************************************
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
* Portuguese translation version
* Maintainer (from 04/28/2011):
* Fabio "FJTC" Jun Takada Chino <fjtc at brokenbits dot com dot br>
* Maintainer (until 04/28/2011):
* Rui Godinho Lopes <rui at ruilopes.com>
* Collaborators:
* Ulisses Guedes <uli1958 at hotmail dot com>
*
* Notes about this translation:
* Since I'm Brazilian, this translation may be odd or even incorrect for
* Portuguese (from Portugal) speakers. If you find any errors, feel free
* to contact me.
*
* VERSION HISTORY
* ---------------
* History:
* 20240204:
* - Updated to 1.11.0:
* 20231107:
* - Updated to 1.10.0:
* 20230817:
* - Updated to 1.9.8;
* - Small fixes to the method TranslatorPortuguese::trNamespaceMembersDescriptionTotal().
* 20230430:
* - Updated to 1.9.7;
* - Inclusion of translator_br.h's PortugueseTranslatorUtils namespace;
* - All entries of "Directório" has been replaced by "Diretório";
* 20220911:
* - Updated to 1.9.6;
* 20220525:
* - Updated to 1.9.4;
* 20211003:
* - Updated to 1.9.3;
* 20200112:
* - Updated to 1.9.1;
* 20190203:
* - Slice methods added;
* 20180612:
* - Updated to 1.8.15;
* 20131129:
* - Updated to 1.8.5;
* - Translation in the method trFileMembers() fixed;
* 20110628:
* - Updated to 1.7.5;
* - All obsolete methods have been removed;
* 20110428
* - Updated to doxygen 1.6.3 using the Brazilian Portuguese as the base.
* Requires revision by a Portuguese (Portugal native speaker);
* 007 09 june 2003
* ! Updated for doxygen v1.3.1
* 006 30 july 2002
* ! Updated for doxygen v1.2.17
* 005 10 july 2002
* ! Updated for doxygen v1.2.16
* 004 03 march 2002
* ! Updated for doxygen v1.2.14
* 003 23 november 2001
* - Removed some obsolete methods (latexBabelPackage, trAuthor, trAuthors and trFiles)
* 002 19 november 2001
* ! Updated for doxygen v1.2.12
* 001 20 july 2001
* ! Updated for doxygen v1.2.8.1
* 000 ?
* + Initial translation for doxygen v1.1.5
*/
#ifndef TRANSLATOR_PT_H
#define TRANSLATOR_PT_H
#include "translator_br.h"
class TranslatorPortuguese : public Translator
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "portuguese"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return
"\\usepackage[portuges]{babel}\n";
}
QCString trISOLang() override
{
return "pt";
}
QCString getLanguageString() override
{
return "0x816 Portuguese(Portugal)";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Funções associadas"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Note que não são funções membro)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Descrição detalhada"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Detalhes"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Documentação das definições de tipo"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Documentação das enumerações"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return "Documentação das funções, procedimentos e processos";
}
else
{
return "Documentação das funções";
}
}
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentação dos campos e atributos";
}
else
{
return "Documentação dos dados membro";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Mais..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Mostrar lista completa dos membros"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Lista dos membros"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Lista completa de todos os membros de"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", incluindo todos os membros herdados."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Gerado automaticamente por Doxygen";
if (!s.isEmpty()) result+=" para "+s;
result+=" a partir do código fonte.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "enumeração"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "valor enumerado"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "definido em"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Módulos"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Hierarquia de classes"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas de dados";
}
else
{
return "Lista de componentes";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Lista de ficheiros"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos de dados";
}
else
{
return "Componentes membro";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Globais";
}
else
{
return "Membros dos Ficheiros";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Páginas relacionadas"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Exemplos"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Localizar"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Esta lista de heranças está organizada, dentro do possível, por ordem alfabética:"; }
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Lista de todos os ficheiros ";
if (!extractAll) result+="documentados ";
result+="com uma breve descrição:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Lista das estruturas de dados com uma breve descrição:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Lista de classes com uma breve descrição:";
}
else
{
return "Lista de classes, estruturas, uniões e interfaces com uma breve descrição:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Lista de todas as";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+=" estruturas e campos de uniões";
}
else
{
result+=" classes membro";
}
if (!extractAll)
{
result+=" documentadas";
}
result+=" com referência para ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a respectiva documentação:";
}
else
{
result+="a documentação de cada membro:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="as estruturas/uniões a que pertencem:";
}
else
{
result+="as classes a que pertencem:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Lista de ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="todas as funções, variáveis, definições, enumerações e definições de tipo ";
if (!extractAll) result+="documentadas ";
}
else
{
result+="todos os ficheiros membro ";
if (!extractAll) result+="documentados ";
}
result+="com referência para ";
if (extractAll)
result+="o ficheiro a que pertecem:";
else
result+="a respectiva documentação:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Lista de todos os exemplos:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Lista de documentação relacionada:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Lista de todos os módulos:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return "Documentação" + (!projName.isEmpty()? " de " + projName : ""); }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Índice dos módulos"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Índice da hierarquia"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Índice das estruturas de dados";
}
else
{
return "Índice dos componentes";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Índice dos ficheiros"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Documentação do módulo"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Documentação da estruturas de dados";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Documentação da classe";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Documentação do ficheiro"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Manual de referência"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Macros"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Definições de tipos"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Enumerações"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Funções"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Variáveis"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Valores de enumerações"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Documentação das macros"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Documentação dos tipos"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Documentação dos valores da enumeração"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Documentação das funções"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Documentação das variáveis"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas de Dados";
}
else
{
return "Componentes";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Gerado em "+date;
if (!projName.isEmpty()) result+=" para "+projName;
result+=" por";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Diagrama de heranças da classe "+clName;
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Aviso"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Versão"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Data"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Retorna"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Veja também"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Parâmetros"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Excepções"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Gerado por"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Lista de namespaces"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Lista ";
if (!extractAll) result+="de toda a documentação ";
result+="dos namespaces com uma breve descrição:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Amigos"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Documentação das classes amigas e funções relacionadas"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result="Referência ";
switch(compType)
{
case ClassDef::Class: result+="à classe "; break;
case ClassDef::Struct: result+="à estrutura "; break;
case ClassDef::Union: result+="à união "; break;
case ClassDef::Interface: result+="ao interface "; break;
case ClassDef::Protocol: result+="ao protocolo "; break;
case ClassDef::Category: result+="à categoria "; break;
case ClassDef::Exception: result+="à excepção "; break;
default: break;
}
if (isTemplate) result+="Template ";
result+=clName;
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result= "Referência ao ficheiro ";
result += fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result= "Referência ao namespace ";
result += namespaceName;
return result;
}
/* these are for the member sections of a class, struct or union */
QCString trPublicMembers() override
{ return "Membros públicos"; }
QCString trPublicSlots() override
{ return "Slots públicos"; }
QCString trSignals() override
{ return "Sinais"; }
QCString trStaticPublicMembers() override
{ return "Membros públicos estáticos"; }
QCString trProtectedMembers() override
{ return "Membros protegidos"; }
QCString trProtectedSlots() override
{ return "Slots protegidos"; }
QCString trStaticProtectedMembers() override
{ return "Membros protegidos estáticos"; }
QCString trPrivateMembers() override
{ return "Membros privados"; }
QCString trPrivateSlots() override
{ return "Slots privados"; }
QCString trStaticPrivateMembers() override
{ return "Membros privados estáticos"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" e ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Derivada de "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Herdado por "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Reimplementado de "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Reimplementado em "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Membros do namespace"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Lista ";
if (extractAll) result+="de todos os ";
else result+="de toda a documentação dos ";
result+="membros do namespace com referência para ";
if (extractAll)
result+="a documentação de cada membro:";
else
result+="o namespace correspondente:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Índice dos namespaces"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Documentação dos namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Namespaces"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
QCString result="A documentação para ";
switch(compType)
{
case ClassDef::Class: result+=vhdlOpt?"esta Unidade de Design":"esta classe"; break;
case ClassDef::Struct: result+="esta estrutura"; break;
case ClassDef::Union: result+="esta união"; break;
case ClassDef::Interface: result+="este interface"; break;
case ClassDef::Protocol: result+="este protocolo"; break;
case ClassDef::Category: result+="esta categoria"; break;
case ClassDef::Exception: result+="esta excepção"; break;
default: break;
}
result+=" foi gerada a partir ";
if (single) result+=" do seguinte ficheiro:";
else result+="dos seguintes ficheiros:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Valores retornados"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Página principal"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "p. "; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Definido na linha @0 do ficheiro @1.";
}
QCString trDefinedInSourceFile() override
{
return "Definido no ficheiro @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Desaprovado";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Diagrama de colaboração para "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Diagrama de dependências de inclusão para "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Documentação dos Construtores & Destrutor";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Ir para o código fonte deste ficheiro.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Ir para a documentação deste ficheiro.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Precondição";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Poscondição";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Invariante";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Valor inicial:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "código";
}
QCString trGraphicalHierarchy() override
{
return "Representação gráfica da hiearquia da classe";
}
QCString trGotoGraphicalHierarchy() override
{
return "Ir para a representação gráfica da hierarquia da classe";
}
QCString trGotoTextualHierarchy() override
{
return "Ir para a representação textual da hierarquia da classe";
}
QCString trPageIndex() override
{
return "Índice da página";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Nota";
}
QCString trPublicTypes() override
{
return "Tipos Públicos";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Campos de Dados";
}
else
{
return "Atributos Públicos";
}
}
QCString trStaticPublicAttribs() override
{
return "Atributos Públicos Estáticos";
}
QCString trProtectedTypes() override
{
return "Tipos Protegidos";
}
QCString trProtectedAttribs() override
{
return "Atributos Protegidos";
}
QCString trStaticProtectedAttribs() override
{
return "Atributos Protegidos Estáticos";
}
QCString trPrivateTypes() override
{
return "Tipos Privados";
}
QCString trPrivateAttribs() override
{
return "Atributos Privados";
}
QCString trStaticPrivateAttribs() override
{
return "Atributos Privados Estáticos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a todo item */
QCString trTodo() override
{
return "Tarefa";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Lista de tarefas";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Referenciado por";
}
QCString trRemarks() override
{
return "Observações";
}
QCString trAttention() override
{
return "Atenção";
}
QCString trInclByDepGraph() override
{
return "Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:";
}
QCString trSince() override
{
return "Desde";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Legenda do grafo";
}
/*! page explaining how the dot graph's should be interpreted */
QCString trLegendDocs() override
{
return
"Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
"Considere o seguinte exemplo:\n"
"\\code\n"
"/*! Esta classe vai estar escondida devido à truncação */\n"
"class Invisible { };\n\n"
"/*! Esta classe tem a relação de herança escondida */\n"
"class Truncated : public Invisible { };\n\n"
"/* Classe não documentada por comentários doxygen */\n"
"class Undocumented { };\n\n"
"/*! Classe derivada usando derivação pública */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n"
"template<class T> class Templ { };\n\n"
"/*! Classe derivada usando derivação protegida */\n"
"class ProtectedBase { };\n\n"
"/*! Classe derivada usando derivação privada */\n"
"class PrivateBase { };\n\n"
"/*! Classe usada pela classe Inherited */\n"
"class Used { };\n\n"
"/*! Super classe que deriva de várias classes */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Isto irá gerar o seguinte gráfo:"
"<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"As caixas no grafo anterior têm as seguintes interpretações:\n"
"<ul>\n"
"<li>Uma caixa inteiramente preta representa a estrutura ou a classe para "
"a qual o grafo foi gerado.\n"
"<li>Uma caixa com borda preta representa uma estrutura ou classe documentada.\n"
"<li>Uma caixa com borda cinzenta representa uma estrutura ou classe não documentada.\n"
"<li>Uma caixa com borda vermelha representa uma estrutura ou classe documentada onde "
"nem todas as relações de herança/encapsulamento são exibidas. Um grafo é truncado "
"quando não cabe na sua área predefinida.\n"
"</ul>\n"
"As setas têm a seguinte interpretação:\n"
"<ul>\n"
"<li>Uma seta azul escura representa uma relação de herança pública entre duas classes.\n"
"<li>Uma seta verde escura representa uma relação de herança protegida.\n"
"<li>Uma seta vermelha escura representa uma relação de herança privada.\n"
"<li>Uma seta rocha em tracejado representa uma relação de encapsulamento ou uso por "
"parte de outra classe. A legenda da seta contém o nome da variável ou variáveis da "
"relação. A seta aponta da classe que estabelece a relação para a classe ou estrutura que "
"é acessível.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "legenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Teste";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Lista de teste";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Propriedades";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Documentação das propriedades";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Estruturas de dados";
}
else
{
return "Classes";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Pacote "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Lista de pacotes com uma breve descrição (se disponível):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Pacotes";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Valor:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Bug";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Lista de Bugs";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1252";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "0";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Índice";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "classe", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "ficheiro", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "namespace", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "grupo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "página", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "membro", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "globa", "is", "l");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "autor", "es");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Referências";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Implementa "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Implementado em "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Índice";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Lista de Deprecados";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Eventos";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Documentação dos eventos";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Tipos do Pacote";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Funções do Pacote";
}
QCString trPackageMembers() override
{
return "Membros do Pacote";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Funções Estáticas do Pacote";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Atributos do Pacote";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Atributos Estáticos do Pacote";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Tudo";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Grafo de chamadas desta função:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3 - Based on the Brazilian Portuguese Translation
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Resultado da Busca";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Nenhum documento foi encontrado.";
}
else if (numDocuments==1)
{
return "Apenas <b>1</b> documento foi encontrado.";
}
else
{
return "<b>$num</b> documentos encontrados. "
"Os melhores resultados vem primeiro.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Resultados:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Código-Fonte de " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Hierarquia de Diretórios"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Documentação do Diretório"; }
/*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Diretórios"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{
QCString result = "Referência do diretório ";
result += dirName;
return result;
}
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "diretório", "s");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Este é um método provido por conveniência. "
"Ele difere do método acima apenas na lista de "
"argumentos que devem ser utilizados.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Este é o diagrama das funções que utilizam esta função:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Documentação da enumeração"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Documentação de Função Membro/Subrotina"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Lista de Tipos de Dados"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Campos de Dados"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Aqui estão os tipos de dados com descrições resumidas:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Esta é a lista de todos os membros ";
if (!extractAll) result+="documentados ";
result+="dos tipos de dados com links para ";
if (extractAll)
{
result+="a documentação dos tipos de dados para cada membro:";
}
else
{
result+="os tipos de dados a que pertencem:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Índice de Tipos de Dados"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Documentação dos Tipos de Dados"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Funções/Subrotinas"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Documentação da Função/Subrotina"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Tipos de Dados"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Lista de Módulos"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os módulos ";
if (!extractAll) result+="documentados ";
result+="com descrições resumidas:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result = "Referência ";
if (isTemplate) result+="da Template ";
switch(compType)
{
case ClassDef::Class: result+="do Modulo "; break;
case ClassDef::Struct: result+="do Tipo "; break;
case ClassDef::Union: result+="da União "; break;
case ClassDef::Interface: result+="da Interface "; break;
case ClassDef::Protocol: result+="do Protocolo "; break;
case ClassDef::Category: result+="da Categoria "; break;
case ClassDef::Exception: result+="da Exceção "; break;
default: break;
}
result += clName;
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result = "Referência do Módulo ";
result += namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Membros do Módulo"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os membros ";
if (!extractAll) result+="documentados ";
result+="dos módulos com links para ";
if (extractAll)
{
result+="a documentação dos módulos para cada membro:";
}
else
{
result+="os módulos a que pertencem:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Índice dos Módulos"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "modulo", "s");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="A documentação para ";
switch(compType)
{
case ClassDef::Class: result+="este modulo "; break;
case ClassDef::Struct: result+="este tipo "; break;
case ClassDef::Union: result+="esta união "; break;
case ClassDef::Interface: result+="esta interface "; break;
case ClassDef::Protocol: result+="esto protocolo "; break;
case ClassDef::Category: result+="esta categoria "; break;
case ClassDef::Exception: result+="esta exceção "; break;
default: break;
}
result+=" foi gerada a partir do";
if (single)
result+=" seguinte ficheiro:";
else
result+="s seguintes ficheiros:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "tipo", "s");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "subprograma", "s");
}
/*! C# Type Contraint list */
QCString trTypeConstraints() override
{
return "Restrições do Tipo";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.0 (mainly for the new search engine)
//////////////////////////////////////////////////////////////////////////
/*! directory relation for \a name
*/
QCString trDirRelation(const QCString &name) override
{
return "Relação " + QCString(name);
}
/*! Loading message shown when loading search results */
QCString trLoading() override
{
return "Carregando...";
}
/*! Label used for search results in the global namespace */
QCString trGlobalNamespace() override
{
return "Namespace global";
}
/*! Message shown while searching */
QCString trSearching() override
{
return "Procurando...";
}
/*! Text shown when no search results are found */
QCString trNoMatches() override
{
return "Nenhuma entrada encontrada";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
*/
QCString trFileIn(const QCString &name) override
{
return "Ficheiro em "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the second column mentions the
* destination file that is included.
*/
QCString trIncludesFileIn(const QCString &name) override
{
return "Inclui ficheiro em "+name;
}
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
* @param dayOfWeek Day of the week: 1=Monday..7=Sunday
* @param hour Hour of the day: 0..23
* @param minutes Minutes in the hour: 0..59
* @param seconds Seconds within the minute: 0..59
* @param includeTime Include time in the result string?
*/
QCString trDateTime(int year,int month,int day,int dayOfWeek,
int hour,int minutes,int seconds,
DateTimeType includeTime) override
{
static const char *days[] = { "Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo" };
static const char *months[] = { "Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" };
QCString sdate;
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
{
sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
}
if (includeTime == DateTimeType::DateTime) sdate += " ";
if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
{
QCString stime;
stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
sdate+=stime;
}
return sdate;
}
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
{
static const char *days_short[] = { "seg", "ter", "qua", "qui", "sex", "sáb", "dom" };
static const char *days_full[] = { "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado", "domingo" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trMonth(int month, bool first_capital, bool full) override
{
static const char *months_short[] = { "jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez" };
static const char *months_full[] = { "janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro" };
QCString text = full? months_full[month-1] : months_short[month-1];
if (first_capital) return text.mid(0,1).upper()+text.mid(1);
else return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "AM", "PM" };
return dayPeriod[period?1:0];
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
/*! Header for the page with bibliographic citations */
QCString trCiteReferences() override
{ return "Referências Bibliográficas"; }
/*! Text for copyright paragraph */
QCString trCopyright() override
{
// Note: I will left it as is because "Direitos de autor" may not fit
// in the text.
return "Copyright";
}
/*! Header for the graph showing the directory dependencies */
QCString trDirDepGraph(const QCString &name) override
{ return QCString("Grafo de dependências do diretório ")+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
QCString trDetailLevel() override
{ return "nível de detalhes"; }
/*! Section header for list of template parameters */
QCString trTemplateParameters() override
{ return "Parâmetros de template"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
QCString trAndMore(const QCString &number) override
{ return "e "+number+" mais..."; }
/*! Used file list for a Java enum */
QCString trEnumGeneratedFromFiles(bool single) override
{ QCString result = "A documentação para esta enumeração foi gerada a partir";
if (single) {
result += "do seguinte ficheiro:";
} else {
result += "dos seguintes ficheiros:";
}
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
QCString trEnumReference(const QCString &name) override
{
QCString result = "Referência da enumeração ";
return result + name;
}
/*! Used for a section containing inherited members */
QCString trInheritedFrom(const QCString &members,const QCString &what) override
{ return QCString(members)+" herdados de "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
QCString trAdditionalInheritedMembers() override
{ return "Outros membros herdados"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
QCString trPanelSynchronisationTooltip(bool enable) override
{
QCString opt = enable ? "ativar" : "desativar";
return "clique para "+opt+" a sincronização do painel";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
QCString trProvidedByCategory() override
{
return "Provido pela categoria @0.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
QCString trExtendsClass() override
{
return "estende a classe @0.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
QCString trClassMethods() override
{
return "Métodos de classe";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
QCString trInstanceMethods() override
{
return "Métodos de instância";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
QCString trMethodDocumentation() override
{
return "Documentação do método";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
QCString trInterfaces() override
{ return "Interfaces Exportadas"; }
/** old style UNO IDL services: inherited services */
QCString trServices() override
{ return "Serviços Incluídos"; }
/** UNO IDL constant groups */
QCString trConstantGroups() override
{ return "Grupos de Constantes"; }
/** UNO IDL constant groups */
QCString trConstantGroupReference(const QCString &namespaceName) override
{
QCString result = "Referência do grupo de constantes ";
result += namespaceName;
return result;
}
/** UNO IDL service page title */
QCString trServiceReference(const QCString &sName) override
{
QCString result = "Referência do serviço ";
result += sName;
return result;
}
/** UNO IDL singleton page title */
QCString trSingletonReference(const QCString &sName) override
{
QCString result = "Referência do Singleton ";
result += sName;
return result;
}
/** UNO IDL service page */
QCString trServiceGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="A documentação para este serviço "
"foi gerada a partir ";
if (single) {
result+="do seguinte ficheiro:";
} else {
result+="dos: seguintes ficheiros:";
}
return result;
}
/** UNO IDL singleton page */
QCString trSingletonGeneratedFromFiles(bool single) override
{
// single is true implies a single file
QCString result="A documentação para este singleton "
"foi gerada a partir ";
if (single) {
result+="do seguinte ficheiro:";
} else {
result+="dos: seguintes ficheiros:";
}
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.15
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit hierarchy */
QCString trDesignUnitHierarchy() override
{ return "Hierarquia da Unidade de Design"; }
/** VHDL design unit list */
QCString trDesignUnitList() override
{ return "Lista de Unidades de Design"; }
/** VHDL design unit members */
QCString trDesignUnitMembers() override
{ return "Membros da Unidade de Design"; }
/** VHDL design unit list description */
QCString trDesignUnitListDescription() override
{
return "Esta é uma lista de todos os membros de unidades de design "
"com ligações para as entidades às quais pertencem:";
}
/** VHDL design unit index */
QCString trDesignUnitIndex() override
{ return "Índice de Unidades de Design"; }
/** VHDL design units */
QCString trDesignUnits() override
{ return "Unidades de Design"; }
/** VHDL functions/procedures/processes */
QCString trFunctionAndProc() override
{ return "Funções/Procedimentos/Processos"; }
/** VHDL type */
QCString trVhdlType(VhdlSpecifier type,bool single) override
{
switch(type)
{
case VhdlSpecifier::LIBRARY:
if (single) return "Biblioteca";
else return "Bibliotecas";
case VhdlSpecifier::PACKAGE:
if (single) return "Pacote";
else return "Pacotes";
case VhdlSpecifier::SIGNAL:
if (single) return "Sinal";
else return "Sinais";
case VhdlSpecifier::COMPONENT:
if (single) return "Componente";
else return "Componentes";
case VhdlSpecifier::CONSTANT:
if (single) return "Constante";
else return "Constantes";
case VhdlSpecifier::ENTITY:
if (single) return "Entidade";
else return "Entidades";
case VhdlSpecifier::TYPE:
if (single) return "Tipo";
else return "Tipos";
case VhdlSpecifier::SUBTYPE:
if (single) return "Subtipo";
else return "Subtipos";
case VhdlSpecifier::FUNCTION:
if (single) return "Função";
else return "Funções";
case VhdlSpecifier::RECORD:
if (single) return "Registro";
else return "Registros";
case VhdlSpecifier::PROCEDURE:
if (single) return "Procedimento";
else return "Procedimentos";
case VhdlSpecifier::ARCHITECTURE:
if (single) return "Arquitetura";
else return "Arquiteturas";
case VhdlSpecifier::ATTRIBUTE:
if (single) return "Atributo";
else return "Atributos";
case VhdlSpecifier::PROCESS:
if (single) return "Processo";
else return "Processos";
case VhdlSpecifier::PORT:
if (single) return "Porta";
else return "Portas";
case VhdlSpecifier::USE:
if (single) return "cláusula de uso";
else return "cláusulas de uso";
case VhdlSpecifier::GENERIC:
if (single) return "Generico";
else return "Genericos";
case VhdlSpecifier::PACKAGE_BODY:
return "Corpo do Pacote";
case VhdlSpecifier::UNITS:
return "Unidades";
case VhdlSpecifier::SHAREDVARIABLE:
if (single) return "Variável Compartilhada";
else return "Variáveis Compartilhadas";
case VhdlSpecifier::VFILE:
if (single) return "Ficheiro";
else return "Ficheiros";
case VhdlSpecifier::GROUP:
if (single) return "Grupo";
else return "Grupos";
case VhdlSpecifier::INSTANTIATION:
if (single) return "Instância";
else return "Instâncias";
case VhdlSpecifier::ALIAS:
if (single) return "Apelido";
else return "Apelidos";
case VhdlSpecifier::CONFIG:
if (single) return "Configuração";
else return "Configurações";
case VhdlSpecifier::MISCELLANEOUS:
return "Outros"; // Is this correct for VHDL?
case VhdlSpecifier::UCF_CONST:
return "Restrições";
default:
return "Classe";
}
}
QCString trCustomReference(const QCString &name) override
{ return "Referência de " + QCString(name); }
/* Slice */
QCString trConstants() override
{
return "Constantes";
}
QCString trConstantDocumentation() override
{
return "Constantes";
}
QCString trSequences() override
{
return "Sequências";
}
QCString trSequenceDocumentation() override
{
return "Sequências";
}
QCString trDictionaries() override
{
return "Dicionários";
}
QCString trDictionaryDocumentation() override
{
return "Dicionários";
}
QCString trSliceInterfaces() override
{
return "Interfaces";
}
QCString trInterfaceIndex() override
{
return "Índice de Interfaces";
}
QCString trInterfaceList() override
{
return "Lista de Interfaces";
}
QCString trInterfaceListDescription() override
{
return "Estas são as interfaces com suas respectivas descrições:";
}
QCString trInterfaceHierarchy() override
{
return "Hierarquia de Interfaces";
}
QCString trInterfaceHierarchyDescription() override
{
return "Esta é a lista parcialmente ordenadas de heranças:";
}
QCString trInterfaceDocumentation() override
{
return "Interfaces";
}
QCString trStructs() override
{
return "Estruturas";
}
QCString trStructIndex() override
{
return "Índice de Estruturas";
}
QCString trStructList() override
{
return "Lista de Estruturas";
}
QCString trStructListDescription() override
{
return "Estas são as estruturas com suas respectivas descrições:";
}
QCString trStructDocumentation() override
{
return "Estruturas";
}
QCString trExceptionIndex() override
{
return "Índice the Exceções";
}
QCString trExceptionList() override
{
return "Lista de Exceções";
}
QCString trExceptionListDescription() override
{
return "Estas são as exceções com suas respectivas descrições:";
}
QCString trExceptionHierarchy() override
{
return "Hierarquia de Exceções";
}
QCString trExceptionHierarchyDescription() override
{
return "Esta é a lista parcialmente ordenadas de heranças:";
}
QCString trExceptionDocumentation() override
{
return "Exceções";
}
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
{
QCString result="Referência ";
switch(compType)
{
case ClassDef::Class: result+="da Classe "; break;
case ClassDef::Struct: result+="da Estrutura "; break;
case ClassDef::Union: result+="da União "; break;
case ClassDef::Interface: result+="da Interface "; break;
case ClassDef::Protocol: result+="do Protocolo "; break;
case ClassDef::Category: result+="da Categoria "; break;
case ClassDef::Exception: result+="da Exceção "; break;
default: break;
}
if (isLocal) result+="Local ";
result+= clName;
return result;
}
QCString trOperations() override
{
return "Operações";
}
QCString trOperationDocumentation() override
{
return "Operações";
}
QCString trDataMembers() override
{
return "Dados Membros";
}
QCString trDataMemberDocumentation() override
{
return "Dados Membros";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.19
//////////////////////////////////////////////////////////////////////////
/** VHDL design unit documentation */
QCString trDesignUnitDocumentation() override
{
return "Documentação da Unidade de Projeto";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.2
//////////////////////////////////////////////////////////////////////////
/** C++20 concept */
QCString trConcept(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "conceito", "s");
}
/*! used as the title of the HTML page of a C++20 concept page */
QCString trConceptReference(const QCString &conceptName) override
{
QCString result= "Referência do Conceito ";
result+=conceptName;
return result;
}
/*! used as the title of page containing all the index of all concepts. */
QCString trConceptList() override
{ return "Lista de Conceitos"; }
/*! used as the title of chapter containing the index listing all concepts. */
QCString trConceptIndex() override
{ return "Índice de Conceitos"; }
/*! used as the title of chapter containing all information about concepts. */
QCString trConceptDocumentation() override
{ return "Documentação do Conceito"; }
/*! used as an introduction to the concept list */
QCString trConceptListDescription(bool extractAll) override
{
QCString result="Esta é a lista de todos os conceitos ";
if (!extractAll) result+="documentados ";
result+="com suas respectivas descrições:";
return result;
}
/*! used to introduce the definition of the C++20 concept */
QCString trConceptDefinition() override
{
return "Definição de conceito";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.4
//////////////////////////////////////////////////////////////////////////
QCString trPackageList() override
{ return "Lista de pacotes"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.9.6
//////////////////////////////////////////////////////////////////////////
/*! This is used for translation of the word that will be
* followed by a single name of the VHDL process flowchart.
*/
QCString trFlowchart() override
{
return "Fluxograma:";
}
/*! Please translate also updated body of the method
* trMemberFunctionDocumentation(), now better adapted for
* VHDL sources documentation.
*/
//////////////////////////////////////////////////////////////////////////
// new since 1.9.7
//////////////////////////////////////////////////////////////////////////
/*! used in the compound documentation before a list of related symbols.
*
* Supersedes trRelatedFunctions
*/
QCString trRelatedSymbols() override
{ return "Símbolos relacionados"; }
/*! subscript for the related symbols
*
* Supersedes trRelatedSubscript
*/
QCString trRelatedSymbolsSubscript() override
{ return "(Note que estes não são símbolos membros.)"; }
/*! used in the class documentation as a header before the list of all
* related classes.
*
* Supersedes trRelatedFunctionDocumentation
*/
QCString trRelatedSymbolDocumentation() override
{ return "Documentação dos símbolos amigos e relacionados"; }
/*! the compound type as used for the xrefitems */
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
{
QCString result;
switch(compType)
{
case ClassDef::Class:
if (lang == SrcLangExt::Fortran) trType(true,true);
else result=trClass(true,true);
break;
case ClassDef::Struct: result="Estrutura"; break;
case ClassDef::Union: result="União"; break;
case ClassDef::Interface: result="Interface"; break;
case ClassDef::Protocol: result="Protocolo"; break;
case ClassDef::Category: result="Categoria"; break;
case ClassDef::Exception: result="Exceção"; break;
case ClassDef::Service: result="Serviço"; break;
case ClassDef::Singleton: result="Singleton"; break;
default: break;
}
return result;
}
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isFileMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
switch (hl)
{
case FileMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="funções, variáveis, definições, enumerações e definições de tipos";
}
else
{
result+="membros do ficheiro";
}
break;
case FileMemberHighlight::Functions:
result+="funções";
break;
case FileMemberHighlight::Variables:
result+="variáveis";
break;
case FileMemberHighlight::Typedefs:
result+="definições de tipos";
break;
case FileMemberHighlight::Sequences:
result+="sequencias";
break;
case FileMemberHighlight::Dictionaries:
result+="dicionários";
break;
case FileMemberHighlight::Enums:
result+="enumerações";
break;
case FileMemberHighlight::EnumValues:
result+="valores da enumeração";
break;
case FileMemberHighlight::Defines:
result+="definições/macros";
break;
case FileMemberHighlight::Total: // for completeness
break;
}
if (!extractAll)
{
result+= masculine? " documentados": " documentadas";
}
result+=" com links para ";
if (extractAll)
result+="os ficheiros aos quais pertencem:";
else
result+="a documentação:";
return result;
}
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isClassMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
switch (hl)
{
case ClassMemberHighlight::All:
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="estruturas e uniões";
}
else
{
result+="membros de classe";
}
break;
case ClassMemberHighlight::Functions:
result+="funções";
break;
case ClassMemberHighlight::Variables:
result+="variáveis";
break;
case ClassMemberHighlight::Typedefs:
result+="definições de tipo";
break;
case ClassMemberHighlight::Enums:
result+="enumerações";
break;
case ClassMemberHighlight::EnumValues:
result+="valores enumerados";
break;
case ClassMemberHighlight::Properties:
result+="propriedades";
break;
case ClassMemberHighlight::Events:
result+="eventos";
break;
case ClassMemberHighlight::Related:
result+="símbolos relacionados";
break;
case ClassMemberHighlight::Total: // for completeness
break;
}
if (!extractAll)
{
result+= masculine?" documentados":" documentadas";
}
result+=" com links para ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a documentação da estrutura/união para cada campo:";
}
else
{
result+="a documentação da classe para cada membro:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="a estrutura/união a que petencem:";
}
else
{
result+="a classe a que pertencem:";
}
}
return result;
}
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isNamespaceMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case NamespaceMemberHighlight::All:
singularResult="membros";
break;
case NamespaceMemberHighlight::Functions:
singularResult="função";
pluralResult="funções";
break;
case NamespaceMemberHighlight::Variables:
singularResult="variável";
pluralResult="variáveis";
break;
case NamespaceMemberHighlight::Typedefs:
singularResult="definição de tipo";
pluralResult="definições de tipo";
break;
case NamespaceMemberHighlight::Sequences:
singularResult="sequencia";
pluralResult="sequencias";
break;
case NamespaceMemberHighlight::Dictionaries:
singularResult="dicionário";
break;
case NamespaceMemberHighlight::Enums:
singularResult="enumeração";
pluralResult="enumerações";
break;
case NamespaceMemberHighlight::EnumValues:
singularResult="valor enumerado";
pluralResult="valores enumerados";
break;
case NamespaceMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+=" do namespace ";
if (!extractAll) result+="documentado ";
result+=" com links para ";
if (extractAll)
result+="a documentação de cada " + singularResult + ":";
else
result+="o namespace a que pertencem:";
return result;
}
QCString trDefinition() override { return "Definição";}
QCString trDeclaration() override { return "Declaração";}
//////////////////////////////////////////////////////////////////////////
// new since 1.9.8
//////////////////////////////////////////////////////////////////////////
QCString trTopics() override
{ return "Tópicos"; }
QCString trTopicDocumentation() override
{ return "Tópico"; }
QCString trTopicList() override
{ return "Lista de Tópicos"; }
QCString trTopicIndex() override
{ return "Índice de Tópicos"; }
QCString trTopicListDescription() override
{ return "Esta é uma lista de todos os tópicos e suas descrições:"; }
QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
{
bool extractAll = Config_getBool(EXTRACT_ALL);
bool masculine = PortugueseTranslatorUtils::isModuleMemberHighlightMasculine(hl);
QCString result="Esta é a list de ";
result+= (masculine?"todos os ":"todas as ");
QCString singularResult = "";
QCString pluralResult = "";
switch (hl)
{
case ModuleMemberHighlight::All:
singularResult="membro";
break;
case ModuleMemberHighlight::Functions:
singularResult="função";
pluralResult="funções";
break;
case ModuleMemberHighlight::Variables:
singularResult="variável";
pluralResult="variáveis";
break;
case ModuleMemberHighlight::Typedefs:
singularResult="definição de tipo";
pluralResult="definições de tipo";
break;
case ModuleMemberHighlight::Enums:
singularResult="enumeração";
pluralResult="enumerações";
break;
case ModuleMemberHighlight::EnumValues:
singularResult="valor enumerado";
pluralResult="valores enumerados";
break;
case ModuleMemberHighlight::Total: // for completeness
break;
}
result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
result+="do módulo ";
if (!extractAll) result+="documentado ";
result+=" com links para ";
if (extractAll)
result+="a documentação de cada " + singularResult + ":";
else
result+="o módulo a que pertencem:";
return result;
}
QCString trExportedModules() override
{
return "Módulos Exportados";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.10.0
//////////////////////////////////////////////////////////////////////////
QCString trCopyToClipboard() override
{
return "Copiado para a área de transferência";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.11.0
//////////////////////////////////////////////////////////////////////////
QCString trImportant() override
{
return "Importante";
}
};
#endif
| 91,053
|
C++
|
.h
| 2,438
| 30.835521
| 170
| 0.591098
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,737
|
example.h
|
doxygen_doxygen/src/example.h
|
/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef EXAMPLE_H
#define EXAMPLE_H
#include <algorithm>
#include <vector>
#include "qcstring.h"
class ClassDef;
class MemberName;
/** Data associated with an example. */
struct Example
{
Example(const QCString &a,const QCString &n,const QCString &f) : anchor(a), name(n), file(f) {}
QCString anchor;
QCString name;
QCString file;
};
class ExampleList : public std::vector<Example>
{
public:
bool inSort( const Example& ex )
{
auto it = std::find_if(begin(),end(),[&ex](const Example &e) { return e.name==ex.name; });
if (it==end())
{
insert( std::upper_bound( begin(), end(), ex,
[](const auto &e1,const auto &e2) { return e1.name < e2.name; }
), ex
);
return true;
}
return false;
}
};
#endif
| 1,473
|
C++
|
.h
| 47
| 27.468085
| 97
| 0.639887
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,738
|
docvisitor.h
|
doxygen_doxygen/src/docvisitor.h
|
/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOCVISITOR_H
#define DOCVISITOR_H
#include <memory>
#include "qcstring.h"
#include "construct.h"
class CodeParserInterface;
/*! @brief Helper base class for functionality shared by all visitors
*/
class DocVisitor
{
struct Private;
std::unique_ptr<Private> m_p;
public:
DocVisitor();
virtual ~DocVisitor();
NON_COPYABLE(DocVisitor)
CodeParserInterface &getCodeParser(const QCString &langExt);
void pushHidden(bool hide);
bool popHidden();
};
#endif
| 1,156
|
C++
|
.h
| 35
| 30.428571
| 79
| 0.709793
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,739
|
memberlist.h
|
doxygen_doxygen/src/memberlist.h
|
/******************************************************************************
*
* Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef MEMBERLIST_H
#define MEMBERLIST_H
#include <vector>
#include <algorithm>
#include "memberdef.h"
#include "linkedmap.h"
#include "types.h"
#include "membergroup.h"
#include "construct.h"
class GroupDef;
int genericCompareMembers(const MemberDef *c1,const MemberDef *c2);
/** A vector of MemberDef object */
class MemberVector
{
public:
using T = MemberDef*;
using Vec = std::vector<T>;
using value_type = Vec::value_type;
using allocator_type = Vec::allocator_type;
using size_type = Vec::size_type;
using difference_type = Vec::difference_type;
using reference = Vec::reference;
using const_reference = Vec::const_reference;
using iterator = Vec::iterator;
using const_iterator = Vec::const_iterator;
void push_back( const T& value ) { m_members.push_back(value); }
void push_back( T&& value ) { m_members.push_back(std::move(value)); }
iterator erase( iterator pos ) { return m_members.erase(pos); }
iterator erase( const_iterator pos ) { return m_members.erase(pos); }
iterator begin() noexcept { return m_members.begin(); }
const_iterator begin() const noexcept { return m_members.begin(); }
iterator end() noexcept { return m_members.end(); }
const_iterator end() const noexcept { return m_members.end(); }
size_type size() const noexcept { return m_members.size(); }
bool empty() const noexcept { return m_members.empty(); }
reference front() { return m_members.front(); }
const_reference front() const { return m_members.front(); }
reference back() { return m_members.back(); }
const_reference back() const { return m_members.back(); }
reference operator[]( size_type pos ) { return m_members.operator[](pos); }
const_reference operator[]( size_type pos ) const { return m_members.operator[](pos); }
static bool lessThan(const MemberDef *md1,const MemberDef *md2)
{
return genericCompareMembers(md1,md2)<0;
}
void sort()
{
std::stable_sort(m_members.begin(),m_members.end(),lessThan);
}
void inSort(MemberDef *md)
{
m_members.insert( std::upper_bound( m_members.begin(), m_members.end(), md, lessThan), md);
}
void remove(const MemberDef *md)
{
auto it = std::find(m_members.begin(),m_members.end(),md);
if (it!=m_members.end()) erase(it);
}
bool contains(const MemberDef *md) const
{
return std::find(m_members.begin(),m_members.end(),md)!=m_members.end();
}
MemberDef *find(const QCString &name)
{
auto it = std::find_if(m_members.begin(),m_members.end(),[name=name](auto &el) { return el->name()==name; });
if (it != m_members.end())
{
return *it;
}
return nullptr;
}
protected:
Vec m_members;
};
/** A list of MemberDef objects as shown in documentation sections. */
class MemberList : public MemberVector
{
public:
MemberList(MemberListType lt,MemberListContainer container);
~MemberList();
NON_COPYABLE(MemberList)
MemberListType listType() const { return m_listType; }
MemberListContainer container() const { return m_container; }
int numDecMembers() const { ASSERT(m_numDecMembers!=-1); return m_numDecMembers; }
int numDecEnumValues() const { return m_numDecEnumValues; }
int numDocMembers() const { ASSERT(m_numDocMembers!=-1); return m_numDocMembers; }
int numDocEnumValues() const { return m_numDocEnumValues; }
bool needsSorting() const { return m_needsSorting; }
void countDecMembers();
void countDocMembers();
int countInheritableMembers(const ClassDef *inheritedFrom) const;
void writePlainDeclarations(OutputList &ol,bool inGroup,
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd, const GroupDef *gd,const ModuleDef *mod,
int indentLevel,const ClassDef *inheritedFrom,const QCString &inheritId) const;
void writeDeclarations(OutputList &ol,
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod,
const QCString &title,const QCString &subtitle,
bool showEnumValues=FALSE,bool showInline=FALSE,
const ClassDef *inheritedFrom=nullptr,MemberListType lt=MemberListType::PubMethods(),bool showSectionTitle=true) const;
void writeDocumentation(OutputList &ol,const QCString &scopeName,
const Definition *container,const QCString &title,
bool showEnumValues=FALSE,bool showInline=FALSE) const;
void writeSimpleDocumentation(OutputList &ol,const Definition *container) const;
void writeDocumentationPage(OutputList &ol,
const QCString &scopeName, const DefinitionMutable *container, int hierarchyLevel=0) const;
void writeTagFile(TextStream &,bool useQualifiedName=false,bool showNamespaceMembers=true);
bool declVisible() const;
void addMemberGroup(MemberGroup *mg);
void addListReferences(Definition *def);
void findSectionsInDocumentation(const Definition *d);
void setNeedsSorting(bool b);
const MemberGroupRefList &getMemberGroupList() const { return m_memberGroupRefList; }
void setAnonymousEnumType();
void setAnchors();
private:
int countEnumValues(const MemberDef *md) const;
int m_numDecMembers; // number of members in the brief part of the memberlist
int m_numDecEnumValues;
int m_numDocMembers; // number of members in the detailed part of the memberlist
int m_numDocEnumValues;
MemberGroupRefList m_memberGroupRefList;
MemberListContainer m_container;
MemberListType m_listType;
bool m_needsSorting;
};
class MemberLinkedRefMap : public LinkedRefMap<const MemberDef>
{
};
class MemberLists : public std::vector< std::unique_ptr<MemberList> >
{
public:
MemberLists() = default;
~MemberLists() = default;
const std::unique_ptr<MemberList> &get(MemberListType lt,MemberListContainer con)
{
// find the list with the given type
auto it = std::find_if(begin(),end(),[<](const auto &ml) { return ml->listType()==lt; });
if (it!=end()) return *it;
// or create a new list if it is not found
emplace_back(std::make_unique<MemberList>(lt,con));
return back();
}
private:
ONLY_DEFAULT_MOVABLE(MemberLists)
};
#endif
| 7,227
|
C++
|
.h
| 160
| 39.98125
| 134
| 0.676132
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,740
|
memberdef.h
|
doxygen_doxygen/src/memberdef.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef MEMBERDEF_H
#define MEMBERDEF_H
#include <vector>
#include <memory>
#include <optional>
#include <sys/types.h>
#include "types.h"
#include "definition.h"
#include "arguments.h"
#include "classdef.h"
class NamespaceDef;
class GroupDef;
class FileDef;
class MemberList;
class MemberGroup;
class ExampleList;
class OutputList;
class GroupDef;
struct TagInfo;
class MemberDefMutable;
class MemberGroupList;
class MemberVector;
class ModuleDef;
/** A model of a class/file/namespace member symbol. */
class MemberDef : public Definition
{
public:
ABSTRACT_BASE_CLASS(MemberDef)
// move this member into a different scope
virtual std::unique_ptr<MemberDef> deepCopy() const =0;
virtual void moveTo(Definition *) = 0;
virtual MemberDef *resolveAlias() = 0;
virtual const MemberDef *resolveAlias() const = 0;
//-----------------------------------------------------------------------------------
// ---- getters -----
//-----------------------------------------------------------------------------------
virtual QCString declaration() const = 0;
virtual QCString definition() const = 0;
virtual QCString typeString() const = 0;
virtual QCString argsString() const = 0;
virtual QCString excpString() const = 0;
virtual QCString bitfieldString() const = 0;
virtual QCString extraTypeChars() const = 0;
virtual const QCString &initializer() const = 0;
virtual int initializerLines() const = 0;
virtual TypeSpecifier getMemberSpecifiers() const = 0;
virtual VhdlSpecifier getVhdlSpecifiers() const = 0;
virtual const MemberList *getSectionList(const Definition *container) const = 0;
virtual QCString displayDefinition() const = 0;
// scope query members
virtual const FileDef * getFileDef() const = 0;
virtual FileDef * getFileDef() = 0;
virtual const ClassDef * getClassDef() const = 0;
virtual ClassDef * getClassDef() = 0;
virtual const NamespaceDef* getNamespaceDef() const = 0;
virtual NamespaceDef* getNamespaceDef() = 0;
virtual const ModuleDef* getModuleDef() const = 0;
virtual const ClassDef *accessorClass() const = 0;
// grabbing the property read/write accessor names
virtual QCString getReadAccessor() const = 0;
virtual QCString getWriteAccessor() const = 0;
// querying the grouping definition
virtual GroupDef *getGroupDef() = 0;
virtual const GroupDef *getGroupDef() const = 0;
virtual Grouping::GroupPri_t getGroupPri() const = 0;
virtual QCString getGroupFileName() const = 0;
virtual int getGroupStartLine() const = 0;
virtual bool getGroupHasDocs() const = 0;
virtual QCString objCMethodName(bool localLink,bool showStatic) const = 0;
// direct kind info
virtual Protection protection() const = 0;
virtual Specifier virtualness(int count=0) const = 0;
virtual MemberType memberType() const = 0;
virtual QCString memberTypeName() const = 0;
// getter methods
virtual bool isSignal() const = 0;
virtual bool isSlot() const = 0;
virtual bool isVariable() const = 0;
virtual bool isEnumerate() const = 0;
virtual bool isEnumValue() const = 0;
virtual bool isTypedef() const = 0;
virtual bool isSequence() const = 0;
virtual bool isDictionary() const = 0;
virtual bool isFunction() const = 0;
virtual bool isFunctionPtr() const = 0;
virtual bool isDefine() const = 0;
virtual bool isFriend() const = 0;
virtual bool isDCOP() const = 0;
virtual bool isProperty() const = 0;
virtual bool isEvent() const = 0;
virtual bool isRelated() const = 0;
virtual bool isForeign() const = 0;
virtual bool isStatic() const = 0;
virtual bool isInline() const = 0;
virtual bool isExplicit() const = 0;
virtual bool isMutable() const = 0;
virtual bool isGettable() const = 0;
virtual bool isPrivateGettable() const = 0;
virtual bool isProtectedGettable() const = 0;
virtual bool isSettable() const = 0;
virtual bool isPrivateSettable() const = 0;
virtual bool isProtectedSettable() const = 0;
virtual bool isReadable() const = 0;
virtual bool isWritable() const = 0;
virtual bool isAddable() const = 0;
virtual bool isRemovable() const = 0;
virtual bool isRaisable() const = 0;
virtual bool isFinal() const = 0;
virtual bool isAbstract() const = 0;
virtual bool isOverride() const = 0;
virtual bool isInitonly() const = 0;
virtual bool isOptional() const = 0;
virtual bool isRequired() const = 0;
virtual bool isNonAtomic() const = 0;
virtual bool isCopy() const = 0;
virtual bool isAssign() const = 0;
virtual bool isRetain() const = 0;
virtual bool isWeak() const = 0;
virtual bool isStrong() const = 0;
virtual bool isEnumStruct() const = 0;
virtual bool isUnretained() const = 0;
virtual bool isNew() const = 0;
virtual bool isSealed() const = 0;
virtual bool isImplementation() const = 0;
virtual bool isExternal() const = 0;
virtual bool isTypeAlias() const = 0;
virtual bool isDefault() const = 0;
virtual bool isDelete() const = 0;
virtual bool isNoExcept() const = 0;
virtual bool isAttribute() const = 0; // UNO IDL attribute
virtual bool isUNOProperty() const = 0; // UNO IDL property
virtual bool isReadonly() const = 0;
virtual bool isBound() const = 0;
virtual bool isConstrained() const = 0;
virtual bool isTransient() const = 0;
virtual bool isMaybeVoid() const = 0;
virtual bool isMaybeDefault() const = 0;
virtual bool isMaybeAmbiguous() const = 0;
virtual bool isPublished() const = 0; // UNO IDL published
virtual bool isTemplateSpecialization() const = 0;
virtual bool isObjCMethod() const = 0;
virtual bool isObjCProperty() const = 0;
virtual bool isCSharpProperty() const = 0;
virtual bool isConstructor() const = 0;
virtual bool isDestructor() const = 0;
virtual bool hasOneLineInitializer() const = 0;
virtual bool hasMultiLineInitializer() const = 0;
virtual bool isCallable() const = 0;
virtual bool isStrongEnumValue() const = 0;
virtual bool livesInsideEnum() const = 0;
virtual bool isSliceLocal() const = 0;
virtual bool isConstExpr() const = 0;
virtual bool isConstEval() const = 0;
virtual bool isConstInit() const = 0;
virtual bool isNoDiscard() const = 0;
virtual int numberOfFlowKeyWords() const = 0;
// derived getters
virtual bool isFriendToHide() const = 0;
virtual bool isNotFriend() const = 0;
virtual bool isFunctionOrSignalSlot() const = 0;
virtual bool isRelatedOrFriend() const = 0;
// output info
virtual bool isDeleted() const = 0;
virtual bool isBriefSectionVisible() const = 0;
virtual bool isDetailedSectionVisible(MemberListContainer container) const = 0;
virtual bool hasDetailedDescription() const = 0;
virtual bool isFriendClass() const = 0;
virtual bool isDocumentedFriendClass() const = 0;
virtual const MemberDef *reimplements() const = 0;
virtual const MemberVector &reimplementedBy() const = 0;
virtual bool isReimplementedBy(const ClassDef *cd) const = 0;
virtual ClassDef *relatedAlso() const = 0;
virtual bool hasDocumentedEnumValues() const = 0;
virtual const MemberDef *getAnonymousEnumType() const = 0;
virtual bool isDocsForDefinition() const = 0;
virtual const MemberDef *getEnumScope() const = 0;
virtual const MemberVector &enumFieldList() const = 0;
virtual QCString enumBaseType() const = 0;
virtual bool hasExamples() const = 0;
virtual const ExampleList &getExamples() const = 0;
virtual bool isPrototype() const = 0;
// argument related members
virtual const ArgumentList &argumentList() const = 0;
virtual const ArgumentList &declArgumentList() const = 0;
virtual const ArgumentList &templateArguments() const = 0;
virtual const ArgumentLists &definitionTemplateParameterLists() const = 0;
virtual std::optional<ArgumentList> formalTemplateArguments() const = 0;
// member group related members
virtual int getMemberGroupId() const = 0;
virtual MemberGroup *getMemberGroup() const = 0;
virtual bool fromAnonymousScope() const = 0;
virtual MemberDef *fromAnonymousMember() const = 0;
// callgraph related members
virtual bool hasCallGraph() const = 0;
virtual bool hasCallerGraph() const = 0;
// referenced related members
virtual bool hasReferencesRelation() const = 0;
virtual bool hasReferencedByRelation() const = 0;
virtual bool hasInlineSource() const = 0;
virtual bool hasEnumValues() const = 0;
virtual QCString sourceRefName() const = 0;
virtual const MemberDef *templateMaster() const = 0;
virtual QCString getScopeString() const = 0;
virtual ClassDef *getClassDefOfAnonymousType() const = 0;
// cached typedef functions
virtual bool isTypedefValCached() const = 0;
virtual const ClassDef *getCachedTypedefVal() const = 0;
virtual QCString getCachedTypedefTemplSpec() const = 0;
virtual QCString getCachedResolvedTypedef() const = 0;
virtual MemberDef *memberDefinition() const = 0;
virtual MemberDef *memberDeclaration() const = 0;
virtual const MemberDef *inheritsDocsFrom() const = 0;
virtual const MemberDef *getGroupAlias() const = 0;
virtual ClassDef *category() const = 0;
virtual const MemberDef *categoryRelation() const = 0;
virtual QCString getDeclType() const = 0;
virtual StringVector getLabels(const Definition *container) const = 0;
virtual StringVector getQualifiers() const = 0;
virtual const ArgumentList &typeConstraints() const = 0;
virtual QCString requiresClause() const = 0;
virtual QCString fieldType() const = 0;
virtual QCString getDeclFileName() const = 0;
virtual int getDeclLine() const = 0;
virtual int getDeclColumn() const = 0;
virtual std::unique_ptr<MemberDef> createTemplateInstanceMember(const ArgumentList &formalArgs,
const std::unique_ptr<ArgumentList> &actualArgs) const = 0;
virtual void writeDeclaration(OutputList &ol,
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *md,
bool inGroup, int indentLevel=0, const ClassDef *inheritFrom=nullptr,const QCString &inheritId=QCString()) const = 0;
virtual void writeEnumDeclaration(OutputList &typeDecl, const ClassDef *cd,
const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *mod) const = 0;
virtual void writeLink(OutputList &ol,
const ClassDef *cd,const NamespaceDef *nd,const FileDef *fd,const GroupDef *gd,const ModuleDef *md,
bool onlyText=FALSE) const = 0;
virtual void detectUndocumentedParams(bool hasParamCommand,bool hasReturnCommand) const = 0;
virtual void warnIfUndocumented() const = 0;
virtual void warnIfUndocumentedParams() const = 0;
virtual bool visibleInIndex() const = 0;
// TODO: this is not a getter, should be passed at construction
virtual void setMemberGroup(MemberGroup *grp) = 0;
};
class MemberDefMutable : public DefinitionMutable, public MemberDef
{
public:
ABSTRACT_BASE_CLASS(MemberDefMutable)
//-----------------------------------------------------------------------------------
// ---- setters -----
//-----------------------------------------------------------------------------------
// set functions
virtual void setMemberType(MemberType t) = 0;
virtual void setDefinition(const QCString &d) = 0;
virtual void setFileDef(FileDef *fd) = 0;
virtual void setAnchor() = 0;
virtual void setProtection(Protection p) = 0;
virtual void setMemberSpecifiers(TypeSpecifier s) = 0;
virtual void setVhdlSpecifiers(VhdlSpecifier s) = 0;
virtual void mergeMemberSpecifiers(TypeSpecifier s) = 0;
virtual void setInitializer(const QCString &i) = 0;
virtual void setBitfields(const QCString &s) = 0;
virtual void setMaxInitLines(int lines) = 0;
virtual void setMemberClass(ClassDef *cd) = 0;
virtual void setSectionList(const Definition *container,const MemberList *sl) = 0;
virtual void setGroupDef(GroupDef *gd,Grouping::GroupPri_t pri,
const QCString &fileName,int startLine,bool hasDocs,
MemberDef *member=nullptr) = 0;
virtual void setReadAccessor(const QCString &r) = 0;
virtual void setWriteAccessor(const QCString &w) = 0;
virtual void setTemplateSpecialization(bool b) = 0;
virtual void makeRelated() = 0;
virtual void makeForeign() = 0;
virtual void setInheritsDocsFrom(const MemberDef *md) = 0;
virtual void setTagInfo(const TagInfo *i) = 0;
virtual void setArgsString(const QCString &as) = 0;
virtual void incrementFlowKeyWordCount() = 0;
virtual void setEnumBaseType(const QCString &type) = 0;
// relation to other members
virtual void setReimplements(MemberDef *md) = 0;
virtual void insertReimplementedBy(MemberDef *md) = 0;
virtual void setRelatedAlso(ClassDef *cd) = 0;
// enumeration specific members
virtual void insertEnumField(MemberDef *md) = 0;
virtual void setEnumScope(MemberDef *md,bool livesInsideEnum=FALSE) = 0;
virtual void setEnumClassScope(ClassDef *cd) = 0;
virtual void setDocumentedEnumValues(bool value) = 0;
virtual void setAnonymousEnumType(const MemberDef *md) = 0;
// example related members
virtual bool addExample(const QCString &anchor,const QCString &name,const QCString &file) = 0;
// prototype related members
virtual void setPrototype(bool p,const QCString &df,int line, int column) = 0;
virtual void setExplicitExternal(bool b,const QCString &df,int line,int column) = 0;
virtual void setDeclFile(const QCString &df,int line,int column) = 0;
// argument related members
virtual void moveArgumentList(std::unique_ptr<ArgumentList> al) = 0;
virtual void moveDeclArgumentList(std::unique_ptr<ArgumentList> al) = 0;
virtual void resolveUnnamedParameters(const MemberDef *md) = 0;
virtual void setDefinitionTemplateParameterLists(const ArgumentLists &lists) = 0;
virtual void setTypeConstraints(const ArgumentList &al) = 0;
virtual void setType(const QCString &t) = 0;
virtual void setAccessorType(ClassDef *cd,const QCString &t) = 0;
// namespace related members
virtual void setNamespace(NamespaceDef *nd) = 0;
// member group related members
virtual void setMemberGroupId(int id) = 0;
virtual void makeImplementationDetail() = 0;
// anonymous scope members
virtual void setFromAnonymousMember(MemberDef *m) = 0;
virtual void overrideCallGraph(bool e) = 0;
virtual void overrideCallerGraph(bool e) = 0;
virtual void overrideReferencedByRelation(bool e) = 0;
virtual void overrideReferencesRelation(bool e) = 0;
virtual void overrideInlineSource(bool e) = 0;
virtual void overrideEnumValues(bool e) = 0;
virtual void setTemplateMaster(MemberDef *mt) = 0;
virtual void setFormalTemplateArguments(const ArgumentList &al) = 0;
virtual void addListReference(Definition *d) = 0;
virtual void setDocsForDefinition(bool b) = 0;
virtual void setGroupAlias(const MemberDef *md) = 0;
virtual void cacheTypedefVal(const ClassDef *val,const QCString &templSpec,const QCString &resolvedType) = 0;
virtual void invalidateTypedefValCache() = 0;
virtual void invalidateCachedArgumentTypes() = 0;
// declaration <-> definition relation
virtual void setMemberDefinition(MemberDef *md) = 0;
virtual void setMemberDeclaration(MemberDef *md) = 0;
virtual void copyArgumentNames(const MemberDef *bmd) = 0;
virtual void setCategory(ClassDef *) = 0;
virtual void setCategoryRelation(const MemberDef *) = 0;
virtual void setRequiresClause(const QCString &req) = 0;
virtual void addQualifiers(const StringVector &qualifiers) = 0;
virtual void setModuleDef(ModuleDef *mod) = 0;
//-----------------------------------------------------------------------------------
// --- actions ----
//-----------------------------------------------------------------------------------
virtual void findSectionsInDocumentation() = 0;
//virtual void addToSearchIndex() const = 0;
virtual ClassDefMutable *getClassDefMutable() = 0;
//-----------------------------------------------------------------------------------
// --- write output ----
//-----------------------------------------------------------------------------------
virtual void writeDocumentation(const MemberList *ml,int memCount,int memTotal,OutputList &ol,
const QCString &scopeName,const Definition *container,
bool inGroup,bool showEnumValues=FALSE,bool
showInline=FALSE) const = 0;
virtual void writeMemberDocSimple(OutputList &ol,const Definition *container) const = 0;
virtual void writeTagFile(TextStream &,bool useQualifiedName,bool showNamespaceMembers) const = 0;
// write helpers
virtual void setFromAnonymousScope(bool b) = 0;
};
// --- Cast functions
MemberDef *toMemberDef(Definition *d);
MemberDef *toMemberDef(DefinitionMutable *d);
const MemberDef *toMemberDef(const Definition *d);
MemberDefMutable *toMemberDefMutable(Definition *d);
//------------------------------------------------------------------------
/** Factory method to create a new instance of a MemberDef */
std::unique_ptr<MemberDef> createMemberDef(const QCString &defFileName,int defLine,int defColumn,
const QCString &type,const QCString &name,const QCString &args,
const QCString &excp,Protection prot,Specifier virt,bool stat,
Relationship related,MemberType t,const ArgumentList &tal,
const ArgumentList &al,const QCString &metaData);
std::unique_ptr<MemberDef> createMemberDefAlias(const Definition *newScope,const MemberDef *aliasMd);
void combineDeclarationAndDefinition(MemberDefMutable *mdec,MemberDefMutable *mdef);
void addDocCrossReference(const MemberDef *src,const MemberDef *dst);
#endif
| 19,033
|
C++
|
.h
| 379
| 45.094987
| 134
| 0.688974
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,741
|
devnullgen.h
|
doxygen_doxygen/src/devnullgen.h
|
/******************************************************************************
*
* Copyright (C) 1997-2023 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef DEVNULLGEN_H
#define DEVNULLGEN_H
#include "outputgen.h"
/** Class implementing OutputCodeIntf by throwing away everything. */
class DevNullCodeGenerator : public OutputCodeIntf
{
public:
OutputType type() const override { return OutputType::Null; }
std::unique_ptr<OutputCodeIntf> clone() override { return std::make_unique<DevNullCodeGenerator>(*this); }
void codify(const QCString &) override {}
void stripCodeComments(bool) override {}
void startSpecialComment() override {}
void endSpecialComment() override {}
void setStripIndentAmount(size_t) override {}
void writeCodeLink(CodeSymbolType,
const QCString &,const QCString &,
const QCString &,const QCString &,
const QCString &) override {}
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &,
const QCString &, const SourceLinkInfo &, const SourceLinkInfo &
) override {}
void writeLineNumber(const QCString &,const QCString &,
const QCString &,int,bool) override {}
void startCodeLine(int) override {}
void endCodeLine() override {}
void startFontClass(const QCString &) override {}
void endFontClass() override {}
void writeCodeAnchor(const QCString &) override {}
void startCodeFragment(const QCString &) override {}
void endCodeFragment(const QCString &) override {}
void startFold(int,const QCString &,const QCString &) override {}
void endFold() override {}
};
#endif // DEVNULLGEN_H
| 2,153
|
C++
|
.h
| 45
| 40.666667
| 110
| 0.657632
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,742
|
layout.h
|
doxygen_doxygen/src/layout.h
|
/******************************************************************************
*
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef LAYOUT_H
#define LAYOUT_H
#include <memory>
#include <vector>
#include "types.h"
#include "construct.h"
class LayoutParser;
struct LayoutNavEntry;
class MemberList;
/** @brief Base class representing a piece of a documentation page */
struct LayoutDocEntry
{
ABSTRACT_BASE_CLASS(LayoutDocEntry)
#define ENTRY_SPECIFICATIONS \
/* Generic items for all pages */ \
ESPEC(MemberGroups) \
ESPEC(MemberDeclStart) ESPEC(MemberDeclEnd) ESPEC(MemberDecl) \
ESPEC(MemberDefStart) ESPEC(MemberDefEnd) ESPEC(MemberDef) \
ESPEC(BriefDesc) ESPEC(DetailedDesc) \
ESPEC(AuthorSection) \
/* Class specific items */ \
ESPEC(ClassIncludes) ESPEC(ClassInlineClasses) \
ESPEC(ClassInheritanceGraph) ESPEC(ClassNestedClasses) \
ESPEC(ClassCollaborationGraph) ESPEC(ClassAllMembersLink) \
ESPEC(ClassUsedFiles) \
/* Concept specific items */ \
ESPEC(ConceptDefinition) \
/* Namespace specific items */ \
ESPEC(NamespaceNestedNamespaces) ESPEC(NamespaceNestedConstantGroups) \
ESPEC(NamespaceClasses) ESPEC(NamespaceConcepts) ESPEC(NamespaceInterfaces) ESPEC(NamespaceStructs) ESPEC(NamespaceExceptions) \
ESPEC(NamespaceInlineClasses) \
/* File specific items */ \
ESPEC(FileClasses) ESPEC(FileConcepts) ESPEC(FileInterfaces) ESPEC(FileStructs) ESPEC(FileExceptions) ESPEC(FileConstantGroups) ESPEC(FileNamespaces) \
ESPEC(FileIncludes) ESPEC(FileIncludeGraph) \
ESPEC(FileIncludedByGraph) ESPEC(FileSourceLink) \
ESPEC(FileInlineClasses) \
/* C++20 Modules */ \
ESPEC(ModuleExports) ESPEC(ModuleClasses) ESPEC(ModuleConcepts) ESPEC(ModuleUsedFiles) \
/* Group specific items */ \
ESPEC(GroupClasses) ESPEC(GroupConcepts) ESPEC(GroupModules) ESPEC(GroupInlineClasses) ESPEC(GroupNamespaces) \
ESPEC(GroupDirs) ESPEC(GroupNestedGroups) ESPEC(GroupFiles) \
ESPEC(GroupGraph) ESPEC(GroupPageDocs) \
/* Directory specific items */ \
ESPEC(DirSubDirs) ESPEC(DirFiles) ESPEC(DirGraph)
enum Kind {
#define ESPEC(x) x,
ENTRY_SPECIFICATIONS
#undef ESPEC
};
virtual Kind kind() const = 0;
std::string entryToString()
{
switch (kind())
{
#define ESPEC(x) case x: return #x; break;
ENTRY_SPECIFICATIONS
#undef ESPEC
default: return "unknown"; // to satisfy compiler
}
}
};
/** @brief Represents of a piece of a documentation page without configurable parts */
struct LayoutDocEntrySimple : LayoutDocEntry
{
public:
LayoutDocEntrySimple(Kind k,bool v) : m_kind(k), m_visible(v) {}
Kind kind() const override { return m_kind; }
bool visible() const { return m_visible; }
private:
Kind m_kind;
bool m_visible;
};
struct LayoutDocEntrySection: public LayoutDocEntrySimple
{
LayoutDocEntrySection(Kind k,const QCString &tl,bool v) :
LayoutDocEntrySimple(k,v), m_title(tl) {}
QCString title(SrcLangExt lang) const;
private:
QCString m_title;
};
/** @brief Represents of a member declaration list with configurable title and subtitle. */
struct LayoutDocEntryMemberDecl: public LayoutDocEntry
{
LayoutDocEntryMemberDecl(MemberListType tp,
const QCString &tl,const QCString &ss)
: type(tp), m_title(tl), m_subscript(ss) {}
Kind kind() const override { return MemberDecl; }
MemberListType type;
QCString title(SrcLangExt lang) const;
QCString subtitle(SrcLangExt lang) const;
private:
QCString m_title;
QCString m_subscript;
};
/** @brief Represents of a member definition list with configurable title. */
struct LayoutDocEntryMemberDef: public LayoutDocEntry
{
LayoutDocEntryMemberDef(MemberListType tp,const QCString &tl)
: type(tp), m_title(tl) {}
Kind kind() const override { return MemberDef; }
MemberListType type;
QCString title(SrcLangExt lang) const;
private:
QCString m_title;
};
using LayoutNavEntryList = std::vector< std::unique_ptr<LayoutNavEntry> >;
/** @brief Base class for the layout of a navigation item at the top of the HTML pages. */
struct LayoutNavEntry
{
#define NAV_SPECIFICATIONS \
NSPEC(None, = -1) \
NSPEC(MainPage,) \
NSPEC(Pages,) \
NSPEC(Modules,) \
NSPEC(ModuleList,) \
NSPEC(ModuleMembers,) \
NSPEC(Topics,) \
NSPEC(Namespaces,) \
NSPEC(NamespaceList,) \
NSPEC(NamespaceMembers,) \
NSPEC(Concepts,) \
NSPEC(Classes,) \
NSPEC(ClassList,) \
NSPEC(ClassIndex,) \
NSPEC(ClassHierarchy,) \
NSPEC(ClassMembers,) \
NSPEC(Interfaces,) \
NSPEC(InterfaceList,) \
NSPEC(InterfaceIndex,) \
NSPEC(InterfaceHierarchy,) \
NSPEC(Structs,) \
NSPEC(StructList,) \
NSPEC(StructIndex,) \
NSPEC(Exceptions,) \
NSPEC(ExceptionList,) \
NSPEC(ExceptionIndex,) \
NSPEC(ExceptionHierarchy,) \
NSPEC(Files,) \
NSPEC(FileList,) \
NSPEC(FileGlobals,) \
NSPEC(Examples,) \
NSPEC(User,) \
NSPEC(UserGroup,)
public:
enum Kind {
#define NSPEC(x,y) x y,
NAV_SPECIFICATIONS
#undef NSPEC
};
std::string navToString()
{
switch (kind())
{
#define NSPEC(x,y) case x: return #x; break;
NAV_SPECIFICATIONS
#undef NSPEC
default: return "unknown"; // to satisfy compiler
}
}
LayoutNavEntry(LayoutNavEntry *parent,Kind k,bool vs,const QCString &bf,
const QCString &tl,const QCString &intro)
: m_parent(parent), m_kind(k), m_visible(vs), m_baseFile(bf), m_title(tl), m_intro(intro) {}
LayoutNavEntry *parent() const { return m_parent; }
Kind kind() const { return m_kind; }
QCString baseFile() const { return m_baseFile; }
QCString title() const { return m_title; }
QCString intro() const { return m_intro; }
QCString url() const;
void setVisible(bool v) { m_visible = v; }
bool visible() { return m_visible; }
void clear() { m_children.clear(); }
void addChild(std::unique_ptr<LayoutNavEntry> &&e)
{ m_children.push_back(std::move(e)); }
void prependChild(std::unique_ptr<LayoutNavEntry> &&e)
{ m_children.insert(m_children.begin(),std::move(e)); }
const LayoutNavEntryList &children() const { return m_children; }
LayoutNavEntry *find(LayoutNavEntry::Kind k,const QCString &file=QCString()) const;
private:
LayoutNavEntry() : m_parent(nullptr), m_kind(None), m_visible(true) {}
LayoutNavEntry *m_parent;
Kind m_kind;
bool m_visible;
QCString m_baseFile;
QCString m_title;
QCString m_intro;
LayoutNavEntryList m_children;
friend class LayoutDocManager;
};
using LayoutDocEntryPtr = std::unique_ptr<LayoutDocEntry>;
using LayoutDocEntryList = std::vector<LayoutDocEntryPtr>;
#define PART_SPECIFICATIONS \
PSPEC(Undefined, = -1) \
PSPEC(Class,) PSPEC(Concept,) PSPEC(Namespace,) PSPEC(File,) PSPEC(Group,) PSPEC(Directory,) PSPEC(Module,) \
PSPEC(NrParts,)
/** @brief Singleton providing access to the (user configurable) layout of the documentation */
class LayoutDocManager
{
class Private;
public:
enum LayoutPart
{
#define PSPEC(x,y) x y,
PART_SPECIFICATIONS
#undef PSPEC
};
/** Returns a reference to this singleton. */
static LayoutDocManager &instance();
static std::string partToString(int k)
{
switch (k)
{
#define PSPEC(x,y) case x: return #x; break;
PART_SPECIFICATIONS
#undef PSPEC
default: return "unknown"; // to satisfy compiler
}
}
/** Returns the list of LayoutDocEntry's in representation order for a given page identified by @a part. */
const LayoutDocEntryList &docEntries(LayoutPart part) const;
/** returns the (invisible) root of the navigation tree. */
LayoutNavEntry *rootNavEntry() const;
LayoutNavEntry *createChildNavEntry(LayoutNavEntry *root,LayoutNavEntry::Kind k,bool vs,const QCString &bf,
const QCString &tl,const QCString &intro);
/** Parses a user provided layout */
void parse(const QCString &fileName, const char* data = nullptr);
void init();
private:
void addEntry(LayoutPart p,LayoutDocEntryPtr &&e);
void clear(LayoutPart p);
LayoutDocManager();
~LayoutDocManager();
NON_COPYABLE(LayoutDocManager)
std::unique_ptr<Private> d;
friend class LayoutParser;
};
void writeDefaultLayoutFile(const QCString &fileName);
#endif
| 9,441
|
C++
|
.h
| 254
| 31.531496
| 165
| 0.671832
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,743
|
defgen.h
|
doxygen_doxygen/src/defgen.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef DEFGEN_H
#define DEFGEN_H
void generateDEF();
#endif
| 581
|
C++
|
.h
| 17
| 32.117647
| 79
| 0.654189
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,744
|
translator_mk.h
|
doxygen_doxygen/src/translator_mk.h
|
/******************************************************************************
*
*
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
// Тranslated by Slave Jovanovski <slavejovanovski@yahoo.com>
//
// The cyrillic strings were entered using Macedonian language support in
// Windows. The editor used was Eclipse 3.2. The file was saved in UTF-8.
//
// Updates:
// --------
// 2007/12/09
// - Initial translation to Macedonian.
//
// 2008/05/22
// - Translation for 1.5.4.
//
//
#ifndef TRANSLATOR_MK_H
#define TRANSLATOR_MK_H
class TranslatorMacedonian : public TranslatorAdapter_1_6_0
{
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp.
*/
QCString idLanguage() override
{ return "macedonian"; }
/*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
* <pre>"\\usepackage{polski}\n"
* "\\usepackage[latin2]{inputenc}\n"
* "\\usepackage[T1]{fontenc}\n"
* </pre>
*
* The English LaTeX does not use such commands. Because of this
* the empty string is returned in this implementation.
*/
QCString latexLanguageSupportCommand() override
{
return "\\usepackage[macedonian]{babel}\n";
}
QCString trISOLang() override
{
return "mk";
}
QCString getLanguageString() override
{
return "0x042f Macedonian (Former Yugoslav Republic of Macedonia)";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
QCString trRelatedFunctions() override
{ return "Поврзани Функции"; }
/*! subscript for the related functions. */
QCString trRelatedSubscript() override
{ return "(Овие функции не се членови.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
QCString trDetailedDescription() override
{ return "Детален опис"; }
/*! header that is used when the summary tag is missing inside the details tag */
QCString trDetails() override
{ return "Детали"; }
/*! header that is put before the list of typedefs. */
QCString trMemberTypedefDocumentation() override
{ return "Документација на членови дефиниции на тип"; }
/*! header that is put before the list of enumerations. */
QCString trMemberEnumerationDocumentation() override
{ return "Документација на набројани членови"; }
/*! header that is put before the list of member functions. */
QCString trMemberFunctionDocumentation() override
{ return "Документација на функции членови"; }
/*! header that is put before the list of member attributes. */
QCString trMemberDataDocumentation() override
{
//if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Документација на членови";
}
}
/*! this is the text of a link put after brief descriptions. */
QCString trMore() override
{ return "Повеќе..."; }
/*! put in the class documentation */
QCString trListOfAllMembers() override
{ return "Список на сите членови"; }
/*! used as the title of the "list of all members" page of a class */
QCString trMemberList() override
{ return "Список на членови"; }
/*! this is the first part of a sentence that is followed by a class name */
QCString trThisIsTheListOfAllMembers() override
{ return "Ова е целосниот список на членови на"; }
/*! this is the remainder of the sentence after the class name */
QCString trIncludingInheritedMembers() override
{ return ", вклучувајќи ги сите наследени членови."; }
/*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name.
*/
QCString trGeneratedAutomatically(const QCString &s) override
{ QCString result="Автоматски создадено од Doxygen";
if (!s.isEmpty()) result+=" за "+s;
result+=" изворниот код.";
return result;
}
/*! put after an enum name in the list of all members */
QCString trEnumName() override
{ return "име на набројан член"; }
/*! put after an enum value in the list of all members */
QCString trEnumValue() override
{ return "вредност на набројан член"; }
/*! put after an undocumented member in the list of all members */
QCString trDefinedIn() override
{ return "дефиниран во"; }
// quick reference sections
/*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command).
*/
QCString trModules() override
{ return "Модули"; }
/*! This is put above each page as a link to the class hierarchy */
QCString trClassHierarchy() override
{ return "Стебло на класи"; }
/*! This is put above each page as a link to the list of annotated classes */
QCString trCompoundList() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Список на Структури";
}
else
{
return "Список на Класи";
}
}
/*! This is put above each page as a link to the list of documented files */
QCString trFileList() override
{ return "Список на Датотеки"; }
/*! This is put above each page as a link to all members of compounds. */
QCString trCompoundMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Членови";
}
else
{
return "Членови на Класата";
}
}
/*! This is put above each page as a link to all members of files. */
QCString trFileMembers() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Глобални Членови";
}
else
{
return "Членови на Датотеката";
}
}
/*! This is put above each page as a link to all related pages. */
QCString trRelatedPages() override
{ return "Страници Поврзани со Оваа"; }
/*! This is put above each page as a link to all examples. */
QCString trExamples() override
{ return "Примери"; }
/*! This is put above each page as a link to the search engine. */
QCString trSearch() override
{ return "Пребарај"; }
/*! This is an introduction to the class hierarchy. */
QCString trClassHierarchyDescription() override
{ return "Овој список на наследување е приближно азбучно подреден:";
}
/*! This is an introduction to the list with all files. */
QCString trFileListDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll) result+="документирани ";
result+="членови со кратки описи:";
return result;
}
/*! This is an introduction to the annotated compound list. */
QCString trCompoundListDescription() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Список на структури со кратки описи:";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
{
return "Список на класи со кратки описи:";
}
else
{
return "Список на класи, структури, унии и интерфејси "
"со кратки описи:";
}
}
/*! This is an introduction to the page with all class members. */
QCString trCompoundMembersDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll)
{
result+="документирани ";
}
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="структури и унии";
}
else
{
result+="членови на класата";
}
result+=" со врски до ";
if (!extractAll)
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="документацијата за секој член на структурата/унијата:";
}
else
{
result+="документацијата на секој член на класата:";
}
}
else
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="структурите/униите на кои што припаѓаат:";
}
else
{
result+="класите на кои што припаѓаат:";
}
}
return result;
}
/*! This is an introduction to the page with all file members. */
QCString trFileMembersDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll) result+="документирани ";
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
result+="функции, променливи, дефиниции, набројувања и дефиниции на тип";
}
else
{
result+="членови на датотеки";
}
result+=" со врски до ";
if (extractAll)
result+="датотеките на кои што припаѓаат:";
else
result+="документацијата:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
QCString trExamplesDescription() override
{ return "Список на сите примери:"; }
/*! This is an introduction to the page with the list of related pages */
QCString trRelatedPagesDescription() override
{ return "Список на сите страници поврзани со оваа и нивна документација:"; }
/*! This is an introduction to the page with the list of class/file groups */
QCString trModulesDescription() override
{ return "Список на сите модули:"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
QCString trDocumentation(const QCString &projName) override
{ return (!projName.isEmpty()?projName + " " : "") + "Документација"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
QCString trModuleIndex() override
{ return "Попис на Модули"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
QCString trHierarchicalIndex() override
{ return "Попис на Стебло"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
QCString trCompoundIndex() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Попис на Структури";
}
else
{
return "Попис на Класи";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
QCString trFileIndex() override
{ return "Попис на Датотеки"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
QCString trModuleDocumentation() override
{ return "Попис на Документација"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
QCString trClassDocumentation() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Документација на Структури";
}
else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
{
return trDesignUnitDocumentation();
}
else
{
return "Документација на Класи";
}
}
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
QCString trFileDocumentation() override
{ return "Документија на Датотеки"; }
/*! This is used in LaTeX as the title of the document */
QCString trReferenceManual() override
{ return "Прирачник"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
QCString trDefines() override
{ return "Дефинирања"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
QCString trTypedefs() override
{ return "Дефиниции на Тип"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
QCString trEnumerations() override
{ return "Набројувања"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
QCString trFunctions() override
{ return "Функции"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trVariables() override
{ return "Променливи"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
QCString trEnumerationValues() override
{ return "Вредности на Набројувањата"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
QCString trDefineDocumentation() override
{ return "Документција на Дефиниции"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
QCString trTypedefDocumentation() override
{ return "Документација на Дефиниции на Тип"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
QCString trEnumerationTypeDocumentation() override
{ return "Документација на Набројувања"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
QCString trFunctionDocumentation() override
{ return "Документација на Функции"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
QCString trVariableDocumentation() override
{ return "Документација на Променливи"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
QCString trCompounds() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Структури";
}
else
{
return "Класи";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
*/
QCString trGeneratedAt(const QCString &date,const QCString &projName) override
{
QCString result="Создадено на "+date;
if (!projName.isEmpty()) result+=" за "+projName;
result+=" од";
return result;
}
/*! this text is put before a class diagram */
QCString trClassDiagram(const QCString &clName) override
{
return "Диаграм на наследување за "+clName+":";
}
/*! this text is generated when the \\warning command is used. */
QCString trWarning() override
{ return "Предупредување"; }
/*! this text is generated when the \\version command is used. */
QCString trVersion() override
{ return "Верзија"; }
/*! this text is generated when the \\date command is used. */
QCString trDate() override
{ return "Дата"; }
/*! this text is generated when the \\return command is used. */
QCString trReturns() override
{ return "Враќа"; }
/*! this text is generated when the \\sa command is used. */
QCString trSeeAlso() override
{ return "Истотака погледнете"; }
/*! this text is generated when the \\param command is used. */
QCString trParameters() override
{ return "Параметри"; }
/*! this text is generated when the \\exception command is used. */
QCString trExceptions() override
{ return "Исклучоци"; }
/*! this text is used in the title page of a LaTeX document. */
QCString trGeneratedBy() override
{ return "Создадено од"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
QCString trNamespaceList() override
{ return "Список на Имиња на Простор"; }
/*! used as an introduction to the namespace list */
QCString trNamespaceListDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll) result+="документирани ";
result+="имиња на простор со кратки описи:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
QCString trFriends() override
{ return "Пријатели"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
QCString trRelatedFunctionDocumentation() override
{ return "Документација на Пријатели и Поврзани Функции"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
QCString trCompoundReference(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName;
switch(compType)
{
case ClassDef::Class: result+=" Класа"; break;
case ClassDef::Struct: result+=" Структура"; break;
case ClassDef::Union: result+=" Унија"; break;
case ClassDef::Interface: result+=" Интерфејс"; break;
case ClassDef::Protocol: result+=" Протокол"; break;
case ClassDef::Category: result+=" Категорија"; break;
case ClassDef::Exception: result+=" Исклучок"; break;
default: break;
}
if (isTemplate) result+=" Образец";
result+=" Повикување";
return result;
}
/*! used as the title of the HTML page of a file */
QCString trFileReference(const QCString &fileName) override
{
QCString result = "Опис на Датотекaта ";
result += fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
QCString trNamespaceReference(const QCString &namespaceName) override
{
QCString result = "Опис на Имeто на Простор ";
result += namespaceName;
return result;
}
QCString trPublicMembers() override
{ return "Јавни Функции Членови"; }
QCString trPublicSlots() override
{ return "Јавни Слотови"; }
QCString trSignals() override
{ return "Сигнали"; }
QCString trStaticPublicMembers() override
{ return "Статични Јавни Функции Членови"; }
QCString trProtectedMembers() override
{ return "Заштитени Функции Членови"; }
QCString trProtectedSlots() override
{ return "Заштитени Слотови"; }
QCString trStaticProtectedMembers() override
{ return "Статични Заштитени Функции Членови"; }
QCString trPrivateMembers() override
{ return "Приватни Функции Членови"; }
QCString trPrivateSlots() override
{ return "Приватни Слотови"; }
QCString trStaticPrivateMembers() override
{ return "Статични Приватни Функции Членови"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
QCString trWriteList(int numEntries) override
{
QCString result;
// the inherits list contain `numEntries' classes
for (int i=0;i<numEntries;i++)
{
// use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator
{
if (i<numEntries-2) // not the fore last entry
result+=", ";
else // the fore last entry
result+=" и ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
QCString trInheritsList(int numEntries) override
{
return "Наследува "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
QCString trInheritedByList(int numEntries) override
{
return "Наследено од "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
QCString trReimplementedFromList(int numEntries) override
{
return "Преприменето од "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
QCString trReimplementedInList(int numEntries) override
{
return "Преприменето во "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
QCString trNamespaceMembers() override
{ return "Членови на Име на Простор"; }
/*! This is an introduction to the page with all namespace members */
QCString trNamespaceMemberDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll) result+="документирани ";
result+="членови на името на простор со врски до ";
if (extractAll)
result+="документацијата на секој член:";
else
result+="името на простор на кое што му припаѓаат:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
QCString trNamespaceIndex() override
{ return "Попис на Имиња на Простор"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
QCString trNamespaceDocumentation() override
{ return "Документација на Имиња на Простор"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
QCString trNamespaces() override
{ return "Имиња на Простор"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result="Документацијата за ";
switch(compType)
{
case ClassDef::Class: result+="оваа класа"; break;
case ClassDef::Struct: result+="оваа структура"; break;
case ClassDef::Union: result+="оваа унија"; break;
case ClassDef::Interface: result+="овој интерфејс"; break;
case ClassDef::Protocol: result+="овој протокол"; break;
case ClassDef::Category: result+="оваа категорија"; break;
case ClassDef::Exception: result+="овој исклучок"; break;
default: break;
}
result+=" беше создадена од ";
if (single) result+="следнава датотека:"; else result+="следниве датотеки:";
return result;
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
QCString trReturnValues() override
{ return "Вратена Вредност"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
QCString trMainPage() override
{ return "Главна Страна"; }
/*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page.
*/
QCString trPageAbbreviation() override
{ return "стр."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
QCString trDefinedAtLineInSourceFile() override
{
return "Дефиницијата е на линија @0 во датотека @1.";
}
QCString trDefinedInSourceFile() override
{
return "Дефинијата е во датотека @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated() override
{
return "Застарено";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
QCString trCollaborationDiagram(const QCString &clName) override
{
return "Диаграм на соработка за "+clName+":";
}
/*! this text is put before an include dependency graph */
QCString trInclDepGraph(const QCString &fName) override
{
return "Вклучен дијаграм на зависност за "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() override
{
return "Документација на Конструктор и Деструктор";
}
/*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() override
{
return "Оди до изворниот код на оваа датотека.";
}
/*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() override
{
return "Оди до документацијата на оваа датотека.";
}
/*! Text for the \\pre command */
QCString trPrecondition() override
{
return "Предуслов";
}
/*! Text for the \\post command */
QCString trPostcondition() override
{
return "Постуслов";
}
/*! Text for the \\invariant command */
QCString trInvariant() override
{
return "Инваријанта";
}
/*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() override
{
return "Основна вредност:";
}
/*! Text used the source code in the file index */
QCString trCode() override
{
return "код";
}
QCString trGraphicalHierarchy() override
{
return "Графичко Стебло на Класи";
}
QCString trGotoGraphicalHierarchy() override
{
return "Оди до графичкото стебло на класи";
}
QCString trGotoTextualHierarchy() override
{
return "Оди до текстуалното стебло на класи";
}
QCString trPageIndex() override
{
return "Попис на Страници";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
QCString trNote() override
{
return "Забелешка";
}
QCString trPublicTypes() override
{
return "Јавни Типови";
}
QCString trPublicAttribs() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Членови";
}
else
{
return "Јавни Членови";
}
}
QCString trStaticPublicAttribs() override
{
return "Статични Јавни Членови";
}
QCString trProtectedTypes() override
{
return "Заштитени Типови";
}
QCString trProtectedAttribs() override
{
return "Заштитени Членови";
}
QCString trStaticProtectedAttribs() override
{
return "Статични Заштитени Типови";
}
QCString trPrivateTypes() override
{
return "Приватни Типови";
}
QCString trPrivateAttribs() override
{
return "Приватни Членови";
}
QCString trStaticPrivateAttribs() override
{
return "Статични Приватни Членови";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\todo item */
QCString trTodo() override
{
return "Незавршено";
}
/*! Used as the header of the todo list */
QCString trTodoList() override
{
return "Список на Незавршени";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
QCString trReferencedBy() override
{
return "Повикано од";
}
QCString trRemarks() override
{
return "Забелешки";
}
QCString trAttention() override
{
return "Внимание";
}
QCString trInclByDepGraph() override
{
return "Овој дијаграм покажува кои датотеки се "
"директно или индеректно вклучени во оваа датотека:";
}
QCString trSince() override
{
return "Од";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
QCString trLegendTitle() override
{
return "Легенда на Дијаграмот";
}
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
QCString trLegendDocs() override
{
return
"Оваа страна објаснува како да ги толкувате дијаграмите создадени"
" од doxygen.<p>\n"
"На пример:\n"
"\\code\n"
"/*! Невидлива класа заради ограничувања на дијаграмот */\n"
"class Invisible { };\n\n"
"/*! Одсечена класа, врската на наследување е скриена */\n"
"class Truncated : public Invisible { };\n\n"
"/* Класата не е документирана со doxygen коментари */\n"
"class Undocumented { };\n\n"
"/*! Класа која е наследена со јавно наследување */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! Класа Образец */\n"
"template<class T> class Templ { };\n\n"
"/*! Класа која е наследена со заштитено наследување */\n"
"class ProtectedBase { };\n\n"
"/*! Класа која е наследена со приватно наследување */\n"
"class PrivateBase { };\n\n"
"/*! Класа која е користена од страна на наследената класа */\n"
"class Used { };\n\n"
"/*! Класа која наследува од повеќе други класи */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented,\n"
" public Templ<int>\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Ако вредноста на \\c MAX_DOT_GRAPH_HEIGHT во конфигурациската датотека "
"е 240 тогаш примерот ќе го создаде следниов дијаграм:"
"<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"Правоаголниците во дијаграмот погоре го имаат следново значење:\n"
"<ul>\n"
"<li>Полн сив правоаголник ја означува структурата или класата за "
"којадијаграмот е создаден.\n"
"<li>Правоаголник со црна граница означува документирана структура или класа.\n"
"<li>Правоаголник со сива граница означува недокументирана структура или класа.\n"
"<li>Правоаголник со црвена граница означува документирана структура или класа "
"за која не сите врски на наследување се прикажани. Дијаграмот е одсечен доколку "
"не го собира во зададените граници..\n"
"</ul>\n"
"Стрелките го имаат следново значење:\n"
"<ul>\n"
"<li>Сина стрелка означува врска на јавно наследување помеѓу две класи.\n"
"<li>Зелена стрелка означува заштитено наследување.\n"
"<li>Црвена стрелка означува приватно наследување.\n"
"<li>Виолетова испрекината линија означува класа која е користена или вклучена "
"во друга класа. Стрелаката е означена со името на променливата преку "
"која класата е достапна.\n"
"<li>Жолта испрекината линија означува врска меѓу примерок од образец класа "
"и класата образец од која е создадена. Стрелката е означена со имињата на "
"параметрите на класата.\n"
"</ul>\n";
}
/*! text for the link to the legend page */
QCString trLegend() override
{
return "Легенда";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
QCString trTest() override
{
return "Тест";
}
/*! Used as the header of the test list */
QCString trTestList() override
{
return "Листа на Тестови";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
QCString trProperties() override
{
return "Особини";
}
/*! Used as a section header for IDL property documentation */
QCString trPropertyDocumentation() override
{
return "Документација на Особини";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java classes in the summary section of Java packages */
QCString trClasses() override
{
if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
{
return "Структури";
}
else
{
return "Класи";
}
}
/*! Used as the title of a Java package */
QCString trPackage(const QCString &name) override
{
return "Пакет "+name;
}
/*! The description of the package index page */
QCString trPackageListDescription() override
{
return "Пакети со краток опис (доколку достапен):";
}
/*! The link name in the Quick links header for each page */
QCString trPackages() override
{
return "Пакети";
}
/*! Text shown before a multi-line define */
QCString trDefineValue() override
{
return "Вредност:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
QCString trBug() override
{
return "Дефект";
}
/*! Used as the header of the bug list */
QCString trBugList() override
{
return "Листа на Дефекти";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
* ------------------------------------------------------
* DEFAULT_CHARSET 1 (x01)
* SYMBOL_CHARSET 2 (x02)
* OEM_CHARSET 255 (xFF)
* ANSI_CHARSET 0 (x00) 1252
* RUSSIAN_CHARSET 204 (xCC) 1251
* EE_CHARSET 238 (xEE) 1250
* GREEK_CHARSET 161 (xA1) 1253
* TURKISH_CHARSET 162 (xA2) 1254
* BALTIC_CHARSET 186 (xBA) 1257
* HEBREW_CHARSET 177 (xB1) 1255
* ARABIC _CHARSET 178 (xB2) 1256
* SHIFTJIS_CHARSET 128 (x80) 932
* HANGEUL_CHARSET 129 (x81) 949
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*/
QCString trRTFansicp() override
{
return "1251";
}
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
QCString trRTFCharSet() override
{
return "204";
}
/*! Used as header RTF general index */
QCString trRTFGeneralIndex() override
{
return "Попис";
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trClass(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "клас", "и", "а");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trFile(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "датотек", "и", "а");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trNamespace(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "им", "иња на простори", "е на простор");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGroup(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "груп", "и", "а");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trPage(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "стран", "и", "а");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trMember(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "член", "ови");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trGlobal(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "глобал", "ни", "ен");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
QCString trAuthor(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "автор", "и");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
/*! This text is put before the list of members referenced by a member
*/
QCString trReferences() override
{
return "Повикувања";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of
* members that are implemented by this one.
*/
QCString trImplementedFromList(int numEntries) override
{
return "Применува "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all members that implement this abstract member.
*/
QCString trImplementedInList(int numEntries) override
{
return "Применето во "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
/*! used in RTF documentation as a heading for the Table
* of Contents.
*/
QCString trRTFTableOfContents() override
{
return "Содржина";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
QCString trDeprecatedList() override
{
return "Список на Застарени";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
QCString trEvents() override
{
return "Настани";
}
/*! Header used for the documentation section of a class' events. */
QCString trEventDocumentation() override
{
return "Документација на Настани";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a heading for a list of Java class types with package scope.
*/
QCString trPackageTypes() override
{
return "Типови во Пакетот";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
QCString trPackageFunctions() override
{
return "Функции во Пакетот";
}
QCString trPackageMembers() override
{
return "Членови во Пакетот";
}
/*! Used as a heading for a list of static Java class functions with
* package scope.
*/
QCString trStaticPackageFunctions() override
{
return "Статични Функции во Пакетот";
}
/*! Used as a heading for a list of Java class variables with package
* scope.
*/
QCString trPackageAttribs() override
{
return "Членови во Пакетот";
}
/*! Used as a heading for a list of static Java class variables with
* package scope.
*/
QCString trStaticPackageAttribs() override
{
return "Статични Членови во Пакетот";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members.
*/
QCString trAll() override
{
return "Сите";
}
/*! Put in front of the call graph for a function. */
QCString trCallGraph() override
{
return "Дијаграм на повикувања за оваа функција:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! This string is used as the title for the page listing the search
* results.
*/
QCString trSearchResultsTitle() override
{
return "Резултати од Пребарувањето";
}
/*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string.
*/
QCString trSearchResults(int numDocuments) override
{
if (numDocuments==0)
{
return "Нема документи кои се поклопуваат со вашето барање.";
}
else if (numDocuments==1)
{
return "Пронајден <b>1</b> документ кој се поклопува со вашето барање.";
}
else
{
return "Пронајдени <b>$num</b> документи кои се поклопуваат со вашето барање."
"Најдобро поклопените документи се прикажани први.";
}
}
/*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query.
*/
QCString trSearchMatches() override
{
return "Пронајдени:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
/*! This is used in HTML as the title of page with source code for file filename
*/
QCString trSourceFile(const QCString& filename) override
{
return "Изворен код на датотеката " + filename;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
/*! This is used as the name of the chapter containing the directory
* hierarchy.
*/
QCString trDirIndex() override
{ return "Стебло на Именикот"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
QCString trDirDocumentation() override
{ return "Документација на Именикот"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
*/
QCString trDirectories() override
{ return "Именици"; }
/*! This returns the title of a directory page. The name of the
* directory is passed via \a dirName.
*/
QCString trDirReference(const QCString &dirName) override
{ QCString result= "Опис на Именикот "; result += dirName; return result; }
/*! This returns the word directory with or without starting capital
* (\a first_capital) and in sigular or plural form (\a singular).
*/
QCString trDir(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "имени", "ци", "к");
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
QCString trOverloadText() override
{
return "Оваа е преоптоварена фунција. Се разликува по "
"типот и бројот на аргументи што ги прифаќа.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
QCString trCallerGraph() override
{
return "Ова е графот на повикување за оваа фунција:";
}
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
QCString trEnumerationValueDocumentation() override
{ return "Документија на Набројувања"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
QCString trMemberFunctionDocumentationFortran() override
{ return "Документација на функции/процедури членови"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
QCString trCompoundListFortran() override
{ return "Список на Типови"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
QCString trCompoundMembersFortran() override
{ return "Членови"; }
/*! This is an introduction to the annotated compound list (Fortran). */
QCString trCompoundListDescriptionFortran() override
{ return "Список на типови со кратки описи:"; }
/*! This is an introduction to the page with all data types (Fortran). */
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll)
{
result+="документирани ";
}
result+="членови на типови";
result+=" со врски до ";
if (!extractAll)
{
result+="документацијата за секој член:";
}
else
{
result+="типовите на кои што припаѓаат:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
QCString trCompoundIndexFortran() override
{ return "Попис на Типови"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
QCString trTypeDocumentation() override
{ return "Документација на Типови"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
QCString trSubprograms() override
{ return "Функции/Процедури"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
QCString trSubprogramDocumentation() override
{ return "Документација на Функции/Процедури"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
QCString trDataTypes() override
{ return "Типови"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
QCString trModulesList() override
{ return "Попис на Модули"; }
/*! used as an introduction to the modules list (Fortran) */
QCString trModulesListDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll) result+="документирани ";
result+="модули со кратки описи:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
QCString trCompoundReferenceFortran(const QCString &clName,
ClassDef::CompoundType compType,
bool isTemplate) override
{
QCString result=clName + " - Повикување на";
switch(compType)
{
case ClassDef::Class: result+=" Класа"; break;
case ClassDef::Struct: result+=" Тип"; break;
case ClassDef::Union: result+=" Унија"; break;
case ClassDef::Interface: result+=" Интерфејс"; break;
case ClassDef::Protocol: result+=" Протокол"; break;
case ClassDef::Category: result+=" Категорија"; break;
case ClassDef::Exception: result+=" Исклучок"; break;
default: break;
}
if (isTemplate) result+=" Образец";
return result;
}
/*! used as the title of the HTML page of a module (Fortran) */
QCString trModuleReference(const QCString &namespaceName) override
{
QCString result=namespaceName;
result+=" - Содржина на Модул";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
QCString trModulesMembers() override
{ return "Членови на Модул"; }
/*! This is an introduction to the page with all modules members (Fortran) */
QCString trModulesMemberDescription(bool extractAll) override
{
QCString result="Список на сите ";
if (!extractAll) result+="документирани ";
result+="членови на модулот со врски до ";
if (extractAll)
{
result+="документацијата за секој член:";
}
else
{
result+="модулите на кои што припаѓаат:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
QCString trModulesIndex() override
{ return "Попис на Модули"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trModule(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "модул", "и");
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) override
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result="Документацијата за ";
switch(compType)
{
case ClassDef::Class: result+="оваа класа"; break;
case ClassDef::Struct: result+="овој тип"; break;
case ClassDef::Union: result+="оваа унија"; break;
case ClassDef::Interface: result+="овој интерфејс"; break;
case ClassDef::Protocol: result+="овој протокол"; break;
case ClassDef::Category: result+="оваа категорија"; break;
case ClassDef::Exception: result+="овој исклучок"; break;
default: break;
}
result+=" беше создадена од ";
if (single) result+="следнава датотека:"; else result+="следниве датотеки:";
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trType(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "тип", "ови");
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* of the category.
*/
QCString trSubprogram(bool first_capital, bool singular) override
{
return createNoun(first_capital, singular, "потпрограм", "и", "а");
}
/*! C# Type Constraint list */
QCString trTypeConstraints() override
{
return "Ограничувања на Тип";
}
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
{
static const char *days_short[] = { "пон.", "вт.", "сре.", "чет.", "пет.", "саб.", "нед." };
static const char *days_full[] = { "понеделник", "вторник", "среда", "четврток", "петок", "сабота", "недела" };
QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
return text;
}
QCString trMonth(int month, bool, bool full) override
{
static const char *months_short[] = { "јан.", "фев.", "мар.", "апр.", "мај", "јун.", "јул.", "авг.", "септ.", "окт.", "ноем.", "дек." };
static const char *months_full[] = { "јануари", "февруари", "март", "април", "мај", "јуни", "јули", "август", "септември", "октомври", "ноември", "декември" };
QCString text = full? months_full[month-1] : months_short[month-1];
return text;
}
QCString trDayPeriod(bool period) override
{
static const char *dayPeriod[] = { "претпл.", "попл." };
return dayPeriod[period?1:0];
}
};
#endif
| 63,577
|
C++
|
.h
| 1,520
| 31.798026
| 166
| 0.589852
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,745
|
dotclassgraph.h
|
doxygen_doxygen/src/dotclassgraph.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef DOTCLASSGRAPH_H
#define DOTCLASSGRAPH_H
#include <memory>
#include "classdef.h"
#include "dotnode.h"
#include "dotgraph.h"
class TextStream;
/** Representation of a class inheritance or dependency graph */
class DotClassGraph : public DotGraph
{
public:
DotClassGraph(const ClassDef *cd,GraphType t);
~DotClassGraph() override;
NON_COPYABLE(DotClassGraph)
bool isTrivial() const;
bool isTooBig() const;
int numNodes() const;
QCString writeGraph(TextStream &t,GraphOutputFormat gf,EmbeddedOutputFormat ef,
const QCString &path, const QCString &fileName, const QCString &relPath,
bool TBRank=TRUE,bool imageMap=TRUE,int graphId=-1);
void writeXML(TextStream &t);
void writeDocbook(TextStream &t);
void writeDEF(TextStream &t);
protected:
QCString getBaseName() const override;
QCString getMapLabel() const override;
void computeTheGraph() override;
QCString getImgAltText() const override;
private:
void buildGraph(const ClassDef *cd,DotNode *n,bool base,int distance);
bool determineVisibleNodes(DotNode *rootNode,int maxNodes,bool includeParents);
void determineTruncatedNodes(DotNodeDeque &queue,bool includeParents);
void addClass(const ClassDef *cd,DotNode *n,EdgeInfo::Colors color,const QCString &label,
const QCString &usedName,const QCString &templSpec,
bool base,int distance);
DotNode * m_startNode;
DotNodeMap m_usedNodes;
GraphType m_graphType;
QCString m_collabFileName;
QCString m_inheritFileName;
bool m_lrRank;
};
using DotClassGraphPtr = std::shared_ptr<DotClassGraph>;
#endif
| 2,349
|
C++
|
.h
| 58
| 37
| 93
| 0.720491
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,746
|
config.h
|
doxygen_doxygen/src/config.h
|
/******************************************************************************
*
* Copyright (C) 1997-2015 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef CONFIG_H
#define CONFIG_H
// note: this header file is generated from config.xml
#include "configvalues.h"
//! @{
//! some convenience macros for accessing the config options
//! mainly done like this for backward compatibility
//#if DYNAMIC_LOOKUP // for debug purposes
//#define Config_getString(val) (ConfigValues::instance().*((ConfigValues::InfoString*)ConfigValues::instance().get(#val))->item)
//#define Config_getBool(val) (ConfigValues::instance().*((ConfigValues::InfoBool*)ConfigValues::instance().get(#val))->item)
//#define Config_getInt(val) (ConfigValues::instance().*((ConfigValues::InfoInt*)ConfigValues::instance().get(#val))->item)
//#define Config_getEnum(val) (ConfigValues::instance().*((ConfigValues::InfoString*)ConfigValues::instance().get(#val))->item)
//#define Config_getList(val) (ConfigValues::instance().*((ConfigValues::InfoList*)ConfigValues::instance().get(#val))->item)
//#else // direct access
#define Config_getString(name) (ConfigValues::instance().name())
#define Config_getBool(name) (ConfigValues::instance().name())
#define Config_getInt(name) (ConfigValues::instance().name())
#define Config_getEnum(name) (ConfigValues::instance().name())
#define Config_getEnumAsString(name) (ConfigValues::instance().name##_str())
#define Config_getStringAsEnum(name,value) (name##_str2enum(value))
#define Config_getList(name) (ConfigValues::instance().name())
#define Config_updateString(name,value) (ConfigValues::instance().update_##name(value));
#define Config_updateBool(name,value) (ConfigValues::instance().update_##name(value));
#define Config_updateInt(name,value) (ConfigValues::instance().update_##name(value));
#define Config_updateEnum(name,value) (ConfigValues::instance().update_##name(value));
#define Config_updateList(name,...) (ConfigValues::instance().update_##name(__VA_ARGS__));
#define Config_isAvailableEnum(name,value) (ConfigValues::instance().isAvailable_##name(value))
//#endif
//! @}
class TextStream;
/** \brief Public function to deal with the configuration file. */
namespace Config
{
enum class CompareMode { Full, Compressed, CompressedNoEnv };
/*! Initialize configuration variables to their default value */
void init();
/*! Writes a template configuration to stream \a t. If \a shortList
* is \c TRUE the description of each configuration option will
* be omitted.
*/
void writeTemplate(TextStream &t,bool shortList,bool updateOnly=FALSE);
/*! Writes a the differences between the current configuration and the
* template configuration to stream \a t.
*/
void compareDoxyfile(TextStream &t, CompareMode compareMode);
/*! Writes a the used settings of the current configuration as XML format
* to stream \a t.
*/
void writeXMLDoxyfile(TextStream &t);
/*! Writes all possible setting ids to an XSD file for validation
* through the stream \a t.
*/
void writeXSDDoxyfile(TextStream &t);
/*! Parses a configuration file with name \a fn.
* \returns TRUE if successful, FALSE if the file could not be
* opened or read.
*/
bool parse(const QCString &fileName,bool update=FALSE, CompareMode compareMode = CompareMode::Full);
/*! Post processed the parsed data. Replaces raw string values by the actual values.
* and replaces environment variables.
* \param clearHeaderAndFooter set to TRUE when writing header and footer templates.
* \param compareMode signals if we in Doxyfile compare (`-x` or `-x_noenv`) mode are or not.
* Influences setting of the default value and replacement of environment variables and CMake type replacement variables.
*/
void postProcess(bool clearHeaderAndFooter, CompareMode compareMode = CompareMode::Full);
/*! Check the validity of the parsed options and correct or warn the user where needed.
* \param quiet setting for the QUIET option (can have been overruled by means of a command line option)
* \param check check HTML / LaTeX header file etc. on existence (and terminate when not present)
*/
void checkAndCorrect(bool quiet, const bool check);
/*! Adjust any configuration values based on the value of obsolete options. */
void updateObsolete();
/*! Clean up any data */
void deinit();
}
#endif
| 4,923
|
C++
|
.h
| 90
| 52.222222
| 129
| 0.733596
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,747
|
xml.h
|
doxygen_doxygen/libxml/xml.h
|
#ifndef XML_H
#define XML_H
/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#include <memory>
#include <functional>
#include <string>
#include <unordered_map>
/*! @brief Event handlers that can installed by the client and called while parsing a XML document.
*/
class XMLHandlers
{
public:
using Attributes = std::unordered_map<std::string,std::string>;
using StartDocType = void();
using EndDocType = void();
using StartElementType = void(const std::string &,const Attributes &);
using EndElementType = void(const std::string &);
using ErrorType = void(const std::string,int,const std::string &);
using CharsType = void(const std::string &);
std::function<StartDocType> startDocument; /**< handler invoked at the start of the document */
std::function<EndDocType> endDocument; /**< handler invoked at the end of the document */
std::function<StartElementType> startElement; /**< handler invoked when an opening tag has been found */
std::function<EndElementType> endElement; /**< handler invoked when a closing tag has been found */
std::function<CharsType> characters; /**< handler invoked when content between tags has been found */
std::function<ErrorType> error; /**< handler invoked when the parser encounters an error */
static std::string value(const Attributes &attrib,const std::string &key)
{
auto it = attrib.find(key);
if (it!=attrib.end())
{
return it->second;
}
return "";
}
};
class XMLLocator
{
public:
XMLLocator() = default;
XMLLocator(const XMLLocator &) = delete;
XMLLocator &operator=(const XMLLocator &) = delete;
XMLLocator(XMLLocator &&) = delete;
XMLLocator &operator=(XMLLocator &&) = delete;
virtual ~XMLLocator() = default;
virtual int lineNr() const = 0;
virtual std::string fileName() const = 0;
};
/*! Very basic SAX style parser to parse XML documents. */
class XMLParser : public XMLLocator
{
public:
/*! Creates an instance of the parser object. Different instances can run on different
* threads without interference.
*
* @param handlers The event handlers passed by the client.
*/
XMLParser(const XMLHandlers &handlers);
/*! Destructor */
~XMLParser() override;
XMLParser(const XMLParser &) = delete;
XMLParser &operator=(const XMLParser &) = delete;
XMLParser(XMLParser &&) = delete;
XMLParser &operator=(XMLParser &&) = delete;
using Transcode = bool(std::string &,const char *);
/*! Parses a file gives the contents of the file as a string.
* @param fileName the name of the file, used for error reporting.
* @param inputString the contents of the file as a zero terminated UTF-8 string.
* @param debugEnabled indicates if debugging via -d lex is enabled or not.
* @param debugStart hook that is to be called before starting with parsing
* @param debugEnd hook that is to be called after finishing with parsing
* @param transcoder hook that is to be called when transcoding text to UTF-8
*/
void parse(const char *fileName,
const char *inputString,
bool debugEnabled,
std::function<void()> debugStart,
std::function<void()> debugEnd,
std::function<Transcode> transcoder =
[](std::string&s,const char *){ return true; }
);
private:
int lineNr() const override;
std::string fileName() const override;
struct Private;
std::unique_ptr<Private> p;
};
#endif
| 4,264
|
C++
|
.h
| 100
| 37.79
| 116
| 0.667871
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,748
|
wizard.h
|
doxygen_doxygen/addon/doxywizard/wizard.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef WIZARD_H
#define WIZARD_H
#include <QSplitter>
#include <QHash>
#include <QDialog>
class Input;
class QTreeWidget;
class QTreeWidgetItem;
class QStackedWidget;
class QCheckBox;
class QLineEdit;
class QPushButton;
class QRadioButton;
class QGroupBox;
class QButtonGroup;
class Wizard;
class QImage;
class QLabel;
class TuneColorDialog : public QDialog
{
Q_OBJECT
public:
TuneColorDialog(int hue,int sat,int gamma,QWidget *parent=nullptr);
int getHue() const;
int getSaturation() const;
int getGamma() const;
private slots:
void updateImage(int hue,int sat,int val);
private:
QImage *m_image = nullptr;
QLabel *m_imageLab = nullptr;
int m_hue = 0;
int m_sat = 0;
int m_gam = 0;
};
class ColorPicker : public QWidget
{
Q_OBJECT
public:
enum Mode { Hue, Saturation, Gamma };
ColorPicker(Mode m);
~ColorPicker();
public slots:
void setCol(int h, int s, int g);
//void setCol(int h, int s);
signals:
void newHsv(int h, int s, int g);
protected:
void paintEvent(QPaintEvent*);
void mouseMoveEvent(QMouseEvent *);
void mousePressEvent(QMouseEvent *);
private:
enum { foff = 3, coff = 4 }; //frame and contents offset
int y2hue(int y);
int y2sat(int y);
int y2gam(int y);
int hue2y(int hue);
int sat2y(int sat);
int gam2y(int gamma);
void setHue(int v);
void setSat(int v);
void setGam(int v);
QPixmap *m_pix = nullptr;
Mode m_mode = Hue;
int m_gam = 0;
int m_hue = 0;
int m_sat = 0;
};
class Step1 : public QWidget
{
Q_OBJECT
public:
Step1(Wizard *parent,const QHash<QString,Input*> &modelData);
void init();
private slots:
void selectSourceDir();
void selectDestinationDir();
void selectProjectIcon();
void setProjectName(const QString &name);
void setProjectBrief(const QString &desc);
void setProjectNumber(const QString &num);
void setSourceDir(const QString &dir);
void setDestinationDir(const QString &dir);
void setRecursiveScan(int);
private:
QLineEdit *m_projName = nullptr;
QLineEdit *m_projBrief = nullptr;
QLineEdit *m_projNumber = nullptr;
QLineEdit *m_sourceDir = nullptr;
QLineEdit *m_destDir = nullptr;
QLabel *m_projIconLab = nullptr;
QCheckBox *m_recursive = nullptr;
QPushButton *m_srcSelectDir = nullptr;
QPushButton *m_dstSelectDir = nullptr;
Wizard *m_wizard = nullptr;
const QHash<QString,Input *> &m_modelData;
};
class Step2 : public QWidget
{
Q_OBJECT
public:
Step2(Wizard *parent,const QHash<QString,Input*> &modelData);
void init();
private slots:
void optimizeFor(int choice);
void extractMode(int choice);
void changeCrossRefState(int choice);
private:
QGroupBox *m_extractMode = nullptr;
QGroupBox *m_optimizeLang = nullptr;
QButtonGroup *m_extractModeGroup = nullptr;
QButtonGroup *m_optimizeLangGroup = nullptr;
QCheckBox *m_crossRef = nullptr;
Wizard *m_wizard = nullptr;
const QHash<QString,Input *> &m_modelData;
};
class Step3 : public QWidget
{
Q_OBJECT
public:
Step3(Wizard *parent,const QHash<QString,Input*> &modelData);
void init();
private slots:
void setHtmlEnabled(bool);
void setLatexEnabled(bool);
void setManEnabled(int);
void setRtfEnabled(int);
void setXmlEnabled(int);
void setDocbookEnabled(int);
void setSearchEnabled(int);
void setHtmlOptions(int);
void setLatexOptions(int);
void tuneColorDialog();
private:
QGroupBox *m_texOptions = nullptr;
QButtonGroup *m_texOptionsGroup = nullptr;
QGroupBox *m_htmlOptions = nullptr;
QButtonGroup *m_htmlOptionsGroup = nullptr;
QCheckBox *m_htmlEnabled = nullptr;
QCheckBox *m_latexEnabled = nullptr;
QCheckBox *m_manEnabled = nullptr;
QCheckBox *m_rtfEnabled = nullptr;
QCheckBox *m_xmlEnabled = nullptr;
QCheckBox *m_docbookEnabled = nullptr;
QCheckBox *m_searchEnabled = nullptr;
QPushButton *m_tuneColor = nullptr;
Wizard *m_wizard = nullptr;
const QHash<QString,Input *> &m_modelData;
};
class Step4 : public QWidget
{
Q_OBJECT
public:
Step4(Wizard *parent,const QHash<QString,Input*> &modelData);
void init();
private slots:
void diagramModeChanged(int);
void setClassGraphEnabled(int state);
void setCollaborationGraphEnabled(int state);
void setGraphicalHierarchyEnabled(int state);
void setIncludeGraphEnabled(int state);
void setIncludedByGraphEnabled(int state);
void setCallGraphEnabled(int state);
void setCallerGraphEnabled(int state);
private:
QGroupBox *m_diagramMode = nullptr;
QButtonGroup *m_diagramModeGroup = nullptr;
QGroupBox *m_dotGroup = nullptr;
QCheckBox *m_dotClass = nullptr;
QCheckBox *m_dotCollaboration = nullptr;
QCheckBox *m_dotInclude = nullptr;
QCheckBox *m_dotIncludedBy = nullptr;
QCheckBox *m_dotInheritance = nullptr;
QCheckBox *m_dotCall = nullptr;
QCheckBox *m_dotCaller = nullptr;
Wizard *m_wizard = nullptr;
const QHash<QString,Input *> &m_modelData;
};
class Wizard : public QSplitter
{
Q_OBJECT
public:
Wizard(const QHash<QString,Input*> &modelData, QWidget *parent=nullptr);
~Wizard();
public slots:
void refresh();
private slots:
void activateTopic(QTreeWidgetItem *item,QTreeWidgetItem *);
void nextTopic();
void prevTopic();
signals:
void done();
private:
const QHash<QString,Input *> &m_modelData;
QTreeWidget *m_treeWidget = nullptr;
QStackedWidget *m_topicStack = nullptr;
Step1 *m_step1 = nullptr;
Step2 *m_step2 = nullptr;
Step3 *m_step3 = nullptr;
Step4 *m_step4 = nullptr;
QPushButton *m_next = nullptr;
QPushButton *m_prev = nullptr;
};
#endif
| 6,410
|
C++
|
.h
| 215
| 25.813953
| 79
| 0.697516
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,749
|
inputint.h
|
doxygen_doxygen/addon/doxywizard/inputint.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef INPUTINT_H
#define INPUTINT_H
#include "input.h"
#include <QObject>
class QGridLayout;
class QLabel;
class QSpinBox;
class InputInt : public QObject, public Input
{
Q_OBJECT
public:
InputInt( QGridLayout *layout,int &row,
const QString &id, int defVal,
int minVal, int maxVal,
const QString &docs );
~InputInt() = default;
// Input
QVariant &value();
void update();
Kind kind() const { return Int; }
QString docs() const { return m_docs; }
QString id() const { return m_id; }
QString templateDocs() const { return m_tdocs; }
void addDependency(Input *) { Q_ASSERT(false); }
void setEnabled(bool);
void updateDependencies() {}
bool isDefault();
void writeValue(QTextStream &t,TextCodecAdapter *codec);
void setTemplateDocs(const QString &docs) { m_tdocs = docs; }
public slots:
void reset();
void setValue(int val);
private slots:
void help();
signals:
void changed();
void showHelp(Input *);
private:
void updateDefault();
QLabel *m_lab;
QSpinBox *m_sp;
int m_val;
int m_default;
int m_minVal;
int m_maxVal;
QVariant m_value;
QString m_docs;
QString m_id;
QString m_tdocs;
};
#endif
| 1,821
|
C++
|
.h
| 62
| 25.16129
| 79
| 0.638444
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,750
|
helplabel.h
|
doxygen_doxygen/addon/doxywizard/helplabel.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef HELPLABEL_H
#define HELPLABEL_H
#include <QLabel>
#include <QMenu>
class HelpLabel : public QLabel
{
Q_OBJECT
public:
HelpLabel(const QString &text) : QLabel(text)
{ setContextMenuPolicy(Qt::CustomContextMenu);
connect(this,SIGNAL(customContextMenuRequested(const QPoint&)),
this,SLOT(showMenu(const QPoint&)));
}
signals:
void enter();
void reset();
private slots:
void showMenu(const QPoint &p)
{
QMenu menu(this);
QAction *a = menu.addAction(tr("Reset to default"));
if (menu.exec(mapToGlobal(p))==a)
{
reset();
}
}
protected:
void enterEvent(
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QEvent * event
#else
QEnterEvent * event
#endif
) { enter(); QLabel::enterEvent(event); }
};
#endif
| 1,336
|
C++
|
.h
| 47
| 24.446809
| 79
| 0.645136
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,751
|
inputbool.h
|
doxygen_doxygen/addon/doxywizard/inputbool.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef INPUTBOOL_H
#define INPUTBOOL_H
#include "input.h"
#include <QObject>
class QCheckBox;
class QGridLayout;
class QLabel;
class InputBool : public QObject, public Input
{
Q_OBJECT
public:
InputBool(QGridLayout *layout,int &row,const QString &id,
bool enabled, const QString &docs );
// Input
QVariant &value();
void update();
Kind kind() const { return Bool; }
QString docs() const { return m_docs; }
QString id() const { return m_id; }
QString templateDocs() const { return m_tdocs; }
void addDependency(Input *option) { m_dependencies+=option; }
void setEnabled(bool);
void updateDependencies();
bool isDefault();
void writeValue(QTextStream &t,TextCodecAdapter *codec);
void setTemplateDocs(const QString &docs) { m_tdocs = docs; }
static bool convertToBool(const QVariant &v,bool &isValid);
public slots:
void reset();
void setValue(bool);
signals:
void changed();
void toggle(QString,bool);
void showHelp(Input *);
private slots:
void help();
private:
void updateDefault();
bool m_state;
bool m_default;
bool m_enabled;
QVariant m_value;
QCheckBox *m_cb;
QString m_docs;
QList<Input*> m_dependencies;
QString m_id;
QLabel *m_lab;
QString m_tdocs;
};
#endif
| 1,841
|
C++
|
.h
| 61
| 26.311475
| 79
| 0.673262
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,752
|
expert.h
|
doxygen_doxygen/addon/doxywizard/expert.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef EXPERT_H
#define EXPERT_H
#include <QSplitter>
#include <QDomElement>
#include <QHash>
#include "docintf.h"
#include "adapter.h"
class QTreeWidget;
class QTreeWidgetItem;
class QStackedWidget;
class QSettings;
class QTextBrowser;
class QPushButton;
class Input;
class Expert : public QSplitter, public DocIntf
{
Q_OBJECT
public:
Expert();
~Expert();
void loadSettings(QSettings *);
void saveSettings(QSettings *);
void loadConfig(const QString &fileName);
bool writeConfig(QTextStream &t,bool brief,bool condensed);
QByteArray saveInnerState () const;
bool restoreInnerState ( const QByteArray & state );
const QHash<QString,Input*> &modelData() const { return m_options; }
void resetToDefaults();
bool htmlOutputPresent(const QString &workingDir) const;
bool pdfOutputPresent(const QString &workingDir) const;
QString getHtmlOutputIndex(const QString &workingDir) const;
// DocIntf methods
void setHeader(const char *name);
void add(const char *name,const char *doc);
public slots:
void activateTopic(QTreeWidgetItem *,QTreeWidgetItem *);
QWidget *createTopicWidget(QDomElement &elem);
void refresh();
private slots:
void showHelp(Input *);
void nextTopic();
void prevTopic();
signals:
void changed();
void done();
private:
void createTopics(const QDomElement &);
void saveTopic(QTextStream &t,QDomElement &elem,TextCodecAdapter *codec,bool brief,bool dondensed);
QSplitter *m_splitter;
QTextBrowser *m_helper;
QTreeWidget *m_treeWidget;
QStackedWidget *m_topicStack;
QHash<QString,QWidget *> m_topics;
QHash<QString,QObject *> m_optionWidgets;
QHash<QString,Input *> m_options;
QPushButton *m_next;
QPushButton *m_prev;
QDomElement m_rootElement;
bool m_inShowHelp;
QString m_header;
};
#endif
| 2,512
|
C++
|
.h
| 73
| 30.835616
| 103
| 0.68343
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,753
|
inputobsolete.h
|
doxygen_doxygen/addon/doxywizard/inputobsolete.h
|
/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef INPUTOBSOLETE_H
#define INPUTOBSOLETE_H
#include "input.h"
class InputObsolete : public Input
{
public:
InputObsolete(const QString &id, Kind orgKind) : m_id(id), m_orgKind(orgKind) {}
QVariant &value() { return m_value; }
void update() {}
Kind kind() const { return Obsolete; }
QString docs() const { return QString(); }
QString id() const { return m_id; }
QString templateDocs() const { return QString(); }
void addDependency(Input *) {}
void setEnabled(bool) {}
void updateDependencies() {}
void reset() {}
bool isDefault() { return false; }
void writeValue(QTextStream &,TextCodecAdapter *) {}
void setTemplateDocs(const QString &) {}
bool isEmpty() { return false; };
Kind orgKind() const { return m_orgKind; }
private:
QString m_id;
Kind m_orgKind;
QVariant m_value;
};
#endif
| 1,508
|
C++
|
.h
| 39
| 35.230769
| 84
| 0.604508
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,754
|
doxywizard.h
|
doxygen_doxygen/addon/doxywizard/doxywizard.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef DOXYWIZARD_H
#define DOXYWIZARD_H
#include <QMainWindow>
#include <QSettings>
#include <QStringList>
class Expert;
class Wizard;
class QLabel;
class QCheckBox;
class QLineEdit;
class QPushButton;
class QTextBrowser;
class QMenu;
class QProcess;
class QTimer;
class QTabWidget;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
static MainWindow &instance();
void loadConfigFromFile(const QString &fileName);
void loadSettings();
void saveSettings();
void closeEvent(QCloseEvent *event);
QString configFileName() const { return m_fileName; }
void updateTitle();
// access routines for outputLog pane
void outputLogStart();
void outputLogText(QString text);
void outputLogFinish();
public slots:
void manual();
void about();
void openConfig();
bool saveConfig();
bool saveConfigAs();
void makeDefaults();
void resetToDefaults();
void selectTab(int);
void quit();
private slots:
void openRecent(QAction *action);
void selectWorkingDir();
void updateWorkingDir();
void runDoxygen();
void runDoxygenMenu();
void readStdout();
void runComplete();
void showHtmlOutput();
void saveLog();
void showSettings();
void configChanged();
void clearRecent();
void selectRunTab();
private:
MainWindow();
void saveConfig(const QString &fileName);
void addRecentFile(const QString &fileName);
void addRecentFileList(const QString &fileName);
void updateRecentFile(void);
void updateConfigFileName(const QString &fileName);
void setWorkingDir(const QString &dirName);
void updateLaunchButtonState();
bool discardUnsavedChanges(bool saveOption=true);
QLineEdit *m_workingDir;
QLineEdit *m_runOptions;
QPushButton *m_selWorkingDir;
QPushButton *m_run;
QAction *m_runMenu;
QPushButton *m_saveLog;
QCheckBox *m_showCondensedSettings;
QPushButton *m_launchHtml;
QPushButton *m_launchPdf;
QTextBrowser *m_outputLog;
QLabel *m_runStatus;
Expert *m_expert;
Wizard *m_wizard;
QWidget *m_runTab;
QString m_fileName;
QSettings m_settings;
QMenu *m_recentMenu;
QStringList m_recentFiles;
QAction *m_resetDefault;
QAction *m_clearRecent;
QProcess *m_runProcess;
QTimer *m_timer;
QTabWidget *m_tabs;
int m_outputLogTextCount = 0;
bool m_running;
bool m_modified;
};
/*! \brief This class serves as a namespace for global variables used by the doxygen wizard.
*
* All fields in this class are public and static, so they can be used directly.
*/
class DoxygenWizard
{
public:
static bool debugFlag;
};
#endif
| 3,202
|
C++
|
.h
| 113
| 24.566372
| 92
| 0.713219
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,755
|
adapter.h
|
doxygen_doxygen/addon/doxywizard/adapter.h
|
/******************************************************************************
*
* Copyright (C) 1997-2022 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef ADAPTER_H
#define ADAPTER_H
#include <memory>
#include <QtGlobal>
#include <QString>
#include <QTextStream>
#include <QPointF>
#include <QMouseEvent>
/** @file
* @brief compatibility adapters for Qt5/Qt6 support.
*/
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <QTextCodec>
class TextCodecAdapter
{
public:
TextCodecAdapter(const QByteArray &name)
{
m_codec = QTextCodec::codecForName(name);
if (m_codec==nullptr) // fallback: use UTF-8
{
m_codec = QTextCodec::codecForName("UTF-8");
}
}
QByteArray encode(const QString &input) { return m_codec ? m_codec->fromUnicode(input) : input.toLatin1(); }
QString decode(const QByteArray &input) { return m_codec ? m_codec->toUnicode(input) : QString::fromLatin1(input); }
void applyToStream(QTextStream &t) { t.setCodec(m_codec); }
bool isValid() const { return m_codec!=nullptr; }
private:
QTextCodec *m_codec = nullptr; // object is owned by Qt
};
#else // Qt6+
#include <QStringEncoder>
#include <QStringDecoder>
#include <QStringConverter>
class TextCodecAdapter
{
public:
TextCodecAdapter(const QByteArray &name)
{
auto encodingOpt = QStringConverter::encodingForName(name);
if (encodingOpt)
{
m_encoding = *encodingOpt;
}
m_encoder = std::make_unique<QStringEncoder>(m_encoding);
m_decoder = std::make_unique<QStringDecoder>(m_encoding);
}
QByteArray encode(const QString &input) { return m_encoder ? m_encoder->encode(input) : input.toLatin1(); }
QString decode(const QByteArray &input) { return m_decoder ? m_decoder->decode(input) : QString::fromLatin1(input); }
void applyToStream(QTextStream &t) { t.setEncoding(m_encoding); }
bool isValid() const { return m_decoder!=0; }
private:
std::unique_ptr<QStringEncoder> m_encoder;
std::unique_ptr<QStringDecoder> m_decoder;
QStringConverter::Encoding m_encoding = QStringConverter::Utf8;
};
#endif
inline qreal getMouseYPositionFromEvent(QMouseEvent *m)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
return m->y();
#else
return m->position().y();
#endif
}
#endif
| 2,661
|
C++
|
.h
| 78
| 30.807692
| 125
| 0.692039
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,756
|
inputstring.h
|
doxygen_doxygen/addon/doxywizard/inputstring.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef INPUTSTRING_H
#define INPUTSTRING_H
#include "input.h"
#include <QObject>
#include <QMap>
#include <QStringList>
class QLabel;
class QLineEdit;
class QToolBar;
class QComboBox;
class QGridLayout;
class QAction;
class InputString : public QObject, public Input
{
Q_OBJECT
public:
enum StringMode { StringFree=0,
StringFile=1,
StringDir=2,
StringFixed=3,
StringImage=4,
StringFileDir=5
};
InputString( QGridLayout *layout,int &row,
const QString &id, const QString &s,
StringMode m,
const QString &docs,
const QString &absPath = QString() );
~InputString();
void addValue(QString s);
void setDefault();
// Input
QVariant &value();
void update();
Kind kind() const { return String; }
StringMode stringMode() const { return m_sm; }
QString docs() const { return m_docs; }
QString id() const { return m_id; }
QString templateDocs() const { return m_tdocs; }
void addDependency(Input *) { Q_ASSERT(false); }
void setEnabled(bool);
void updateDependencies() {}
bool isDefault();
void writeValue(QTextStream &t,TextCodecAdapter *codec);
void setTemplateDocs(const QString &docs) { m_tdocs = docs; }
bool isEmpty() { return m_str.isEmpty(); }
QString checkEnumVal(const QString &value);
public slots:
void reset();
void setValue(const QString&);
signals:
void changed();
void showHelp(Input *);
private slots:
void browseFile();
void browseDir();
void clear();
void help();
private:
void updateDefault();
QLabel *m_lab;
QLineEdit *m_le;
QLabel *m_im;
QToolBar *m_br;
QAction *m_brFile;
QAction *m_brDir;
QComboBox *m_com;
QString m_str;
QString m_default;
StringMode m_sm;
QStringList m_values;
int m_index;
QVariant m_value;
QString m_docs;
QString m_id;
bool m_absPath;
QString m_tdocs;
};
#endif
| 2,708
|
C++
|
.h
| 90
| 24.411111
| 79
| 0.605758
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,757
|
configdoc.h
|
doxygen_doxygen/addon/doxywizard/configdoc.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef CONFIGDOC_H
#define CONFIGDOC_H
class DocIntf;
void addConfigDocs(DocIntf *doc);
#endif
| 610
|
C++
|
.h
| 16
| 36.125
| 79
| 0.672881
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,758
|
docintf.h
|
doxygen_doxygen/addon/doxywizard/docintf.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef DOCINTF_H
#define DOCINTF_H
class DocIntf
{
public:
virtual ~DocIntf() {}
virtual void setHeader(const char *header) = 0;
virtual void add(const char *name,const char *docs) = 0;
};
#endif
| 724
|
C++
|
.h
| 21
| 32.095238
| 79
| 0.661429
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,759
|
input.h
|
doxygen_doxygen/addon/doxywizard/input.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef INPUT_H
#define INPUT_H
#include <QVariant>
#include "adapter.h"
class QTextStream;
class QTextStream;
class Input
{
public:
enum Kind
{
Bool,
Int,
String,
StrList,
Obsolete
};
virtual ~Input() {}
virtual QVariant &value() = 0;
virtual void update() = 0;
virtual Kind kind() const = 0;
virtual QString docs() const = 0;
virtual QString id() const = 0;
virtual QString templateDocs() const = 0;
virtual void addDependency(Input *option) = 0;
virtual void setEnabled(bool) = 0;
virtual void updateDependencies() = 0;
virtual void reset() = 0;
virtual bool isDefault() = 0;
virtual void writeValue(QTextStream &t,TextCodecAdapter *codec) = 0;
virtual void setTemplateDocs(const QString &docs) = 0;
virtual bool isEmpty() { return false; };
};
#endif
| 1,373
|
C++
|
.h
| 45
| 26.844444
| 79
| 0.65885
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,760
|
inputstrlist.h
|
doxygen_doxygen/addon/doxywizard/inputstrlist.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef INPUTSTRLIST_H
#define INPUTSTRLIST_H
#include "input.h"
#include <QObject>
#include <QStringList>
class QLabel;
class QLineEdit;
class QPushButton;
class QListWidget;
class QGridLayout;
class QAction;
class InputStrList : public QObject, public Input
{
Q_OBJECT
public:
enum ListMode { ListString = 0,
ListFile = 1,
ListDir = 2,
ListFileDir = ListFile | ListDir
};
InputStrList( QGridLayout *layout,int &row,
const QString &id, const QStringList &sl,
ListMode v, const QString &docs);
void setValue(const QStringList &sl);
QVariant &value();
void update();
Kind kind() const { return StrList; }
QString docs() const { return m_docs; }
QString id() const { return m_id; }
QString templateDocs() const { return m_tdocs; }
void addDependency(Input *) { Q_ASSERT(false); }
void setEnabled(bool);
void updateDependencies() {}
bool isDefault();
void writeValue(QTextStream &t,TextCodecAdapter *codec);
void setTemplateDocs(const QString &docs) { m_tdocs = docs; }
bool isEmpty();
public slots:
void reset();
signals:
void changed();
void showHelp(Input *);
private slots:
void addString();
void delString();
void updateString();
void selectText(const QString &s);
void browseFiles();
void browseDir();
void help();
private:
void updateDefault();
QLabel *m_lab;
QLineEdit *m_le;
QAction *m_add;
QAction *m_del;
QAction *m_upd;
QAction *m_brFile;
QAction *m_brDir;
QListWidget *m_lb;
QStringList m_default;
QStringList m_strList;
QVariant m_value;
QString m_docs;
QString m_id;
QString m_tdocs;
};
#endif
| 2,387
|
C++
|
.h
| 79
| 25.253165
| 79
| 0.627451
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,761
|
config_msg.h
|
doxygen_doxygen/addon/doxywizard/config_msg.h
|
#ifndef DOXYW_MSG_H
#define DOXYW_MSG_H
void config_err(const char *fmt, ...);
void config_term(const char *fmt, ...);
void config_warn(const char *fmt, ...);
void config_open();
void config_finish();
#endif
| 210
|
C++
|
.h
| 8
| 25
| 39
| 0.71
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,762
|
config.h
|
doxygen_doxygen/addon/doxywizard/config.h
|
/******************************************************************************
*
* Copyright (C) 1997-2019 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
*/
#ifndef CONFIG_H
#define CONFIG_H
#include <QHash>
#include <QString>
#include "adapter.h"
class Input;
class QTextStream;
bool parseConfig(
const QString &fileName,
const QHash<QString,Input *> &options
);
void writeStringValue(QTextStream &t,TextCodecAdapter *codec,const QString &s);
// directly copied from ../../src/config.h to be consistent
enum
{
/*! Maximum length of an option in the config file. Used for
* alignment purposes.
*/
MAX_OPTION_LENGTH = 23
};
#endif
| 1,013
|
C++
|
.h
| 32
| 29.375
| 79
| 0.692703
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,764
|
md5.h
|
doxygen_doxygen/deps/libmd5/md5.h
|
/*
* This is the header file for the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by Colin Plumb in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is available from RSA Data Security, Inc.
* This code has been tested against that, and is equivalent,
* except that you don't need to include two pages of legalese
* with every copy.
*
* To compute the message digest of a chunk of bytes, declare an
* MD5Context structure, pass it to MD5Init, call MD5Update as
* needed on buffers full of bytes, and then call MD5Final, which
* will fill a supplied 16-byte array with the digest.
*
* Changed so as no longer to depend on Colin Plumb's `usual.h'
* header definitions; now uses stuff from dpkg's config.h
* - Ian Jackson <ian@chiark.greenend.org.uk>.
* Still in the public domain.
*/
#ifndef MD5_H
#define MD5_H
#ifdef __cplusplus
extern "C" {
#endif
#include "md5_loc.h"
#define md5byte unsigned char
//#if SIZEOF_UNSIGNED_LONG==4
//# define UWORD32 unsigned long
//#elif SIZEOF_UNSIGNED_INT==4
//#else
//# error I do not know what to use for a UWORD32.
//#endif
struct MD5Context {
UWORD32 buf[4];
UWORD32 bytes[2];
UWORD32 in[16];
};
void MD5Init(struct MD5Context *context);
void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Buffer (const char *buf,unsigned int len,unsigned char sig[16]);
void MD5SigToString(unsigned char sig[16],char str[33]);
#ifdef __cplusplus
}
#endif
#endif /* !MD5_H */
| 1,648
|
C++
|
.h
| 48
| 32.666667
| 77
| 0.751728
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,765
|
md5_loc.h
|
doxygen_doxygen/deps/libmd5/md5_loc.h
|
#ifndef MD5LOC_H
#define MD5LOC_H
# include <stdint.h>
# define UWORD32 uint32_t
#endif
| 90
|
C++
|
.h
| 5
| 16.6
| 25
| 0.783133
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,766
|
mscgen_safe.h
|
doxygen_doxygen/deps/libmscgen/mscgen_safe.h
|
/***************************************************************************
*
* $Id: safe.h 152 2010-10-10 14:17:37Z Michael.McTernan $
*
* This file is part of mscgen, a message sequence chart renderer.
* Copyright (C) 2005 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
**************************************************************************/
#ifndef MSCGEN_SAFE_H
#define MSCGEN_SAFE_H
/*****************************************************************************
* Header Files
*****************************************************************************/
/*****************************************************************************
* Preprocessor Macros & Constants
*****************************************************************************/
/*****************************************************************************
* Typedefs
*****************************************************************************/
/*****************************************************************************
* Global Variable Declarations
*****************************************************************************/
/*****************************************************************************
* Global Function Declarations
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
void *realloc_s(void *ptr, size_t size);
void *malloc_s(size_t size);
void *zalloc_s(size_t size);
char *strdup_s(const char *s);
const char *mscgen_getenv_s(const char *name);
#ifdef __cplusplus
}
#endif
#endif /* MSCGEN_SAFE_H */
| 2,327
|
C++
|
.h
| 50
| 44.76
| 79
| 0.443563
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,767
|
mscgen_adraw.h
|
doxygen_doxygen/deps/libmscgen/mscgen_adraw.h
|
/***************************************************************************
*
* $Id: adraw.h 161 2010-10-26 20:17:16Z Michael.McTernan $
*
* This file is part of mscgen, a message sequence chart renderer.
* Copyright (C) 2005 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
**************************************************************************/
#ifndef MSCGEN_ADRAW_H
#define MSCGEN_ADRAW_H
#include "mscgen_bool.h"
/***************************************************************************
* Types
***************************************************************************/
/** Output format types.
* Enumerated types for output formats.
*/
typedef enum
{
/** Null output format.
* This allows all the graphics commands to be called, but does nothing.
*/
ADRAW_FMT_NULL = 0,
/** Generate a PNG. */
ADRAW_FMT_PNG,
/** Generate Encapsulated Postscript. */
ADRAW_FMT_EPS,
/** Scalable Vector Graphics. */
ADRAW_FMT_SVG
}
ADrawOutputType;
/** Supported colours.
* Enumerated type to describe colours.
*
* The 16 basic HTML colours at http://www.w3.org/TR/html4/types.html#h-6.5
* are defined as well as a few other common colour names.
*/
typedef enum
{
ADRAW_COL_WHITE = 0x00ffffff,
ADRAW_COL_BLACK = 0x00000000,
ADRAW_COL_RED = 0x00ff0000,
ADRAW_COL_ORANGE = 0x00ffb000,
ADRAW_COL_YELLOW = 0x00ffff00,
ADRAW_COL_GREEN = 0x0000ff00,
ADRAW_COL_BLUE = 0x000000ff,
ADRAW_COL_INDIGO = 0x00440088,
ADRAW_COL_VIOLET = 0x00d02090,
ADRAW_COL_SILVER = 0x00C0C0C0,
ADRAW_COL_LIME = 0x0000FF00,
ADRAW_COL_GRAY = 0x00808080,
ADRAW_COL_OLIVE = 0x00808000,
ADRAW_COL_MAROON = 0x00800000,
ADRAW_COL_NAVY = 0x00000080,
ADRAW_COL_PURPLE = 0x00800080,
ADRAW_COL_TEAL = 0x00008080,
ADRAW_COL_FUCHSIA = 0x00FF00FF,
ADRAW_COL_AQUA = 0x0000FFFF,
ADRAW_COL_INVALID = 0xff000000,
}
ADrawColour;
/** Basic font sizes.
* Enumerated type for different font sizes.
*/
typedef enum
{
ADRAW_FONT_TINY = 0,
ADRAW_FONT_SMALL
}
ADrawFontSize;
/** An ADraw context.
* This is the main structure used for accessing ADraw functions.
* ADrawOpen() returns an instance of this structure that can then be used
* to render to some device. Once drawing is complete, ADrawClose() should
* be called to reclaim resources and finalise any output.
*
* All the functions assume that 0,0 is in the top-left corner of the image,
* and that the dimensions grow towards w,y at the bottom-right corner.
*/
typedef struct ADrawTag
{
/** Draw a line.
* Draw a solid straight line between two points.
* \param ctx The drawing context.
* \param x1 The first x co-ordinate,
* \param y1 The first y co-ordinate,
* \param x2 The second x co-ordinate,
* \param y2 The second y co-ordinate,
*/
void (*line) (struct ADrawTag *ctx,
unsigned int x1,
unsigned int y1,
unsigned int x2,
unsigned int y2);
/** Draw a dotted line.
* Draw a dotted straight line between two points.
* \param ctx The drawing context.
* \param x1 The first x co-ordinate,
* \param y1 The first y co-ordinate,
* \param x2 The second x co-ordinate,
* \param y2 The second y co-ordinate,
*/
void (*dottedLine) (struct ADrawTag *ctx,
unsigned int x1,
unsigned int y1,
unsigned int x2,
unsigned int y2);
/** Left aligned text.
* Write a single line of text that will end at some co-ordinates.
* \param ctx The drawing context.
* \param x The position at which the text should terminate.
* \param y The position above which the text will lie.
* \param string The string to write.
*/
void (*textL) (struct ADrawTag *ctx,
unsigned int x,
unsigned int y,
const char *string);
/** Center aligned text.
* Write a single line of text that will center on some co-ordinates.
* \param ctx The drawing context.
* \param x The position at which the text should be centered.
* \param y The position above which the text will lie.
* \param string The string to write.
*/
void (*textC) (struct ADrawTag *ctx,
unsigned int x,
unsigned int y,
const char *string);
/** Right aligned text.
* Write a single line of text that will start at some co-ordinates.
* \param ctx The drawing context.
* \param x The position at which the text should start.
* \param y The position above which the text will lie.
* \param string The string to write.
*/
void (*textR) (struct ADrawTag *ctx,
unsigned int x,
unsigned int y,
const char *string);
/** Determine the width of some string.
* \param ctx The drawing context.
* \param string The string for which the width should be determined.
* \returns The width of the passed string as it would be rendered
* by the current drawing context.
*/
unsigned int (*textWidth) (struct ADrawTag *ctx,
const char *string);
/** Determine the height of text in the current font.
* \param ctx The drawing context.
*
*/
int (*textHeight) (struct ADrawTag *ctx);
void (*filledRectangle)(struct ADrawTag *ctx,
unsigned int x1,
unsigned int y1,
unsigned int x2,
unsigned int y2);
void (*filledTriangle)(struct ADrawTag *ctx,
unsigned int x1,
unsigned int y1,
unsigned int x2,
unsigned int y2,
unsigned int x3,
unsigned int y3);
void (*filledCircle)(struct ADrawTag *ctx,
unsigned int x,
unsigned int y,
unsigned int r);
/** Draw an arc.
* This draws an arc centred at (cx,cy) which fits in a box of \a w by \a h.
* The arc is drawn from \a s degrees to \a e degrees.
* \note 0 degrees points east on the page and 90 degrees is south.
*
*/
void (*arc) (struct ADrawTag *ctx,
unsigned int cx,
unsigned int cy,
unsigned int w,
unsigned int h,
unsigned int s,
unsigned int e);
void (*dottedArc) (struct ADrawTag *ctx,
unsigned int cx,
unsigned int cy,
unsigned int w,
unsigned int h,
unsigned int s,
unsigned int e);
void (*setPen) (struct ADrawTag *ctx,
ADrawColour col);
void (*setBgPen) (struct ADrawTag *ctx,
ADrawColour col);
void (*setFontSize) (struct ADrawTag *ctx,
ADrawFontSize size);
Boolean (*close) (struct ADrawTag *context);
/* Internal context, not accessible by the user */
void *internal;
}
ADraw;
/***************************************************************************
* Functions
***************************************************************************/
/** Create a new drawing context.
* This will create a drawing context with some dimensions, and some format.
* After this has been called, the function pointers in the returned structure
* can be called together with a pointer to the structure itself to cause
* image functions to be executed.
*
* \param[in] w The width of the output image.
* \param[in] h The height of the output image.
* \param[in] file The file to which the image should be written.
* \param[in] fontName The name of the font to use for rendering.
* \param[in] type The output type to generate.
* \param[in, out] *outContext Pointer to an \a ADraw structure to populate
* with values.
* \retval Boolean On error, #FALSE will be returned.
*/
Boolean ADrawOpen(unsigned int w,
unsigned int h,
const char *file,
const char *fontName,
ADrawOutputType type,
struct ADrawTag *outContext);
/** Given a string name for a colour, return the corresponding ADrawColour.
*
* \param[in] colour The string representation of the colour that is sought.
*/
ADrawColour ADrawGetColour(const char *colour);
/** Compute the position of a point on an arc.
* This allows co-ordinates on arc drawn using arc() or dottedArc() to be
* computed. The centre and bounding box for the arc are supplied as well
* as an angular offset.
*
* \param[in] cx Center of the arc.
* \param[in] cy Center of the arc.
* \param[in] w Arc x-diameter (width).
* \param[in] h Arc y-diameter (height).
* \param[in] degrees Position on the arc to be returned.
* \param[in,out] x Pointer to fill with x coordinate.
* \param[in,out] y Pointer to fill with y coordinate.
*/
void ADrawComputeArcPoint(float cx,
float cy,
float w,
float h,
float degrees,
unsigned int *x,
unsigned int *y);
#endif /* MSCGEN_ADRAW_H */
/* END OF FILE */
| 11,388
|
C++
|
.h
| 264
| 32.950758
| 80
| 0.532287
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,768
|
gd.h
|
doxygen_doxygen/deps/libmscgen/gd.h
|
#ifdef __cplusplus
extern "C" {
#endif
#include <stdlib.h>
#ifndef GD_H
#define GD_H 1
/* Version information. This gets parsed by build scripts as well as
* gcc so each #define line in this group must also be splittable on
* whitespace, take the form GD_*_VERSION and contain the magical
* trailing comment. */
#define GD_MAJOR_VERSION 2 /*version605b5d1778*/
#define GD_MINOR_VERSION 2 /*version605b5d1778*/
#define GD_RELEASE_VERSION 4 /*version605b5d1778*/
#define GD_EXTRA_VERSION "" /*version605b5d1778*/
/* End parsable section. */
/* The version string. This is constructed from the version number
* parts above via macro abuse^Wtrickery. */
#define GDXXX_VERSION_STR(mjr, mnr, rev, ext) mjr "." mnr "." rev ext
#define GDXXX_STR(s) GDXXX_SSTR(s) /* Two levels needed to expand args. */
#define GDXXX_SSTR(s) #s
#define GD_VERSION_STRING \
GDXXX_VERSION_STR(GDXXX_STR(GD_MAJOR_VERSION), \
GDXXX_STR(GD_MINOR_VERSION), \
GDXXX_STR(GD_RELEASE_VERSION), \
GD_EXTRA_VERSION)
/* Do the DLL dance: dllexport when building the DLL,
dllimport when importing from it, nothing when
not on Silly Silly Windows (tm Aardman Productions). */
/* 2.0.20: for headers */
/* 2.0.24: __stdcall also needed for Visual BASIC
and other languages. This breaks ABI compatibility
with previous DLL revs, but it's necessary. */
/* 2.0.29: WIN32 programmers can declare the NONDLL macro if they
wish to build gd as a static library or by directly including
the gd sources in a project. */
/* http://gcc.gnu.org/wiki/Visibility */
#define BGD_EXPORT_DATA_PROT
#define BGD_DECLARE(rt) rt
/* VS2012+ disable keyword macroizing unless _ALLOW_KEYWORD_MACROS is set
We define inline, snprintf, and strcasecmp if they're missing
*/
#ifdef _MSC_VER
# define _ALLOW_KEYWORD_MACROS
# ifndef inline
# define inline __inline
# endif
# ifndef strcasecmp
# define strcasecmp _stricmp
# endif
#if _MSC_VER < 1900
extern int snprintf(char*, size_t, const char*, ...);
#endif
#endif
#ifdef __cplusplus
extern "C"
{
#endif
/* gd.h: declarations file for the graphic-draw module.
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
* that the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation. This software is provided "AS IS." Thomas Boutell and
* Boutell.Com, Inc. disclaim all warranties, either express or implied,
* including but not limited to implied warranties of merchantability and
* fitness for a particular purpose, with respect to this code and accompanying
* documentation. */
/* stdio is needed for file I/O. */
#include <stdio.h>
#include <stdarg.h>
//#include "gd_io.h"
/* The maximum number of palette entries in palette-based images.
In the wonderful new world of gd 2.0, you can of course have
many more colors when using truecolor mode. */
#define gdMaxColors 256
/* Image type. See functions below; you will not need to change
the elements directly. Use the provided macros to
access sx, sy, the color table, and colorsTotal for
read-only purposes. */
/* If 'truecolor' is set true, the image is truecolor;
pixels are represented by integers, which
must be 32 bits wide or more.
True colors are represented as follows:
ARGB
Where 'A' (alpha channel) occupies only the
LOWER 7 BITS of the MSB. This very small
loss of alpha channel resolution allows gd 2.x
to keep backwards compatibility by allowing
signed integers to be used to represent colors,
and negative numbers to represent special cases,
just as in gd 1.x. */
#define gdAlphaMax 127
#define gdAlphaOpaque 0
#define gdAlphaTransparent 127
#define gdRedMax 255
#define gdGreenMax 255
#define gdBlueMax 255
/**
* Group: Color Decomposition
*/
/**
* Macro: gdTrueColorGetAlpha
*
* Gets the alpha channel value
*
* Parameters:
* c - The color
*
* See also:
* - <gdTrueColorAlpha>
*/
#define gdTrueColorGetAlpha(c) (((c) & 0x7F000000) >> 24)
/**
* Macro: gdTrueColorGetRed
*
* Gets the red channel value
*
* Parameters:
* c - The color
*
* See also:
* - <gdTrueColorAlpha>
*/
#define gdTrueColorGetRed(c) (((c) & 0xFF0000) >> 16)
/**
* Macro: gdTrueColorGetGreen
*
* Gets the green channel value
*
* Parameters:
* c - The color
*
* See also:
* - <gdTrueColorAlpha>
*/
#define gdTrueColorGetGreen(c) (((c) & 0x00FF00) >> 8)
/**
* Macro: gdTrueColorGetBlue
*
* Gets the blue channel value
*
* Parameters:
* c - The color
*
* See also:
* - <gdTrueColorAlpha>
*/
#define gdTrueColorGetBlue(c) ((c) & 0x0000FF)
/**
* Group: Effects
*
* The layering effect
*
* When pixels are drawn the new colors are "mixed" with the background
* depending on the effect.
*
* Note that the effect does not apply to palette images, where pixels
* are always replaced.
*
* Modes:
* gdEffectReplace - replace pixels
* gdEffectAlphaBlend - blend pixels, see <gdAlphaBlend>
* gdEffectNormal - default mode; same as gdEffectAlphaBlend
* gdEffectOverlay - overlay pixels, see <gdLayerOverlay>
* gdEffectMultiply - overlay pixels with multiply effect, see
* <gdLayerMultiply>
*
* See also:
* - <gdImageAlphaBlending>
*/
#define gdEffectReplace 0
#define gdEffectAlphaBlend 1
#define gdEffectNormal 2
#define gdEffectOverlay 3
#define gdEffectMultiply 4
#define GD_TRUE 1
#define GD_FALSE 0
#define GD_EPSILON 1e-6
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif
/* This function accepts truecolor pixel values only. The
source color is composited with the destination color
based on the alpha channel value of the source color.
The resulting color is opaque. */
BGD_DECLARE(int) gdAlphaBlend (int dest, int src);
BGD_DECLARE(int) gdLayerOverlay (int dest, int src);
BGD_DECLARE(int) gdLayerMultiply (int dest, int src);
/**
* Group: Color Quantization
*
* Enum: gdPaletteQuantizationMethod
*
* Constants:
* GD_QUANT_DEFAULT - GD_QUANT_LIQ if libimagequant is available,
* GD_QUANT_JQUANT otherwise.
* GD_QUANT_JQUANT - libjpeg's old median cut. Fast, but only uses 16-bit
* color.
* GD_QUANT_NEUQUANT - NeuQuant - approximation using Kohonen neural network.
* GD_QUANT_LIQ - A combination of algorithms used in libimagequant
* aiming for the highest quality at cost of speed.
*
* Note that GD_QUANT_JQUANT does not retain the alpha channel, and
* GD_QUANT_NEUQUANT does not support dithering.
*
* See also:
* - <gdImageTrueColorToPaletteSetMethod>
*/
enum gdPaletteQuantizationMethod {
GD_QUANT_DEFAULT = 0,
GD_QUANT_JQUANT = 1,
GD_QUANT_NEUQUANT = 2,
GD_QUANT_LIQ = 3
};
/**
* Group: Transform
*
* Constants: gdInterpolationMethod
*
* GD_BELL - Bell
* GD_BESSEL - Bessel
* GD_BILINEAR_FIXED - fixed point bilinear
* GD_BICUBIC - Bicubic
* GD_BICUBIC_FIXED - fixed point bicubic integer
* GD_BLACKMAN - Blackman
* GD_BOX - Box
* GD_BSPLINE - BSpline
* GD_CATMULLROM - Catmullrom
* GD_GAUSSIAN - Gaussian
* GD_GENERALIZED_CUBIC - Generalized cubic
* GD_HERMITE - Hermite
* GD_HAMMING - Hamming
* GD_HANNING - Hanning
* GD_MITCHELL - Mitchell
* GD_NEAREST_NEIGHBOUR - Nearest neighbour interpolation
* GD_POWER - Power
* GD_QUADRATIC - Quadratic
* GD_SINC - Sinc
* GD_TRIANGLE - Triangle
* GD_WEIGHTED4 - 4 pixels weighted bilinear interpolation
* GD_LINEAR - bilinear interpolation
*
* See also:
* - <gdImageSetInterpolationMethod>
* - <gdImageGetInterpolationMethod>
*/
typedef enum {
GD_DEFAULT = 0,
GD_BELL,
GD_BESSEL,
GD_BILINEAR_FIXED,
GD_BICUBIC,
GD_BICUBIC_FIXED,
GD_BLACKMAN,
GD_BOX,
GD_BSPLINE,
GD_CATMULLROM,
GD_GAUSSIAN,
GD_GENERALIZED_CUBIC,
GD_HERMITE,
GD_HAMMING,
GD_HANNING,
GD_MITCHELL,
GD_NEAREST_NEIGHBOUR,
GD_POWER,
GD_QUADRATIC,
GD_SINC,
GD_TRIANGLE,
GD_WEIGHTED4,
GD_LINEAR,
GD_METHOD_COUNT = 23
} gdInterpolationMethod;
/* define struct with name and func ptr and add it to gdImageStruct gdInterpolationMethod interpolation; */
/* Interpolation function ptr */
typedef double (* interpolation_method )(double);
/*
Group: Types
typedef: gdImage
typedef: gdImagePtr
The data structure in which gd stores images. <gdImageCreate>,
<gdImageCreateTrueColor> and the various image file-loading functions
return a pointer to this type, and the other functions expect to
receive a pointer to this type as their first argument.
*gdImagePtr* is a pointer to *gdImage*.
See also:
<Accessor Macros>
(Previous versions of this library encouraged directly manipulating
the contents of the struct but we are attempting to move away from
this practice so the fields are no longer documented here. If you
need to poke at the internals of this struct, feel free to look at
*gd.h*.)
*/
typedef struct gdImageStruct {
/* Palette-based image pixels */
unsigned char **pixels;
int sx;
int sy;
/* These are valid in palette images only. See also
'alpha', which appears later in the structure to
preserve binary backwards compatibility */
int colorsTotal;
int red[gdMaxColors];
int green[gdMaxColors];
int blue[gdMaxColors];
int open[gdMaxColors];
/* For backwards compatibility, this is set to the
first palette entry with 100% transparency,
and is also set and reset by the
gdImageColorTransparent function. Newer
applications can allocate palette entries
with any desired level of transparency; however,
bear in mind that many viewers, notably
many web browsers, fail to implement
full alpha channel for PNG and provide
support for full opacity or transparency only. */
int transparent;
int *polyInts;
int polyAllocated;
struct gdImageStruct *brush;
struct gdImageStruct *tile;
int brushColorMap[gdMaxColors];
int tileColorMap[gdMaxColors];
int styleLength;
int stylePos;
int *style;
int interlace;
/* New in 2.0: thickness of line. Initialized to 1. */
int thick;
/* New in 2.0: alpha channel for palettes. Note that only
Macintosh Internet Explorer and (possibly) Netscape 6
really support multiple levels of transparency in
palettes, to my knowledge, as of 2/15/01. Most
common browsers will display 100% opaque and
100% transparent correctly, and do something
unpredictable and/or undesirable for levels
in between. TBB */
int alpha[gdMaxColors];
/* Truecolor flag and pixels. New 2.0 fields appear here at the
end to minimize breakage of existing object code. */
int trueColor;
int **tpixels;
/* Should alpha channel be copied, or applied, each time a
pixel is drawn? This applies to truecolor images only.
No attempt is made to alpha-blend in palette images,
even if semitransparent palette entries exist.
To do that, build your image as a truecolor image,
then quantize down to 8 bits. */
int alphaBlendingFlag;
/* Should the alpha channel of the image be saved? This affects
PNG at the moment; other future formats may also
have that capability. JPEG doesn't. */
int saveAlphaFlag;
/* There should NEVER BE ACCESSOR MACROS FOR ITEMS BELOW HERE, so this
part of the structure can be safely changed in new releases. */
/* 2.0.12: anti-aliased globals. 2.0.26: just a few vestiges after
switching to the fast, memory-cheap implementation from PHP-gd. */
int AA;
int AA_color;
int AA_dont_blend;
/* 2.0.12: simple clipping rectangle. These values
must be checked for safety when set; please use
gdImageSetClip */
int cx1;
int cy1;
int cx2;
int cy2;
/* 2.1.0: allows to specify resolution in dpi */
unsigned int res_x;
unsigned int res_y;
/* Selects quantization method, see gdImageTrueColorToPaletteSetMethod() and gdPaletteQuantizationMethod enum. */
int paletteQuantizationMethod;
/* speed/quality trade-off. 1 = best quality, 10 = best speed. 0 = method-specific default.
Applicable to GD_QUANT_LIQ and GD_QUANT_NEUQUANT. */
int paletteQuantizationSpeed;
/* Image will remain true-color if conversion to palette cannot achieve given quality.
Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/
int paletteQuantizationMinQuality;
/* Image will use minimum number of palette colors needed to achieve given quality. Must be higher than paletteQuantizationMinQuality
Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/
int paletteQuantizationMaxQuality;
gdInterpolationMethod interpolation_id;
interpolation_method interpolation;
}
gdImage;
typedef gdImage *gdImagePtr;
/* Point type for use in polygon drawing. */
/**
* Group: Types
*
* typedef: gdPointF
* Defines a point in a 2D coordinate system using floating point
* values.
* x - Floating point position (increase from left to right)
* y - Floating point Row position (increase from top to bottom)
*
* typedef: gdPointFPtr
* Pointer to a <gdPointF>
*
* See also:
* <gdImageCreate>, <gdImageCreateTrueColor>,
**/
typedef struct
{
double x, y;
}
gdPointF, *gdPointFPtr;
/*
Group: Types
typedef: gdFont
typedef: gdFontPtr
A font structure, containing the bitmaps of all characters in a
font. Used to declare the characteristics of a font. Text-output
functions expect these as their second argument, following the
<gdImagePtr> argument. <gdFontGetSmall> and <gdFontGetLarge> both
return one.
You can provide your own font data by providing such a structure and
the associated pixel array. You can determine the width and height
of a single character in a font by examining the w and h members of
the structure. If you will not be creating your own fonts, you will
not need to concern yourself with the rest of the components of this
structure.
Please see the files gdfontl.c and gdfontl.h for an example of
the proper declaration of this structure.
> typedef struct {
> // # of characters in font
> int nchars;
> // First character is numbered... (usually 32 = space)
> int offset;
> // Character width and height
> int w;
> int h;
> // Font data; array of characters, one row after another.
> // Easily included in code, also easily loaded from
> // data files.
> char *data;
> } gdFont;
gdFontPtr is a pointer to gdFont.
*/
typedef struct {
/* # of characters in font */
int nchars;
/* First character is numbered... (usually 32 = space) */
int offset;
/* Character width and height */
int w;
int h;
/* Font data; array of characters, one row after another.
Easily included in code, also easily loaded from
data files. */
char *data;
}
gdFont;
/* Text functions take these. */
typedef gdFont *gdFontPtr;
typedef void(*gdErrorMethod)(int, const char *, va_list);
BGD_DECLARE(void) gdSetErrorMethod(gdErrorMethod);
BGD_DECLARE(void) gdClearErrorMethod(void);
/* For backwards compatibility only. Use gdImageSetStyle()
for MUCH more flexible line drawing. Also see
gdImageSetBrush(). */
#define gdDashSize 4
/**
* Group: Colors
*
* Colors are always of type int which is supposed to be at least 32 bit large.
*
* Kinds of colors:
* true colors - ARGB values where the alpha channel is stored as most
* significant, and the blue channel as least significant
* byte. Note that the alpha channel only uses the 7 least
* significant bits.
* Don't rely on the internal representation, though, and
* use <gdTrueColorAlpha> to compose a truecolor value, and
* <gdTrueColorGetAlpha>, <gdTrueColorGetRed>,
* <gdTrueColorGetGreen> and <gdTrueColorGetBlue> to access
* the respective channels.
* palette indexes - The index of a color palette entry (0-255).
* special colors - As listed in the following section.
*
* Constants: Special Colors
* gdStyled - use the current style, see <gdImageSetStyle>
* gdBrushed - use the current brush, see <gdImageSetBrush>
* gdStyledBrushed - use the current style and brush
* gdTiled - use the current tile, see <gdImageSetTile>
* gdTransparent - indicate transparency, what is not the same as the
* transparent color index; used for lines only
* gdAntiAliased - draw anti aliased
*/
#define gdStyled (-2)
#define gdBrushed (-3)
#define gdStyledBrushed (-4)
#define gdTiled (-5)
#define gdTransparent (-6)
#define gdAntiAliased (-7)
/* Functions to manipulate images. */
/* Creates a palette-based image (up to 256 colors). */
BGD_DECLARE(gdImagePtr) gdImageCreate (int sx, int sy);
/* An alternate name for the above (2.0). */
#define gdImageCreatePalette gdImageCreate
/* Creates a truecolor image (millions of colors). */
BGD_DECLARE(gdImagePtr) gdImageCreateTrueColor (int sx, int sy);
/* Creates an image from various file types. These functions
return a palette or truecolor image based on the
nature of the file being loaded. Truecolor PNG
stays truecolor; palette PNG stays palette-based;
JPEG is always truecolor. */
BGD_DECLARE(gdImagePtr) gdImageCreateFromPng (FILE * fd);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx (gdIOCtxPtr in);
BGD_DECLARE(gdImagePtr) gdImageCreateFromPngPtr (int size, void *data);
/* These read the first frame only */
BGD_DECLARE(gdImagePtr) gdImageCreateFromGif (FILE * fd);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx (gdIOCtxPtr in);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGifPtr (int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMP (FILE * inFile);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPCtx (gdIOCtx * infile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPPtr (int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpeg (FILE * infile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegEx (FILE * infile, int ignore_warning);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx (gdIOCtx * infile);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtxEx (gdIOCtx * infile, int ignore_warning);
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtr (int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtrEx (int size, void *data, int ignore_warning);
BGD_DECLARE(gdImagePtr) gdImageCreateFromWebp (FILE * inFile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpPtr (int size, void *data);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx (gdIOCtx * infile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromTiff(FILE *inFile);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffCtx(gdIOCtx *infile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffPtr(int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromTga( FILE * fp );
//BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaCtx(gdIOCtx* ctx);
BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaPtr(int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromBmp (FILE * inFile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpPtr (int size, void *data);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpCtx (gdIOCtxPtr infile);
BGD_DECLARE(gdImagePtr) gdImageCreateFromFile(const char *filename);
/*
Group: Types
typedef: gdSource
typedef: gdSourcePtr
*Note:* This interface is *obsolete* and kept only for
*compatibility. Use <gdIOCtx> instead.
Represents a source from which a PNG can be read. Programmers who
do not wish to read PNGs from a file can provide their own
alternate input mechanism, using the <gdImageCreateFromPngSource>
function. See the documentation of that function for an example of
the proper use of this type.
> typedef struct {
> int (*source) (void *context, char *buffer, int len);
> void *context;
> } gdSource, *gdSourcePtr;
The source function must return -1 on error, otherwise the number
of bytes fetched. 0 is EOF, not an error!
'context' will be passed to your source function.
*/
typedef struct {
int (*source) (void *context, char *buffer, int len);
void *context;
}
gdSource, *gdSourcePtr;
/* Deprecated in favor of gdImageCreateFromPngCtx */
BGD_DECLARE(gdImagePtr) gdImageCreateFromPngSource (gdSourcePtr in);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * in);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx (gdIOCtxPtr in);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * in);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx (gdIOCtxPtr in);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ptr (int size, void *data);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * in, int srcx, int srcy, int w,
int h);
//BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx (gdIOCtxPtr in, int srcx, int srcy,
// int w, int h);
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy,
int w, int h);
/* 2.0.10: prototype was missing */
BGD_DECLARE(gdImagePtr) gdImageCreateFromXbm (FILE * in);
//BGD_DECLARE(void) gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out);
/* NOTE: filename, not FILE */
BGD_DECLARE(gdImagePtr) gdImageCreateFromXpm (char *filename);
BGD_DECLARE(void) gdImageDestroy (gdImagePtr im);
/* Replaces or blends with the background depending on the
most recent call to gdImageAlphaBlending and the
alpha channel value of 'color'; default is to overwrite.
Tiling and line styling are also implemented
here. All other gd drawing functions pass through this call,
allowing for many useful effects.
Overlay and multiply effects are used when gdImageAlphaBlending
is passed gdEffectOverlay and gdEffectMultiply */
BGD_DECLARE(void) gdImageSetPixel (gdImagePtr im, int x, int y, int color);
/* FreeType 2 text output with hook to extra flags */
BGD_DECLARE(int) gdImageGetPixel (gdImagePtr im, int x, int y);
BGD_DECLARE(int) gdImageGetTrueColorPixel (gdImagePtr im, int x, int y);
BGD_DECLARE(void) gdImageAABlend (gdImagePtr im);
BGD_DECLARE(void) gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color);
/* For backwards compatibility only. Use gdImageSetStyle()
for much more flexible line drawing. */
BGD_DECLARE(void) gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2,
int color);
/* Corners specified (not width and height). Upper left first, lower right
second. */
BGD_DECLARE(void) gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2,
int color);
/* Solid bar. Upper left corner first, lower right corner second. */
BGD_DECLARE(void) gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2,
int color);
BGD_DECLARE(void) gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2);
BGD_DECLARE(void) gdImageGetClip(gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P);
BGD_DECLARE(void) gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y);
BGD_DECLARE(int) gdImageBoundsSafe (gdImagePtr im, int x, int y);
BGD_DECLARE(void) gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c,
int color);
BGD_DECLARE(void) gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, int c,
int color);
BGD_DECLARE(void) gdImageString (gdImagePtr im, gdFontPtr f, int x, int y,
unsigned char *s, int color);
BGD_DECLARE(void) gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y,
unsigned char *s, int color);
BGD_DECLARE(void) gdImageString16 (gdImagePtr im, gdFontPtr f, int x, int y,
unsigned short *s, int color);
BGD_DECLARE(void) gdImageStringUp16 (gdImagePtr im, gdFontPtr f, int x, int y,
unsigned short *s, int color);
/* 2.0.16: for thread-safe use of gdImageStringFT and friends,
call this before allowing any thread to call gdImageStringFT.
Otherwise it is invoked by the first thread to invoke
gdImageStringFT, with a very small but real risk of a race condition.
Return 0 on success, nonzero on failure to initialize freetype. */
BGD_DECLARE(int) gdFontCacheSetup (void);
/* Optional: clean up after application is done using fonts in
gdImageStringFT(). */
BGD_DECLARE(void) gdFontCacheShutdown (void);
/* 2.0.20: for backwards compatibility. A few applications did start calling
this function when it first appeared although it was never documented.
Simply invokes gdFontCacheShutdown. */
BGD_DECLARE(void) gdFreeFontCache (void);
/* Calls gdImageStringFT. Provided for backwards compatibility only. */
BGD_DECLARE(char *) gdImageStringTTF (gdImage * im, int *brect, int fg, char *fontlist,
double ptsize, double angle, int x, int y,
char *string);
/* FreeType 2 text output */
BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, char *fontlist,
double ptsize, double angle, int x, int y,
char *string);
/*
Group: Types
typedef: gdFTStringExtra
typedef: gdFTStringExtraPtr
A structure and associated pointer type used to pass additional
parameters to the <gdImageStringFTEx> function. See
<gdImageStringFTEx> for the structure definition.
Thanks to Wez Furlong.
*/
/* 2.0.5: provides an extensible way to pass additional parameters.
Thanks to Wez Furlong, sorry for the delay. */
typedef struct {
int flags; /* Logical OR of gdFTEX_ values */
double linespacing; /* fine tune line spacing for '\n' */
int charmap; /* TBB: 2.0.12: may be gdFTEX_Unicode,
gdFTEX_Shift_JIS, gdFTEX_Big5,
or gdFTEX_Adobe_Custom;
when not specified, maps are searched
for in the above order. */
int hdpi; /* if (flags & gdFTEX_RESOLUTION) */
int vdpi; /* if (flags & gdFTEX_RESOLUTION) */
char *xshow; /* if (flags & gdFTEX_XSHOW)
then, on return, xshow is a malloc'ed
string containing xshow position data for
the last string.
NB. The caller is responsible for gdFree'ing
the xshow string.
*/
char *fontpath; /* if (flags & gdFTEX_RETURNFONTPATHNAME)
then, on return, fontpath is a malloc'ed
string containing the actual font file path name
used, which can be interesting when fontconfig
is in use.
The caller is responsible for gdFree'ing the
fontpath string.
*/
}
gdFTStringExtra, *gdFTStringExtraPtr;
#define gdFTEX_LINESPACE 1
#define gdFTEX_CHARMAP 2
#define gdFTEX_RESOLUTION 4
#define gdFTEX_DISABLE_KERNING 8
#define gdFTEX_XSHOW 16
/* The default unless gdFTUseFontConfig(1); has been called:
fontlist is a full or partial font file pathname or list thereof
(i.e. just like before 2.0.29) */
#define gdFTEX_FONTPATHNAME 32
/* Necessary to use fontconfig patterns instead of font pathnames
as the fontlist argument, unless gdFTUseFontConfig(1); has
been called. New in 2.0.29 */
#define gdFTEX_FONTCONFIG 64
/* Sometimes interesting when fontconfig is used: the fontpath
element of the structure above will contain a gdMalloc'd string
copy of the actual font file pathname used, if this flag is set
when the call is made */
#define gdFTEX_RETURNFONTPATHNAME 128
/* If flag is nonzero, the fontlist parameter to gdImageStringFT
and gdImageStringFTEx shall be assumed to be a fontconfig font pattern
if fontconfig was compiled into gd. This function returns zero
if fontconfig is not available, nonzero otherwise. */
BGD_DECLARE(int) gdFTUseFontConfig(int flag);
/* These are NOT flags; set one in 'charmap' if you set the
gdFTEX_CHARMAP bit in 'flags'. */
#define gdFTEX_Unicode 0
#define gdFTEX_Shift_JIS 1
#define gdFTEX_Big5 2
#define gdFTEX_Adobe_Custom 3
BGD_DECLARE(char *) gdImageStringFTEx (gdImage * im, int *brect, int fg, char *fontlist,
double ptsize, double angle, int x, int y,
char *string, gdFTStringExtraPtr strex);
/*
Group: Types
typedef: gdPoint
typedef: gdPointPtr
Represents a point in the coordinate space of the image; used by
<gdImagePolygon>, <gdImageOpenPolygon> and <gdImageFilledPolygon>
for polygon drawing.
> typedef struct {
> int x, y;
> } gdPoint, *gdPointPtr;
*/
typedef struct {
int x, y;
}
gdPoint, *gdPointPtr;
/**
* Typedef: gdRect
*
* A rectangle in the coordinate space of the image
*
* Members:
* x - The x-coordinate of the upper left corner.
* y - The y-coordinate of the upper left corner.
* width - The width.
* height - The height.
*
* Typedef: gdRectPtr
*
* A pointer to a <gdRect>
*/
typedef struct {
int x, y;
int width, height;
}
gdRect, *gdRectPtr;
BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c);
BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c);
BGD_DECLARE(void) gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c);
/* These functions still work with truecolor images,
for which they never return error. */
BGD_DECLARE(int) gdImageColorAllocate (gdImagePtr im, int r, int g, int b);
/* gd 2.0: palette entries with non-opaque transparency are permitted. */
BGD_DECLARE(int) gdImageColorAllocateAlpha (gdImagePtr im, int r, int g, int b, int a);
/* Assumes opaque is the preferred alpha channel value */
BGD_DECLARE(int) gdImageColorClosest (gdImagePtr im, int r, int g, int b);
/* Closest match taking all four parameters into account.
A slightly different color with the same transparency
beats the exact same color with radically different
transparency */
BGD_DECLARE(int) gdImageColorClosestAlpha (gdImagePtr im, int r, int g, int b, int a);
/* An alternate method */
BGD_DECLARE(int) gdImageColorClosestHWB (gdImagePtr im, int r, int g, int b);
/* Returns exact, 100% opaque matches only */
BGD_DECLARE(int) gdImageColorExact (gdImagePtr im, int r, int g, int b);
/* Returns an exact match only, including alpha */
BGD_DECLARE(int) gdImageColorExactAlpha (gdImagePtr im, int r, int g, int b, int a);
/* Opaque only */
BGD_DECLARE(int) gdImageColorResolve (gdImagePtr im, int r, int g, int b);
/* Based on gdImageColorExactAlpha and gdImageColorClosestAlpha */
BGD_DECLARE(int) gdImageColorResolveAlpha (gdImagePtr im, int r, int g, int b, int a);
/* A simpler way to obtain an opaque truecolor value for drawing on a
truecolor image. Not for use with palette images! */
#define gdTrueColor(r, g, b) (((r) << 16) + \
((g) << 8) + \
(b))
/**
* Group: Color Composition
*
* Macro: gdTrueColorAlpha
*
* Compose a truecolor value from its components
*
* Parameters:
* r - The red channel (0-255)
* g - The green channel (0-255)
* b - The blue channel (0-255)
* a - The alpha channel (0-127, where 127 is fully transparent, and 0 is
* completely opaque).
*
* See also:
* - <gdTrueColorGetAlpha>
* - <gdTrueColorGetRed>
* - <gdTrueColorGetGreen>
* - <gdTrueColorGetBlue>
* - <gdImageColorExactAlpha>
*/
#define gdTrueColorAlpha(r, g, b, a) (((a) << 24) + \
((r) << 16) + \
((g) << 8) + \
(b))
BGD_DECLARE(void) gdImageColorDeallocate (gdImagePtr im, int color);
/* Converts a truecolor image to a palette-based image,
using a high-quality two-pass quantization routine
which attempts to preserve alpha channel information
as well as R/G/B color information when creating
a palette. If ditherFlag is set, the image will be
dithered to approximate colors better, at the expense
of some obvious "speckling." colorsWanted can be
anything up to 256. If the original source image
includes photographic information or anything that
came out of a JPEG, 256 is strongly recommended.
Better yet, don't use these function -- write real
truecolor PNGs and JPEGs. The disk space gain of
conversion to palette is not great (for small images
it can be negative) and the quality loss is ugly.
DIFFERENCES: gdImageCreatePaletteFromTrueColor creates and
returns a new image. gdImageTrueColorToPalette modifies
an existing image, and the truecolor pixels are discarded.
gdImageTrueColorToPalette() returns TRUE on success, FALSE on failure.
*/
BGD_DECLARE(gdImagePtr) gdImageCreatePaletteFromTrueColor (gdImagePtr im, int ditherFlag,
int colorsWanted);
BGD_DECLARE(int) gdImageTrueColorToPalette (gdImagePtr im, int ditherFlag,
int colorsWanted);
BGD_DECLARE(int) gdImagePaletteToTrueColor(gdImagePtr src);
/* An attempt at getting the results of gdImageTrueColorToPalette to
* look a bit more like the original (im1 is the original and im2 is
* the palette version */
BGD_DECLARE(int) gdImageColorMatch(gdImagePtr im1, gdImagePtr im2);
/* Selects quantization method used for subsequent gdImageTrueColorToPalette calls.
See gdPaletteQuantizationMethod enum (e.g. GD_QUANT_NEUQUANT, GD_QUANT_LIQ).
Speed is from 1 (highest quality) to 10 (fastest).
Speed 0 selects method-specific default (recommended).
Returns FALSE if the given method is invalid or not available.
*/
BGD_DECLARE(int) gdImageTrueColorToPaletteSetMethod (gdImagePtr im, int method, int speed);
/*
Chooses quality range that subsequent call to gdImageTrueColorToPalette will aim for.
Min and max quality is in range 1-100 (1 = ugly, 100 = perfect). Max must be higher than min.
If palette cannot represent image with at least min_quality, then image will remain true-color.
If palette can represent image with quality better than max_quality, then lower number of colors will be used.
This function has effect only when GD_QUANT_LIQ method has been selected and the source image is true-color.
*/
BGD_DECLARE(void) gdImageTrueColorToPaletteSetQuality (gdImagePtr im, int min_quality, int max_quality);
/* Specifies a color index (if a palette image) or an
RGB color (if a truecolor image) which should be
considered 100% transparent. FOR TRUECOLOR IMAGES,
THIS IS IGNORED IF AN ALPHA CHANNEL IS BEING
SAVED. Use gdImageSaveAlpha(im, 0); to
turn off the saving of a full alpha channel in
a truecolor image. Note that gdImageColorTransparent
is usually compatible with older browsers that
do not understand full alpha channels well. TBB */
BGD_DECLARE(void) gdImageColorTransparent (gdImagePtr im, int color);
BGD_DECLARE(void) gdImagePaletteCopy (gdImagePtr dst, gdImagePtr src);
typedef int (*gdCallbackImageColor)(gdImagePtr im, int src);
BGD_DECLARE(int) gdImageColorReplace(gdImagePtr im, int src, int dst);
BGD_DECLARE(int) gdImageColorReplaceThreshold(gdImagePtr im, int src, int dst, float threshold);
BGD_DECLARE(int) gdImageColorReplaceArray(gdImagePtr im, int len, int *src, int *dst);
BGD_DECLARE(int) gdImageColorReplaceCallback(gdImagePtr im, gdCallbackImageColor callback);
BGD_DECLARE(void) gdImageGif (gdImagePtr im, FILE * out);
BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out);
//BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * out);
//BGD_DECLARE(void) gdImageGifCtx (gdImagePtr im, gdIOCtx * out);
BGD_DECLARE(void) gdImageTiff(gdImagePtr im, FILE *outFile);
BGD_DECLARE(void *) gdImageTiffPtr(gdImagePtr im, int *size);
//BGD_DECLARE(void) gdImageTiffCtx(gdImagePtr image, gdIOCtx *out);
BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression);
BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression);
//BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression);
/* 2.0.12: Compression level: 0-9 or -1, where 0 is NO COMPRESSION at all,
1 is FASTEST but produces larger files, 9 provides the best
compression (smallest files) but takes a long time to compress, and
-1 selects the default compiled into the zlib library. */
BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level);
//BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * out, int level);
BGD_DECLARE(void) gdImageWBMP (gdImagePtr image, int fg, FILE * out);
//BGD_DECLARE(void) gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out);
BGD_DECLARE(int) gdImageFile(gdImagePtr im, const char *filename);
BGD_DECLARE(int) gdSupportsFileType(const char *filename, int writing);
/* Guaranteed to correctly free memory returned by the gdImage*Ptr
functions */
BGD_DECLARE(void) gdFree (void *m);
/* Best to free this memory with gdFree(), not free() */
BGD_DECLARE(void *) gdImageWBMPPtr (gdImagePtr im, int *size, int fg);
/* 100 is highest quality (there is always a little loss with JPEG).
0 is lowest. 10 is about the lowest useful setting. */
BGD_DECLARE(void) gdImageJpeg (gdImagePtr im, FILE * out, int quality);
//BGD_DECLARE(void) gdImageJpegCtx (gdImagePtr im, gdIOCtx * out, int quality);
/* Best to free this memory with gdFree(), not free() */
BGD_DECLARE(void *) gdImageJpegPtr (gdImagePtr im, int *size, int quality);
BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quantization);
BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile);
BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size);
BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization);
//BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization);
/**
* Group: GifAnim
*
* Legal values for Disposal. gdDisposalNone is always used by
* the built-in optimizer if previm is passed.
*
* Constants: gdImageGifAnim
*
* gdDisposalUnknown - Not recommended
* gdDisposalNone - Preserve previous frame
* gdDisposalRestoreBackground - First allocated color of palette
* gdDisposalRestorePrevious - Restore to before start of frame
*
* See also:
* - <gdImageGifAnimAdd>
*/
enum {
gdDisposalUnknown,
gdDisposalNone,
gdDisposalRestoreBackground,
gdDisposalRestorePrevious
};
BGD_DECLARE(void) gdImageGifAnimBegin(gdImagePtr im, FILE *outFile, int GlobalCM, int Loops);
BGD_DECLARE(void) gdImageGifAnimAdd(gdImagePtr im, FILE *outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
BGD_DECLARE(void) gdImageGifAnimEnd(FILE *outFile);
//BGD_DECLARE(void) gdImageGifAnimBeginCtx(gdImagePtr im, gdIOCtx *out, int GlobalCM, int Loops);
//BGD_DECLARE(void) gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtx *out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
//BGD_DECLARE(void) gdImageGifAnimEndCtx(gdIOCtx *out);
BGD_DECLARE(void *) gdImageGifAnimBeginPtr(gdImagePtr im, int *size, int GlobalCM, int Loops);
BGD_DECLARE(void *) gdImageGifAnimAddPtr(gdImagePtr im, int *size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
BGD_DECLARE(void *) gdImageGifAnimEndPtr(int *size);
/*
Group: Types
typedef: gdSink
typedef: gdSinkPtr
*Note:* This interface is *obsolete* and kept only for
*compatibility*. Use <gdIOCtx> instead.
Represents a "sink" (destination) to which a PNG can be
written. Programmers who do not wish to write PNGs to a file can
provide their own alternate output mechanism, using the
<gdImagePngToSink> function. See the documentation of that
function for an example of the proper use of this type.
> typedef struct {
> int (*sink) (void *context, char *buffer, int len);
> void *context;
> } gdSink, *gdSinkPtr;
The _sink_ function must return -1 on error, otherwise the number of
bytes written, which must be equal to len.
_context_ will be passed to your sink function.
*/
typedef struct {
int (*sink) (void *context, const char *buffer, int len);
void *context;
}
gdSink, *gdSinkPtr;
BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr out);
BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out);
BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt);
/* Best to free this memory with gdFree(), not free() */
BGD_DECLARE(void *) gdImageGifPtr (gdImagePtr im, int *size);
/* Best to free this memory with gdFree(), not free() */
BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size);
BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level);
/* Best to free this memory with gdFree(), not free() */
BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size);
/* Best to free this memory with gdFree(), not free() */
BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size);
/* Style is a bitwise OR ( | operator ) of these.
gdArc and gdChord are mutually exclusive;
gdChord just connects the starting and ending
angles with a straight line, while gdArc produces
a rounded edge. gdPie is a synonym for gdArc.
gdNoFill indicates that the arc or chord should be
outlined, not filled. gdEdged, used together with
gdNoFill, indicates that the beginning and ending
angles should be connected to the center; this is
a good way to outline (rather than fill) a
'pie slice'. */
#define gdArc 0
#define gdPie gdArc
#define gdChord 1
#define gdNoFill 2
#define gdEdged 4
BGD_DECLARE(void) gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s,
int e, int color, int style);
BGD_DECLARE(void) gdImageArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e,
int color);
BGD_DECLARE(void) gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int color);
BGD_DECLARE(void) gdImageFilledEllipse (gdImagePtr im, int cx, int cy, int w, int h,
int color);
BGD_DECLARE(void) gdImageFillToBorder (gdImagePtr im, int x, int y, int border,
int color);
BGD_DECLARE(void) gdImageFill (gdImagePtr im, int x, int y, int color);
BGD_DECLARE(void) gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
int srcX, int srcY, int w, int h);
BGD_DECLARE(void) gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
int srcX, int srcY, int w, int h, int pct);
BGD_DECLARE(void) gdImageCopyMergeGray (gdImagePtr dst, gdImagePtr src, int dstX,
int dstY, int srcX, int srcY, int w, int h,
int pct);
/* Stretches or shrinks to fit, as needed. Does NOT attempt
to average the entire set of source pixels that scale down onto the
destination pixel. */
BGD_DECLARE(void) gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
int srcX, int srcY, int dstW, int dstH, int srcW,
int srcH);
/* gd 2.0: stretches or shrinks to fit, as needed. When called with a
truecolor destination image, this function averages the
entire set of source pixels that scale down onto the
destination pixel, taking into account what portion of the
destination pixel each source pixel represents. This is a
floating point operation, but this is not a performance issue
on modern hardware, except for some embedded devices. If the
destination is a palette image, gdImageCopyResized is
substituted automatically. */
BGD_DECLARE(void) gdImageCopyResampled (gdImagePtr dst, gdImagePtr src, int dstX,
int dstY, int srcX, int srcY, int dstW, int dstH,
int srcW, int srcH);
/* gd 2.0.8: gdImageCopyRotated is added. Source
is a rectangle, with its upper left corner at
srcX and srcY. Destination is the *center* of
the rotated copy. Angle is in degrees, same as
gdImageArc. Floating point destination center
coordinates allow accurate rotation of
objects of odd-numbered width or height. */
BGD_DECLARE(void) gdImageCopyRotated (gdImagePtr dst,
gdImagePtr src,
double dstX, double dstY,
int srcX, int srcY,
int srcWidth, int srcHeight, int angle);
BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src);
BGD_DECLARE(void) gdImageSetBrush (gdImagePtr im, gdImagePtr brush);
BGD_DECLARE(void) gdImageSetTile (gdImagePtr im, gdImagePtr tile);
BGD_DECLARE(void) gdImageSetAntiAliased (gdImagePtr im, int c);
BGD_DECLARE(void) gdImageSetAntiAliasedDontBlend (gdImagePtr im, int c, int dont_blend);
BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels);
/* Line thickness (defaults to 1). Affects lines, ellipses,
rectangles, polygons and so forth. */
BGD_DECLARE(void) gdImageSetThickness (gdImagePtr im, int thickness);
/* On or off (1 or 0) for all three of these. */
BGD_DECLARE(void) gdImageInterlace (gdImagePtr im, int interlaceArg);
BGD_DECLARE(void) gdImageAlphaBlending (gdImagePtr im, int alphaBlendingArg);
BGD_DECLARE(void) gdImageSaveAlpha (gdImagePtr im, int saveAlphaArg);
BGD_DECLARE(gdImagePtr) gdImageNeuQuant(gdImagePtr im, const int max_color, int sample_factor);
enum gdPixelateMode {
GD_PIXELATE_UPPERLEFT,
GD_PIXELATE_AVERAGE
};
BGD_DECLARE(int) gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
typedef struct {
int sub;
int plus;
unsigned int num_colors;
int *colors;
unsigned int seed;
} gdScatter, *gdScatterPtr;
BGD_DECLARE(int) gdImageScatter(gdImagePtr im, int sub, int plus);
BGD_DECLARE(int) gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors);
BGD_DECLARE(int) gdImageScatterEx(gdImagePtr im, gdScatterPtr s);
BGD_DECLARE(int) gdImageSmooth(gdImagePtr im, float weight);
BGD_DECLARE(int) gdImageMeanRemoval(gdImagePtr im);
BGD_DECLARE(int) gdImageEmboss(gdImagePtr im);
BGD_DECLARE(int) gdImageGaussianBlur(gdImagePtr im);
BGD_DECLARE(int) gdImageEdgeDetectQuick(gdImagePtr src);
BGD_DECLARE(int) gdImageSelectiveBlur( gdImagePtr src);
BGD_DECLARE(int) gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset);
BGD_DECLARE(int) gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
BGD_DECLARE(int) gdImageContrast(gdImagePtr src, double contrast);
BGD_DECLARE(int) gdImageBrightness(gdImagePtr src, int brightness);
BGD_DECLARE(int) gdImageGrayScale(gdImagePtr src);
BGD_DECLARE(int) gdImageNegate(gdImagePtr src);
BGD_DECLARE(gdImagePtr) gdImageCopyGaussianBlurred(gdImagePtr src, int radius,
double sigma);
/**
* Group: Accessor Macros
*/
/**
* Macro: gdImageTrueColor
*
* Whether an image is a truecolor image.
*
* Parameters:
* im - The image.
*
* Returns:
* Non-zero if the image is a truecolor image, zero for palette images.
*/
#define gdImageTrueColor(im) ((im)->trueColor)
/**
* Macro: gdImageSX
*
* Gets the width (in pixels) of an image.
*
* Parameters:
* im - The image.
*/
#define gdImageSX(im) ((im)->sx)
/**
* Macro: gdImageSY
*
* Gets the height (in pixels) of an image.
*
* Parameters:
* im - The image.
*/
#define gdImageSY(im) ((im)->sy)
/**
* Macro: gdImageColorsTotal
*
* Gets the number of colors in the palette.
*
* This macro is only valid for palette images.
*
* Parameters:
* im - The image
*/
#define gdImageColorsTotal(im) ((im)->colorsTotal)
/**
* Macro: gdImageRed
*
* Gets the red component value of a given color.
*
* Parameters:
* im - The image.
* c - The color.
*/
#define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \
(im)->red[(c)])
/**
* Macro: gdImageGreen
*
* Gets the green component value of a given color.
*
* Parameters:
* im - The image.
* c - The color.
*/
#define gdImageGreen(im, c) ((im)->trueColor ? gdTrueColorGetGreen(c) : \
(im)->green[(c)])
/**
* Macro: gdImageBlue
*
* Gets the blue component value of a given color.
*
* Parameters:
* im - The image.
* c - The color.
*/
#define gdImageBlue(im, c) ((im)->trueColor ? gdTrueColorGetBlue(c) : \
(im)->blue[(c)])
/**
* Macro: gdImageAlpha
*
* Gets the alpha component value of a given color.
*
* Parameters:
* im - The image.
* c - The color.
*/
#define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \
(im)->alpha[(c)])
/**
* Macro: gdImageGetTransparent
*
* Gets the transparent color of the image.
*
* Parameters:
* im - The image.
*
* See also:
* - <gdImageColorTransparent>
*/
#define gdImageGetTransparent(im) ((im)->transparent)
/**
* Macro: gdImageGetInterlaced
*
* Whether an image is interlaced.
*
* Parameters:
* im - The image.
*
* Returns:
* Non-zero for interlaced images, zero otherwise.
*
* See also:
* - <gdImageInterlace>
*/
#define gdImageGetInterlaced(im) ((im)->interlace)
/**
* Macro: gdImagePalettePixel
*
* Gets the color of a pixel.
*
* Calling this macro is only valid for palette images.
* No bounds checking is done for the coordinates.
*
* Parameters:
* im - The image.
* x - The x-coordinate.
* y - The y-coordinate.
*
* See also:
* - <gdImageTrueColorPixel>
* - <gdImageGetPixel>
*/
#define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
/**
* Macro: gdImageTrueColorPixel
*
* Gets the color of a pixel.
*
* Calling this macro is only valid for truecolor images.
* No bounds checking is done for the coordinates.
*
* Parameters:
* im - The image.
* x - The x-coordinate.
* y - The y-coordinate.
*
* See also:
* - <gdImagePalettePixel>
* - <gdImageGetTrueColorPixel>
*/
#define gdImageTrueColorPixel(im, x, y) (im)->tpixels[(y)][(x)]
/**
* Macro: gdImageResolutionX
*
* Gets the horizontal resolution in DPI.
*
* Parameters:
* im - The image.
*
* See also:
* - <gdImageResolutionY>
* - <gdImageSetResolution>
*/
#define gdImageResolutionX(im) (im)->res_x
/**
* Macro: gdImageResolutionY
*
* Gets the vertical resolution in DPI.
*
* Parameters:
* im - The image.
*
* See also:
* - <gdImageResolutionX>
* - <gdImageSetResolution>
*/
#define gdImageResolutionY(im) (im)->res_y
/* I/O Support routines. */
//BGD_DECLARE(gdIOCtx *) gdNewFileCtx (FILE *);
/* If data is null, size is ignored and an initial data buffer is
allocated automatically. NOTE: this function assumes gd has the right
to free or reallocate "data" at will! Also note that gd will free
"data" when the IO context is freed. If data is not null, it must point
to memory allocated with gdMalloc, or by a call to gdImage[something]Ptr.
If not, see gdNewDynamicCtxEx for an alternative. */
//BGD_DECLARE(gdIOCtx *) gdNewDynamicCtx (int size, void *data);
/* 2.0.21: if freeFlag is nonzero, gd will free and/or reallocate "data" as
needed as described above. If freeFlag is zero, gd will never free
or reallocate "data", which means that the context should only be used
for *reading* an image from a memory buffer, or writing an image to a
memory buffer which is already large enough. If the memory buffer is
not large enough and an image write is attempted, the write operation
will fail. Those wishing to write an image to a buffer in memory have
a much simpler alternative in the gdImage[something]Ptr functions. */
//BGD_DECLARE(gdIOCtx *) gdNewDynamicCtxEx (int size, void *data, int freeFlag);
//BGD_DECLARE(gdIOCtx *) gdNewSSCtx (gdSourcePtr in, gdSinkPtr out);
//BGD_DECLARE(void *) gdDPExtractData (struct gdIOCtx *ctx, int *size);
#define GD2_CHUNKSIZE 128
#define GD2_CHUNKSIZE_MIN 64
#define GD2_CHUNKSIZE_MAX 4096
#define GD2_VERS 2
#define GD2_ID "gd2"
#define GD2_FMT_RAW 1
#define GD2_FMT_COMPRESSED 2
/* Image comparison definitions */
BGD_DECLARE(int) gdImageCompare (gdImagePtr im1, gdImagePtr im2);
BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im);
BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
#define GD_FLIP_HORIZONTAL 1
#define GD_FLIP_VERTICAL 2
#define GD_FLIP_BOTH 3
/**
* Group: Crop
*
* Constants: gdCropMode
* GD_CROP_DEFAULT - Default crop mode (4 corners or background)
* GD_CROP_TRANSPARENT - Crop using the transparent color
* GD_CROP_BLACK - Crop black borders
* GD_CROP_WHITE - Crop white borders
* GD_CROP_SIDES - Crop using colors of the 4 corners
*
* See also:
* - <gdImageCropAuto>
**/
enum gdCropMode {
GD_CROP_DEFAULT = 0,
GD_CROP_TRANSPARENT,
GD_CROP_BLACK,
GD_CROP_WHITE,
GD_CROP_SIDES,
GD_CROP_THRESHOLD
};
BGD_DECLARE(gdImagePtr) gdImageCrop(gdImagePtr src, const gdRect *crop);
BGD_DECLARE(gdImagePtr) gdImageCropAuto(gdImagePtr im, const unsigned int mode);
BGD_DECLARE(gdImagePtr) gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id);
BGD_DECLARE(gdInterpolationMethod) gdImageGetInterpolationMethod(gdImagePtr im);
BGD_DECLARE(gdImagePtr) gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height);
BGD_DECLARE(gdImagePtr) gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
typedef enum {
GD_AFFINE_TRANSLATE = 0,
GD_AFFINE_SCALE,
GD_AFFINE_ROTATE,
GD_AFFINE_SHEAR_HORIZONTAL,
GD_AFFINE_SHEAR_VERTICAL
} gdAffineStandardMatrix;
BGD_DECLARE(int) gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]);
BGD_DECLARE(int) gdAffineInvert (double dst[6], const double src[6]);
BGD_DECLARE(int) gdAffineFlip (double dst_affine[6], const double src_affine[6], const int flip_h, const int flip_v);
BGD_DECLARE(int) gdAffineConcat (double dst[6], const double m1[6], const double m2[6]);
BGD_DECLARE(int) gdAffineIdentity (double dst[6]);
BGD_DECLARE(int) gdAffineScale (double dst[6], const double scale_x, const double scale_y);
BGD_DECLARE(int) gdAffineRotate (double dst[6], const double angle);
BGD_DECLARE(int) gdAffineShearHorizontal (double dst[6], const double angle);
BGD_DECLARE(int) gdAffineShearVertical(double dst[6], const double angle);
BGD_DECLARE(int) gdAffineTranslate (double dst[6], const double offset_x, const double offset_y);
BGD_DECLARE(double) gdAffineExpansion (const double src[6]);
BGD_DECLARE(int) gdAffineRectilinear (const double src[6]);
BGD_DECLARE(int) gdAffineEqual (const double matrix1[6], const double matrix2[6]);
BGD_DECLARE(int) gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]);
BGD_DECLARE(int) gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]);
/*
gdTransformAffineCopy(gdImagePtr dst, int x0, int y0, int x1, int y1,
const gdImagePtr src, int src_width, int src_height,
const double affine[6]);
*/
BGD_DECLARE(int) gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
/**
* Group: Image Comparison
*
* Constants:
* GD_CMP_IMAGE - Actual image IS different
* GD_CMP_NUM_COLORS - Number of colors in palette differ
* GD_CMP_COLOR - Image colors differ
* GD_CMP_SIZE_X - Image width differs
* GD_CMP_SIZE_Y - Image heights differ
* GD_CMP_TRANSPARENT - Transparent color differs
* GD_CMP_BACKGROUND - Background color differs
* GD_CMP_INTERLACE - Interlaced setting differs
* GD_CMP_TRUECOLOR - Truecolor vs palette differs
*
* See also:
* - <gdImageCompare>
*/
#define GD_CMP_IMAGE 1
#define GD_CMP_NUM_COLORS 2
#define GD_CMP_COLOR 4
#define GD_CMP_SIZE_X 8
#define GD_CMP_SIZE_Y 16
#define GD_CMP_TRANSPARENT 32
#define GD_CMP_BACKGROUND 64
#define GD_CMP_INTERLACE 128
#define GD_CMP_TRUECOLOR 256
/* resolution affects ttf font rendering, particularly hinting */
#define GD_RESOLUTION 96 /* pixels per inch */
/* Version information functions */
BGD_DECLARE(int) gdMajorVersion(void);
BGD_DECLARE(int) gdMinorVersion(void);
BGD_DECLARE(int) gdReleaseVersion(void);
BGD_DECLARE(const char *) gdExtraVersion(void);
BGD_DECLARE(const char *) gdVersionString(void);
#ifdef __cplusplus
}
#endif
/* newfangled special effects */
//#include "gdfx.h"
#endif /* GD_H */
#ifdef __cplusplus
}
#endif
| 57,017
|
C++
|
.h
| 1,381
| 38.026068
| 152
| 0.72534
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,769
|
gd_errors.h
|
doxygen_doxygen/deps/libmscgen/gd_errors.h
|
#ifndef GD_ERRORS_H
#define GD_ERRORS_H
#ifndef _WIN32
# include <syslog.h>
#else
/*
* priorities/facilities are encoded into a single 32-bit quantity, where the
* bottom 3 bits are the priority (0-7) and the top 28 bits are the facility
* (0-big number). Both the priorities and the facilities map roughly
* one-to-one to strings in the syslogd(8) source code. This mapping is
* included in this file.
*
* priorities (these are ordered)
*/
# define LOG_EMERG 0 /* system is unusable */
# define LOG_ALERT 1 /* action must be taken immediately */
# define LOG_CRIT 2 /* critical conditions */
# define LOG_ERR 3 /* error conditions */
# define LOG_WARNING 4 /* warning conditions */
# define LOG_NOTICE 5 /* normal but significant condition */
# define LOG_INFO 6 /* informational */
# define LOG_DEBUG 7 /* debug-level messages */
#endif
/*
LOG_EMERG system is unusable
LOG_ALERT action must be taken immediately
LOG_CRIT critical conditions
LOG_ERR error conditions
LOG_WARNING warning conditions
LOG_NOTICE normal, but significant, condition
LOG_INFO informational message
LOG_DEBUG debug-level message
*/
#define GD_ERROR LOG_ERR
#define GD_WARNING LOG_WARNING
#define GD_NOTICE LOG_NOTICE
#define GD_INFO LOG_INFO
#define GD_DEBUG LOG_DEBUG
void gd_error(const char *format, ...);
void gd_error_ex(int priority, const char *format, ...);
#endif
| 1,503
|
C++
|
.h
| 41
| 35.341463
| 77
| 0.689087
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,770
|
mscgen_utf8.h
|
doxygen_doxygen/deps/libmscgen/mscgen_utf8.h
|
/***************************************************************************
*
* $Id: utf8.h 93 2009-08-24 20:57:31Z Michael.McTernan $
*
* UTF8 decode routine interface.
* Copyright (C) 2009 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
***************************************************************************/
#ifndef MSCGEN_UTF8_H
#define MSCGEN_UTF8_H
/**************************************************************************
* Includes
**************************************************************************/
#include "mscgen_bool.h"
/**************************************************************************
* Macros
**************************************************************************/
/**************************************************************************
* Types
**************************************************************************/
/**************************************************************************
* Prototypes
**************************************************************************/
Boolean Utf8Decode(const char *s, unsigned int *r, unsigned int *bytes);
#endif
/* END OF FILE */
| 1,886
|
C++
|
.h
| 39
| 46.410256
| 77
| 0.444505
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,771
|
gd_intern.h
|
doxygen_doxygen/deps/libmscgen/gd_intern.h
|
#ifndef GD_INTERN_H
#define GD_INTERN_H
#include <limits.h>
#include <stdint.h>
#ifndef MAXPATHLEN
# ifdef PATH_MAX
# define MAXPATHLEN PATH_MAX
# elif defined(MAX_PATH)
# define MAXPATHLEN MAX_PATH
# else
# if defined(__GNU__)
# define MAXPATHLEN 4096
# else
# define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */
# endif
# endif
#endif
#include "gd.h"
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif
#define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c)))
#ifndef MAX
#define MAX(a,b) ((a)<(b)?(b):(a))
#endif
#define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
typedef enum {
HORIZONTAL,
VERTICAL,
} gdAxis;
/* Convert a double to an unsigned char, rounding to the nearest
* integer and clamping the result between 0 and max. The absolute
* value of clr must be less than the maximum value of an unsigned
* short. */
static inline unsigned char
uchar_clamp(double clr, unsigned char max) {
unsigned short result;
//assert(fabs(clr) <= SHRT_MAX);
/* Casting a negative float to an unsigned short is undefined.
* However, casting a float to a signed truncates toward zero and
* casting a negative signed value to an unsigned of the same size
* results in a bit-identical value (assuming twos-complement
* arithmetic). This is what we want: all legal negative values
* for clr will be greater than 255. */
/* Convert and clamp. */
result = (unsigned short)(short)(clr + 0.5);
if (result > max) {
result = (clr < 0) ? 0 : max;
}/* if */
return (unsigned char)result;
}/* uchar_clamp*/
/* Internal prototypes: */
/* gd_rotate.c */
gdImagePtr gdImageRotate90(gdImagePtr src, int ignoretransparent);
gdImagePtr gdImageRotate180(gdImagePtr src, int ignoretransparent);
gdImagePtr gdImageRotate270(gdImagePtr src, int ignoretransparent);
#endif
| 1,841
|
C++
|
.h
| 57
| 30.385965
| 93
| 0.718661
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,772
|
mscgen_msc.h
|
doxygen_doxygen/deps/libmscgen/mscgen_msc.h
|
/***************************************************************************
*
* $Id: msc.h 175 2011-02-06 21:07:43Z Michael.McTernan $
*
* The message sequence parser API.
* Copyright (C) 2009 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
***************************************************************************/
#ifndef MSCGEN_MSC_H
#define MSCGEN_MSC_H
#include "mscgen_bool.h"
/***************************************************************************
* Types
***************************************************************************/
/** Msc Options.
*/
typedef enum MscOptTypeTag
{
MSC_OPT_HSCALE,
MSC_OPT_WIDTH,
MSC_OPT_ARCGRADIENT,
MSC_OPT_WORDWRAPARCS
}
MscOptType;
/** Arc attributes.
* An arc may have one or more attributes listed in square brackets after
* the declaration. This gives an enumerated type for each permissible
* attribute.
*/
typedef enum MscAttribTypeTag
{
MSC_ATTR_LABEL,
MSC_ATTR_ID,
MSC_ATTR_URL,
MSC_ATTR_IDURL,
MSC_ATTR_LINE_COLOUR,
MSC_ATTR_TEXT_COLOUR,
MSC_ATTR_TEXT_BGCOLOUR,
MSC_ATTR_ARC_LINE_COLOUR,
MSC_ATTR_ARC_TEXT_COLOUR,
MSC_ATTR_ARC_TEXT_BGCOLOUR,
MSC_ATTR_NO_ARROWS,
MSC_ATTR_BI_ARROWS,
MSC_ATTR_ARC_SKIP
}
MscAttribType;
typedef enum
{
MSC_ARC_METHOD,
MSC_ARC_RETVAL,
MSC_ARC_SIGNAL,
MSC_ARC_CALLBACK,
MSC_ARC_DOUBLE,
MSC_ARC_DISCO, /* ... Discontinuity in time line */
MSC_ARC_DIVIDER, /* --- Divider */
MSC_ARC_SPACE, /* ||| */
MSC_ARC_PARALLEL, /* Comma instead of semicolon */
MSC_ARC_BOX,
MSC_ARC_ABOX,
MSC_ARC_RBOX,
MSC_ARC_NOTE,
MSC_ARC_LOSS, /* -x or x- */
MSC_INVALID_ARC_TYPE
}
MscArcType;
/***************************************************************************
* Abstract types
***************************************************************************/
typedef struct MscTag *Msc;
typedef struct MscOptTag *MscOpt;
typedef struct MscEntityTag *MscEntity;
typedef struct MscEntityListTag *MscEntityList;
typedef struct MscArcTag *MscArc;
typedef struct MscArcListTag *MscArcList;
typedef struct MscAttribTag *MscAttrib;
/***************************************************************************
* MSC Building Functions
***************************************************************************/
/** Parse some input to build a message sequence chart.
* This will parse characters from \a in and build a message sequence chart
* ADT.
* \retval Msc The message sequence chart, which may equal \a NULL is a
* parse error occurred.
*/
#ifdef __cplusplus
extern "C" {
#endif
Msc MscParse(FILE *in);
MscEntity MscAllocEntity(char *entityName);
MscEntityList MscLinkEntity(MscEntityList list, MscEntity elem);
void MscPrintEntityList(MscEntityList list);
MscOpt MscAllocOpt(MscOptType type,
char *value);
MscOpt MscLinkOpt(MscOpt head,
MscOpt newHead);
MscArc MscAllocArc(char *srcEntity,
char *dstEntity,
MscArcType type,
unsigned int inputLine);
MscArcList MscLinkArc (MscArcList list,
MscArc elem);
void MscPrintArcList(struct MscArcListTag *list);
MscAttrib MscAllocAttrib(MscAttribType type,
char *value);
MscAttrib MscLinkAttrib(MscAttrib head,
MscAttrib newHead);
void MscArcLinkAttrib(MscArc arc,
MscAttrib att);
void MscEntityLinkAttrib(MscEntity ent,
MscAttrib att);
void MscPrintAttrib(const struct MscAttribTag *att);
const char *MscPrettyAttribType(MscAttribType t);
Msc MscAlloc(MscOpt optList,
MscEntityList entityList,
MscArcList arcList);
void MscFree(struct MscTag *m);
/** Print the passed msc in textual form to stdout.
* This prints a human readable format of the parsed msc to stdout. This
* is primarily of use in debugging the parser.
*/
void MscPrint(Msc m);
unsigned int MscGetNumEntities(Msc m);
unsigned int MscGetNumArcs(Msc m);
unsigned int MscGetNumParallelArcs(Msc m);
unsigned int MscGetNumOpts(Msc m);
/** Get an MSC option, returning the value as a float.
*
* \param[in] m The MSC to analyse.
* \param[in] type The option type to retrieve.
* \param[in,out] f Pointer to be filled with parsed value.
* \retval TRUE If the option was found and parsed successfully.
*/
Boolean MscGetOptAsFloat(struct MscTag *m, MscOptType type, float *const f);
/** Get an MSC option, returning the value as a Boolean.
*
* \param[in] m The MSC to analyse.
* \param[in] type The option type to retrieve.
* \param[in,out] b Pointer to be filled with parsed value.
* \retval TRUE If the option was found and parsed successfully,
* otherwise FALSE in which case *b is unmodified.
*
*/
Boolean MscGetOptAsBoolean(struct MscTag *m, MscOptType type, Boolean *const b);
/** Get the index of some entity.
* This returns the column index for the entity identified by the passed
* label.
*
* \param m The MSC to analyse.
* \param label The label to find.
* \retval -1 If the label was not found, otherwise the column index.
*/
int MscGetEntityIndex(struct MscTag *m, const char *label);
/***************************************************************************
* Entity processing functions
***************************************************************************/
/** \defgroup EntityFuncs Entity handling functions
* @{
*/
/** Reset the entity iterator.
* This moves the pointer to the current entity to the head of the list.
*/
void MscResetEntityIterator(Msc m);
/** Move to the next entity in the MSC.
* \retval TRUE if there is another entity, otherwise FALSE if the end of the
* list has been reached.
*/
Boolean MscNextEntity(struct MscTag *m);
/** Get the value of some attribute for the current entity.
* \retval The attribute string, or NULL if unset.
*/
const char *MscGetCurrentEntAttrib(Msc m, MscAttribType a);
/** Get an attribute associated with some entity.
* \param[in] entIdx The index of the entity.
* \retval The attribute string, or NULL if unset.
*/
const char *MscGetEntAttrib(Msc m, unsigned int entIdx, MscAttribType a);
/** @} */
/***************************************************************************
* Arc processing functions
***************************************************************************/
/** \defgroup ArcFuncs Arc handling functions
* @{
*/
/** Reset the arc iterator.
* This moves the pointer to the current arc to the head of the list.
*/
void MscResetArcIterator (Msc m);
/** Move to the next arc in the MSC.
* \retval TRUE if there is another arc, otherwise FALSE if the end of the
* list has been reached.
*/
Boolean MscNextArc(struct MscTag *m);
/** Get the name of the entity from which the current arc originates.
* \retval The label for the entity from which the current arc starts.
* The returned string must not be modified.
*/
const char *MscGetCurrentArcSource(Msc m);
/** Get the name of the entity at which the current arc terminates.
* \retval The label for the entity at which the current arc stops.
* The returned string must not be modified.
*/
const char *MscGetCurrentArcDest(Msc m);
/** Get the type for some arc.
*
*/
MscArcType MscGetCurrentArcType(struct MscTag *m);
/** Get the value of some attribute for the current arc.
* \retval The attribute string, or NULL if unset.
*/
const char *MscGetCurrentArcAttrib(Msc m, MscAttribType a);
/** Get the line of the input file at which the current arc was defined.
* \retval The line number of the input file.
*/
unsigned int MscGetCurrentArcInputLine(Msc m);
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* MSCGEN_MSC_H */
/* END OF FILE */
| 8,991
|
C++
|
.h
| 233
| 34.961373
| 85
| 0.610561
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,773
|
gdfontt.h
|
doxygen_doxygen/deps/libmscgen/gdfontt.h
|
#ifndef GDFONTT_H
#define GDFONTT_H 1
#ifdef __cplusplus
extern "C"
{
#endif
/*
This is a header file for gd font, generated using
bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz
from bdf font
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-2
at Thu Jan 8 13:49:54 1998.
The original bdf was holding following copyright:
"Libor Skarvada, libor@informatics.muni.cz"
*/
#include "gd.h"
extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontTiny;
BGD_DECLARE(gdFontPtr) gdFontGetTiny(void);
#ifdef __cplusplus
}
#endif
#endif
| 542
|
C++
|
.h
| 22
| 23
| 57
| 0.776265
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| true
| false
| false
| false
| false
| false
| false
|
28,774
|
mscgen_adraw_int.h
|
doxygen_doxygen/deps/libmscgen/mscgen_adraw_int.h
|
/***************************************************************************
*
* $Id: adraw_int.h 115 2010-08-19 09:58:45Z Michael.McTernan $
*
* This file is part of mscgen, a message sequence chart renderer.
* Copyright (C) 2005 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
**************************************************************************/
#ifndef MSCGEN_ADRAW_INT_H
#define MSCGEN_ADRAW_INT_H
#include "mscgen_adraw.h"
/***************************************************************************
* Preprocessor Macros
***************************************************************************/
/* Define macro to suppress unused parameter warnings */
#ifndef UNUSED
# ifdef __GNUC__
# define UNUSED __attribute__((unused))
# else
# define UNUSED
# endif
#endif
/***************************************************************************
* Functions
***************************************************************************/
Boolean NullInit(struct ADrawTag *outContext);
Boolean GdoInit(unsigned int w,
unsigned int h,
const char *file,
const char *fontName,
struct ADrawTag *outContext);
Boolean PsInit(unsigned int w,
unsigned int h,
const char *file,
struct ADrawTag *outContext);
Boolean SvgInit(unsigned int w,
unsigned int h,
const char *file,
struct ADrawTag *outContext);
#endif /* MSCGEN_ADRAW_INT_H */
/* END OF FILE */
| 2,299
|
C++
|
.h
| 54
| 38.018519
| 77
| 0.540734
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,775
|
mscgen_lexer.h
|
doxygen_doxygen/deps/libmscgen/mscgen_lexer.h
|
/***************************************************************************
*
* $Id: lexer.h 152 2010-10-10 14:17:37Z Michael.McTernan $
*
* Extra lexer/scanner API functions.
* Copyright (C) 2010 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
***************************************************************************/
#ifndef MSCGEN_LEXER_H
#define MSCGEN_LEXER_H
/*****************************************************************************
* Header Files
*****************************************************************************/
#include "mscgen_bool.h"
/*****************************************************************************
* Preprocessor Macros & Constants
*****************************************************************************/
/*****************************************************************************
* Typedefs
*****************************************************************************/
/*****************************************************************************
* Global Variable Declarations
*****************************************************************************/
/*****************************************************************************
* Global Function Declarations
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
Boolean lex_getutf8(void);
#ifdef __cplusplus
}
#endif
unsigned long lex_getlinenum(void);
char *lex_getline(void);
void lex_destroy(void);
void lex_resetparser(void);
#endif /* MSCGEN_LEXER_H */
/* END OF FILE */
| 2,348
|
C++
|
.h
| 52
| 43.365385
| 79
| 0.437199
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,776
|
mscgen_bool.h
|
doxygen_doxygen/deps/libmscgen/mscgen_bool.h
|
/***************************************************************************
*
* $Id: bool.h 115 2010-08-19 09:58:45Z Michael.McTernan $
*
* Boolean type for msclib.
* Copyright (C) 2009 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
***************************************************************************/
#ifndef MSCGEN_BOOL_H
#define MSCGEN_BOOL_H
typedef enum
{
FALSE = 0,
TRUE
}
Boolean;
#endif /* MSCGEN_BOOL_H */
/* END OF FILE */
| 1,187
|
C++
|
.h
| 31
| 36.225806
| 77
| 0.647263
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,777
|
mscgen_usage.h
|
doxygen_doxygen/deps/libmscgen/mscgen_usage.h
|
/***************************************************************************
*
* $Id: safe.h 59 2009-07-18 17:31:50Z Michael.McTernan $
*
* This file is part of mscgen, a message sequence chart renderer.
* Copyright (C) 2005 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
**************************************************************************/
#ifndef MSCGEN_USAGE_H
#define MSCGEN_USAGE_H
/*****************************************************************************
* Header Files
*****************************************************************************/
/*****************************************************************************
* Preprocessor Macros & Constants
*****************************************************************************/
/*****************************************************************************
* Typedefs
*****************************************************************************/
/*****************************************************************************
* Global Variable Declarations
*****************************************************************************/
/*****************************************************************************
* Global Function Declarations
*****************************************************************************/
void Usage(void);
void Licence(void);
#endif /* MSCGEN_USAGE_H */
| 2,122
|
C++
|
.h
| 41
| 49.829268
| 79
| 0.418234
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,778
|
gdhelpers.h
|
doxygen_doxygen/deps/libmscgen/gdhelpers.h
|
#ifdef __cplusplus
extern "C" {
#endif
#ifndef GDHELPERS_H
#define GDHELPERS_H 1
/* sys/types.h is needed for size_t on Sparc-SunOS-4.1 */
#ifndef _WIN32_WCE
#include <sys/types.h>
#else
#include <stdlib.h>
#endif /* _WIN32_WCE */
/* TBB: strtok_r is not universal; provide an implementation of it. */
char * gd_strtok_r (char *s, char *sep, char **state);
/* These functions wrap memory management. gdFree is
in gd.h, where callers can utilize it to correctly
free memory allocated by these functions with the
right version of free(). */
void *gdCalloc (size_t nmemb, size_t size);
void *gdMalloc (size_t size);
void *gdRealloc (void *ptr, size_t size);
/* The extended version of gdReallocEx will free *ptr if the
* realloc fails */
void *gdReallocEx (void *ptr, size_t size);
/* Returns nonzero if multiplying the two quantities will
result in integer overflow. Also returns nonzero if
either quantity is negative. By Phil Knirsch based on
netpbm fixes by Alan Cox. */
int overflow2(int a, int b);
/* 2.0.16: portable mutex support for thread safety. */
#if defined(CPP_SHARP)
# define gdMutexDeclare(x)
# define gdMutexSetup(x)
# define gdMutexShutdown(x)
# define gdMutexLock(x)
# define gdMutexUnlock(x)
#elif defined(_WIN32)
/* 2.0.18: must include windows.h to get CRITICAL_SECTION. */
# include <windows.h>
# define gdMutexDeclare(x) CRITICAL_SECTION x
# define gdMutexSetup(x) InitializeCriticalSection(&x)
# define gdMutexShutdown(x) DeleteCriticalSection(&x)
# define gdMutexLock(x) EnterCriticalSection(&x)
# define gdMutexUnlock(x) LeaveCriticalSection(&x)
#elif defined(HAVE_PTHREAD)
# include <pthread.h>
# define gdMutexDeclare(x) pthread_mutex_t x
# define gdMutexSetup(x) pthread_mutex_init(&x, 0)
# define gdMutexShutdown(x) pthread_mutex_destroy(&x)
# define gdMutexLock(x) pthread_mutex_lock(&x)
# define gdMutexUnlock(x) pthread_mutex_unlock(&x)
#else
# define gdMutexDeclare(x)
# define gdMutexSetup(x)
# define gdMutexShutdown(x)
# define gdMutexLock(x)
# define gdMutexUnlock(x)
#endif /* _WIN32 || HAVE_PTHREAD */
#define DPCM2DPI(dpcm) (unsigned int)((dpcm)*2.54 + 0.5)
#define DPM2DPI(dpm) (unsigned int)((dpm)*0.0254 + 0.5)
#define DPI2DPCM(dpi) (unsigned int)((dpi)/2.54 + 0.5)
#define DPI2DPM(dpi) (unsigned int)((dpi)/0.0254 + 0.5)
#endif /* GDHELPERS_H */
#ifdef __cplusplus
}
#endif
| 2,361
|
C++
|
.h
| 65
| 34.738462
| 71
| 0.743545
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| true
| true
| false
| false
| false
| false
| false
| false
|
28,779
|
mscgen_config.h
|
doxygen_doxygen/deps/libmscgen/mscgen_config.h
|
#ifndef MSCGEN_CONFIG_H
#define MSCGEN_CONFIG_H
#if defined(_WIN32) && !defined(__CYGWIN__)
#define M_PI 3.14159265358979323846264338327950288
#define strcasecmp _stricmp
#define strdup _strdup
#define fileno _fileno
#define YY_NO_UNISTD_H 1
#else
#define HAVE_UNISTD_H 1
#endif
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <unistd.h> header file. */
/* Name of package */
#define PACKAGE "mscgen"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "Michael.McTernan.2001@cs.bris.ac.uk"
/* Define to the full name of this package. */
#define PACKAGE_NAME "mscgen"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "mscgen 0.20"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "mscgen"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.20"
/* If set, remove PNG output support thereby removing libgd dependence. */
//#define REMOVE_PNG_OUTPUT /**/
/* Define to 1 if you have the ANSI C header files. */
//#define STDC_HEADERS 1
/* Use FreeType for rendering text in PNGs. */
/* #undef USE_FREETYPE */
/* Version number of package */
#define VERSION "0.20"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
#define YYTEXT_POINTER 1
#endif /* MSCGEN_CONFIG_H */
| 1,498
|
C++
|
.h
| 40
| 36
| 78
| 0.731809
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,780
|
mscgen_language.h
|
doxygen_doxygen/deps/libmscgen/mscgen_language.h
|
/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
under terms of your choice, so long as that work isn't itself a
parser generator using the skeleton or a modified version thereof
as a parser skeleton. Alternatively, if you modify or redistribute
the parser skeleton itself, you may (at your option) remove this
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
TOK_STRING = 258,
TOK_QSTRING = 259,
TOK_EQUAL = 260,
TOK_COMMA = 261,
TOK_SEMICOLON = 262,
TOK_OCBRACKET = 263,
TOK_CCBRACKET = 264,
TOK_OSBRACKET = 265,
TOK_CSBRACKET = 266,
TOK_MSC = 267,
TOK_ATTR_LABEL = 268,
TOK_ATTR_URL = 269,
TOK_ATTR_ID = 270,
TOK_ATTR_IDURL = 271,
TOK_ATTR_LINE_COLOUR = 272,
TOK_ATTR_TEXT_COLOUR = 273,
TOK_ATTR_TEXT_BGCOLOUR = 274,
TOK_ATTR_ARC_LINE_COLOUR = 275,
TOK_ATTR_ARC_TEXT_COLOUR = 276,
TOK_ATTR_ARC_TEXT_BGCOLOUR = 277,
TOK_REL_LOSS_TO = 278,
TOK_REL_LOSS_FROM = 279,
TOK_REL_SIG_BI = 280,
TOK_REL_SIG_TO = 281,
TOK_REL_SIG_FROM = 282,
TOK_REL_METHOD_BI = 283,
TOK_REL_METHOD_TO = 284,
TOK_REL_METHOD_FROM = 285,
TOK_REL_RETVAL_BI = 286,
TOK_REL_RETVAL_TO = 287,
TOK_REL_RETVAL_FROM = 288,
TOK_REL_DOUBLE_BI = 289,
TOK_REL_DOUBLE_TO = 290,
TOK_REL_DOUBLE_FROM = 291,
TOK_REL_CALLBACK_BI = 292,
TOK_REL_CALLBACK_TO = 293,
TOK_REL_CALLBACK_FROM = 294,
TOK_REL_BOX = 295,
TOK_REL_ABOX = 296,
TOK_REL_RBOX = 297,
TOK_REL_NOTE = 298,
TOK_SPECIAL_ARC = 299,
TOK_OPT_HSCALE = 300,
TOK_OPT_WIDTH = 301,
TOK_OPT_ARCGRADIENT = 302,
TOK_OPT_WORDWRAPARCS = 303,
TOK_ASTERISK = 304,
TOK_UNKNOWN = 305,
TOK_REL_SIG = 306,
TOK_REL_METHOD = 307,
TOK_REL_RETVAL = 308,
TOK_REL_DOUBLE = 309,
TOK_ATTR_ARC_SKIP = 310
};
#endif
/* Tokens. */
#define TOK_STRING 258
#define TOK_QSTRING 259
#define TOK_EQUAL 260
#define TOK_COMMA 261
#define TOK_SEMICOLON 262
#define TOK_OCBRACKET 263
#define TOK_CCBRACKET 264
#define TOK_OSBRACKET 265
#define TOK_CSBRACKET 266
#define TOK_MSC 267
#define TOK_ATTR_LABEL 268
#define TOK_ATTR_URL 269
#define TOK_ATTR_ID 270
#define TOK_ATTR_IDURL 271
#define TOK_ATTR_LINE_COLOUR 272
#define TOK_ATTR_TEXT_COLOUR 273
#define TOK_ATTR_TEXT_BGCOLOUR 274
#define TOK_ATTR_ARC_LINE_COLOUR 275
#define TOK_ATTR_ARC_TEXT_COLOUR 276
#define TOK_ATTR_ARC_TEXT_BGCOLOUR 277
#define TOK_REL_LOSS_TO 278
#define TOK_REL_LOSS_FROM 279
#define TOK_REL_SIG_BI 280
#define TOK_REL_SIG_TO 281
#define TOK_REL_SIG_FROM 282
#define TOK_REL_METHOD_BI 283
#define TOK_REL_METHOD_TO 284
#define TOK_REL_METHOD_FROM 285
#define TOK_REL_RETVAL_BI 286
#define TOK_REL_RETVAL_TO 287
#define TOK_REL_RETVAL_FROM 288
#define TOK_REL_DOUBLE_BI 289
#define TOK_REL_DOUBLE_TO 290
#define TOK_REL_DOUBLE_FROM 291
#define TOK_REL_CALLBACK_BI 292
#define TOK_REL_CALLBACK_TO 293
#define TOK_REL_CALLBACK_FROM 294
#define TOK_REL_BOX 295
#define TOK_REL_ABOX 296
#define TOK_REL_RBOX 297
#define TOK_REL_NOTE 298
#define TOK_SPECIAL_ARC 299
#define TOK_OPT_HSCALE 300
#define TOK_OPT_WIDTH 301
#define TOK_OPT_ARCGRADIENT 302
#define TOK_OPT_WORDWRAPARCS 303
#define TOK_ASTERISK 304
#define TOK_UNKNOWN 305
#define TOK_REL_SIG 306
#define TOK_REL_METHOD 307
#define TOK_REL_RETVAL 308
#define TOK_REL_DOUBLE 309
#define TOK_ATTR_ARC_SKIP 310
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 1676 of yacc.c */
#line 248 "language.y"
char *string;
Msc msc;
MscOpt opt;
MscOptType optType;
MscArc arc;
MscArcList arclist;
MscArcType arctype;
MscEntity entity;
MscEntityList entitylist;
MscAttrib attrib;
MscAttribType attribType;
/* Line 1676 of yacc.c */
#line 178 "language.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
| 5,435
|
C++
|
.h
| 164
| 29.518293
| 78
| 0.712457
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,781
|
gdfonts.h
|
doxygen_doxygen/deps/libmscgen/gdfonts.h
|
#ifndef GDFONTS_H
#define GDFONTS_H 1
#ifdef __cplusplus
extern "C"
{
#endif
/*
This is a header file for gd font, generated using
bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz
from bdf font
-misc-fixed-medium-r-semicondensed-sans-12-116-75-75-c-60-iso8859-2
at Thu Jan 8 14:13:20 1998.
No copyright info was found in the original bdf.
*/
#include "gd.h"
extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontSmall;
BGD_DECLARE(gdFontPtr) gdFontGetSmall(void);
#ifdef __cplusplus
}
#endif
#endif
| 511
|
C++
|
.h
| 21
| 22.714286
| 68
| 0.77686
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| true
| false
| false
| false
| false
| false
| false
|
28,782
|
mscgen_api.h
|
doxygen_doxygen/deps/libmscgen/mscgen_api.h
|
#ifndef MSCGEN_API_H
#define MSCGEN_API_H
#ifdef __cplusplus
extern "C" {
#endif
#define MSCGEN_OK ( 0)
#define MSCGEN_FILE_ERROR (-1)
#define MSCGEN_INPUT_FORMAT_ERROR (-2)
#define MSCGEN_OUTPUT_CONTEXT_ERROR (-3)
/** The supported image formats */
typedef enum
{
mscgen_format_png, /**< PNG bitmap image file */
mscgen_format_eps, /**< Encapsulated PostScript file */
mscgen_format_svg, /**< Scalable Vector Graphics file */
mscgen_format_pngmap, /**< Image map for a bitmap file */
mscgen_format_svgmap /**< Image map for a SVG file */
} mscgen_format_t;
/** generate an image file for a given .msc file.
* @param inputFile the name of the MSC file to process.
* @param outputFile the name of the image file to generate.
* @param format the format of the image file to generate.
* @return 0 on success, a non zero error code on failure.
*/
int mscgen_generate(const char *inputFile,
const char *outputFile,
mscgen_format_t format
);
/** Translates the error code returned by mscgen_generate into a string */
const char *mscgen_error2str(int code);
#ifdef __cplusplus
}
#endif
#endif // MSCGEN_API_H
| 1,218
|
C++
|
.h
| 34
| 32.441176
| 74
| 0.678845
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,783
|
gd_color.h
|
doxygen_doxygen/deps/libmscgen/gd_color.h
|
#ifndef GD_COLOR_H
#define GD_COLOR_H 1
#ifdef __cplusplus
extern "C" {
#endif
int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold);
#ifdef __cplusplus
}
#endif
#endif
| 189
|
C++
|
.h
| 10
| 17.4
| 70
| 0.765714
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
28,785
|
version.h
|
doxygen_doxygen/deps/spdlog/include/spdlog/version.h
|
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#define SPDLOG_VER_MAJOR 1
#define SPDLOG_VER_MINOR 14
#define SPDLOG_VER_PATCH 1
#define SPDLOG_TO_VERSION(major, minor, patch) (major * 10000 + minor * 100 + patch)
#define SPDLOG_VERSION SPDLOG_TO_VERSION(SPDLOG_VER_MAJOR, SPDLOG_VER_MINOR, SPDLOG_VER_PATCH)
| 417
|
C++
|
.h
| 8
| 50.75
| 94
| 0.775862
|
doxygen/doxygen
| 5,592
| 1,269
| 1,920
|
GPL-2.0
|
9/20/2024, 9:26:25 PM (Europe/Amsterdam)
| false
| false
| false
| false
| false
| false
| false
| false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.