translatordecoder.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * 
00004  *
00005  * Copyright (C) 1997-2008 by Dimitri van Heesch.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and its
00008  * documentation under the terms of the GNU General Public License is hereby 
00009  * granted. No representations are made about the suitability of this software 
00010  * for any purpose. It is provided "as is" without express or implied warranty.
00011  * See the GNU General Public License for more details.
00012  *
00013  * Documents produced by Doxygen are derivative works derived from the
00014  * input used in their production; they are not affected by this license.
00015  *
00016  */
00017 
00018 #ifndef TRANSLATORDECODER_H
00019 #define TRANSLATORDECODER_H
00020 
00021 #include "translator.h"
00022 #include "portable.h"
00023 
00024 class TranslatorDecoder : public Translator
00025 {
00026   public:
00027 
00028     TranslatorDecoder(Translator *translator) : m_translator(translator) 
00029     {
00030       m_toUtf8   = portable_iconv_open("UTF-8",translator->idLanguageCharset()); 
00031       m_fromUtf8 = portable_iconv_open(translator->idLanguageCharset(),"UTF-8"); 
00032     }
00033     virtual ~TranslatorDecoder() 
00034     { 
00035       if (m_toUtf8!=(void *)(-1))   portable_iconv_close(m_toUtf8);
00036       if (m_fromUtf8!=(void *)(-1)) portable_iconv_close(m_fromUtf8);
00037       delete m_translator; 
00038     }
00039    
00044     virtual QCString updateNeededMessage() { return m_translator->updateNeededMessage(); }
00045 
00046     // Please, have a look at comments inside the translator_en.h file
00047     // to learn the meaning of the following methods.  The translator_en.h
00048     // file contains the TranslatorEnglish implementation, which is 
00049     // always up-to-date (by definition).
00050    
00051     // --- Language control methods -------------------
00052     
00053     QCString idLanguage()  
00054     { return m_translator->idLanguage(); }
00055     QCString latexLanguageSupportCommand()  
00056     { return m_translator->latexLanguageSupportCommand(); }
00057     QCString idLanguageCharset()  
00058     { return m_translator->idLanguageCharset(); }
00059 
00060     QCString recode(const QCString &s,void *cd) 
00061     {
00062       if (cd==(void*)(-1)) return s;
00063       int iSize        = s.length();
00064       int oSize        = iSize*4+1;
00065       QCString output(oSize);
00066       size_t iLeft     = iSize;
00067       size_t oLeft     = oSize;
00068       const char *iPtr = s.data();
00069       char *oPtr       = output.data();
00070       if (!portable_iconv(cd,&iPtr,&iLeft,&oPtr,&oLeft))
00071       {
00072         oSize -= oLeft;
00073         output.resize(oSize+1);
00074         output.at(oSize)='\0';
00075         return output;
00076       }
00077       else
00078       {
00079         return s;
00080       }
00081     }
00082     QCString toUtf8(const QCString &s) 
00083     {
00084       return recode(s,m_toUtf8);
00085     }
00086     QCString fromUtf8(const QCString &s) 
00087     {
00088       return recode(s,m_fromUtf8);
00089     }
00090 
00091     // --- Language translation methods -------------------
00092 
00093     QCString trRelatedFunctions()  
00094     { return toUtf8(m_translator->trRelatedFunctions()); }
00095     QCString trRelatedSubscript()  
00096     { return toUtf8(m_translator->trRelatedSubscript()); }
00097     QCString trDetailedDescription()  
00098     { return toUtf8(m_translator->trDetailedDescription()); }
00099     QCString trMemberTypedefDocumentation()  
00100     { return toUtf8(m_translator->trMemberTypedefDocumentation()); }
00101     QCString trMemberEnumerationDocumentation()  
00102     { return toUtf8(m_translator->trMemberEnumerationDocumentation()); }
00103         
00104     QCString trMemberFunctionDocumentation()  
00105     { return toUtf8(m_translator->trMemberFunctionDocumentation()); }
00106     QCString trMemberDataDocumentation()  
00107     { return toUtf8(m_translator->trMemberDataDocumentation()); }
00108     QCString trMore()  
00109     { return toUtf8(m_translator->trMore()); }
00110     QCString trListOfAllMembers()  
00111     { return toUtf8(m_translator->trListOfAllMembers()); }
00112     QCString trMemberList()  
00113     { return toUtf8(m_translator->trMemberList()); }
00114     QCString trThisIsTheListOfAllMembers()  
00115     { return toUtf8(m_translator->trThisIsTheListOfAllMembers()); }
00116     QCString trIncludingInheritedMembers()  
00117     { return toUtf8(m_translator->trIncludingInheritedMembers()); }
00118     QCString trGeneratedAutomatically(const char *s)  
00119     { return toUtf8(m_translator->trGeneratedAutomatically(fromUtf8(s))); }
00120     QCString trEnumName()  
00121     { return toUtf8(m_translator->trEnumName()); }
00122     QCString trEnumValue()  
00123     { return toUtf8(m_translator->trEnumValue()); }
00124     QCString trDefinedIn()  
00125     { return toUtf8(m_translator->trDefinedIn()); }
00126 
00127     // quick reference sections
00128 
00129     QCString trModules()  
00130     { return toUtf8(m_translator->trModules()); }
00131     QCString trClassHierarchy()  
00132     { return toUtf8(m_translator->trClassHierarchy()); }
00133     QCString trCompoundList()  
00134     { return toUtf8(m_translator->trCompoundList()); }
00135     
00136     QCString trFileList()  
00137     { return toUtf8(m_translator->trFileList()); }
00138     QCString trCompoundMembers()  
00139     { return toUtf8(m_translator->trCompoundMembers()); }
00140     QCString trFileMembers()  
00141     { return toUtf8(m_translator->trFileMembers()); }
00142     QCString trRelatedPages()  
00143     { return toUtf8(m_translator->trRelatedPages()); }
00144     QCString trExamples()  
00145     { return toUtf8(m_translator->trExamples()); }
00146     QCString trSearch()  
00147     { return toUtf8(m_translator->trSearch()); }
00148     QCString trClassHierarchyDescription()  
00149     { return toUtf8(m_translator->trClassHierarchyDescription()); }
00150     QCString trFileListDescription(bool extractAll)  
00151     { return toUtf8(m_translator->trFileListDescription(extractAll)); }
00152     QCString trCompoundListDescription()  
00153     { return toUtf8(m_translator->trCompoundListDescription()); }
00154     QCString trCompoundMembersDescription(bool extractAll)  
00155     { return toUtf8(m_translator->trCompoundMembersDescription(extractAll)); }
00156     QCString trFileMembersDescription(bool extractAll)  
00157     { return toUtf8(m_translator->trFileMembersDescription(extractAll)); }
00158     QCString trExamplesDescription()  
00159     { return toUtf8(m_translator->trExamplesDescription()); }
00160     QCString trRelatedPagesDescription()  
00161     { return toUtf8(m_translator->trRelatedPagesDescription()); }
00162     QCString trModulesDescription()  
00163     { return toUtf8(m_translator->trModulesDescription()); }
00164     
00165     // index titles (the project name is prepended for these) 
00166 
00167     QCString trDocumentation()  
00168     { return toUtf8(m_translator->trDocumentation()); }
00169     QCString trModuleIndex()  
00170     { return toUtf8(m_translator->trModuleIndex()); }
00171     QCString trHierarchicalIndex()  
00172     { return toUtf8(m_translator->trHierarchicalIndex()); }
00173     QCString trCompoundIndex()  
00174     { return toUtf8(m_translator->trCompoundIndex()); }
00175     QCString trFileIndex()  
00176     { return toUtf8(m_translator->trFileIndex()); } 
00177     QCString trModuleDocumentation()  
00178     { return toUtf8(m_translator->trModuleDocumentation()); }
00179     QCString trClassDocumentation()  
00180     { return toUtf8(m_translator->trClassDocumentation()); }
00181     QCString trFileDocumentation()  
00182     { return toUtf8(m_translator->trFileDocumentation()); }
00183     QCString trExampleDocumentation()  
00184     { return toUtf8(m_translator->trExampleDocumentation()); }
00185     QCString trPageDocumentation()  
00186     { return toUtf8(m_translator->trPageDocumentation()); }
00187     QCString trReferenceManual()  
00188     { return toUtf8(m_translator->trReferenceManual()); }
00189     QCString trDefines()  
00190     { return toUtf8(m_translator->trDefines()); }
00191     QCString trFuncProtos()  
00192     { return toUtf8(m_translator->trFuncProtos()); }
00193     QCString trTypedefs()  
00194     { return toUtf8(m_translator->trTypedefs()); }
00195     QCString trEnumerations()  
00196     { return toUtf8(m_translator->trEnumerations()); }
00197     QCString trFunctions()  
00198     { return toUtf8(m_translator->trFunctions()); }
00199     QCString trVariables()  
00200     { return toUtf8(m_translator->trVariables()); }
00201     QCString trEnumerationValues()  
00202     { return toUtf8(m_translator->trEnumerationValues()); }
00203     QCString trDefineDocumentation()  
00204     { return toUtf8(m_translator->trDefineDocumentation()); }
00205     QCString trFunctionPrototypeDocumentation()  
00206     { return toUtf8(m_translator->trFunctionPrototypeDocumentation()); }
00207     QCString trTypedefDocumentation()  
00208     { return toUtf8(m_translator->trTypedefDocumentation()); }
00209     QCString trEnumerationTypeDocumentation()  
00210     { return toUtf8(m_translator->trEnumerationTypeDocumentation()); }
00211     QCString trFunctionDocumentation()  
00212     { return toUtf8(m_translator->trFunctionDocumentation()); }
00213     QCString trVariableDocumentation()  
00214     { return toUtf8(m_translator->trVariableDocumentation()); }
00215     QCString trCompounds()  
00216     { return toUtf8(m_translator->trCompounds()); }
00217     QCString trGeneratedAt(const char *date,const char *projName)  
00218     { return toUtf8(m_translator->trGeneratedAt(fromUtf8(date),fromUtf8(projName))); }
00219     QCString trWrittenBy()  
00220     { return toUtf8(m_translator->trWrittenBy()); }
00221     QCString trClassDiagram(const char *clName)  
00222     { return toUtf8(m_translator->trClassDiagram(fromUtf8(clName))); }
00223     QCString trForInternalUseOnly()  
00224     { return toUtf8(m_translator->trForInternalUseOnly()); }
00225     QCString trWarning()  
00226     { return toUtf8(m_translator->trWarning()); }
00227     QCString trVersion()  
00228     { return toUtf8(m_translator->trVersion()); }
00229     QCString trDate()  
00230     { return toUtf8(m_translator->trDate()); }
00231     QCString trReturns()  
00232     { return toUtf8(m_translator->trReturns()); }
00233     QCString trSeeAlso()  
00234     { return toUtf8(m_translator->trSeeAlso()); }
00235     QCString trParameters()  
00236     { return toUtf8(m_translator->trParameters()); }
00237     QCString trExceptions()  
00238     { return toUtf8(m_translator->trExceptions()); }
00239     QCString trGeneratedBy()  
00240     { return toUtf8(m_translator->trGeneratedBy()); }
00241 
00243 // new since 0.49-990307
00245     
00246     QCString trNamespaceList()  
00247     { return toUtf8(m_translator->trNamespaceList()); }
00248     QCString trNamespaceListDescription(bool extractAll)  
00249     { return toUtf8(m_translator->trNamespaceListDescription(extractAll)); }
00250     QCString trFriends()  
00251     { return toUtf8(m_translator->trFriends()); }
00252     
00254 // new since 0.49-990405
00256     
00257     QCString trRelatedFunctionDocumentation()  
00258     { return toUtf8(m_translator->trRelatedFunctionDocumentation()); }
00259     
00261 // new since 0.49-990425
00263 
00264     QCString trCompoundReference(const char *clName,
00265                                  ClassDef::CompoundType compType,
00266                                  bool isTemplate)  
00267     { return toUtf8(m_translator->trCompoundReference(fromUtf8(clName),compType,isTemplate)); }
00268 
00269     
00270     QCString trFileReference(const char *fileName)  
00271     { return toUtf8(m_translator->trFileReference(fromUtf8(fileName))); }
00272     QCString trNamespaceReference(const char *namespaceName)  
00273     { return toUtf8(m_translator->trNamespaceReference(fromUtf8(namespaceName))); }
00274     
00275     QCString trPublicMembers()  
00276     { return toUtf8(m_translator->trPublicMembers()); }
00277     QCString trPublicSlots()  
00278     { return toUtf8(m_translator->trPublicSlots()); }
00279     QCString trSignals()  
00280     { return toUtf8(m_translator->trSignals()); }
00281     QCString trStaticPublicMembers()  
00282     { return toUtf8(m_translator->trStaticPublicMembers()); }
00283     QCString trProtectedMembers()  
00284     { return toUtf8(m_translator->trProtectedMembers()); }
00285     QCString trProtectedSlots()  
00286     { return toUtf8(m_translator->trProtectedSlots()); }
00287     QCString trStaticProtectedMembers()  
00288     { return toUtf8(m_translator->trStaticProtectedMembers()); }
00289     QCString trPrivateMembers()  
00290     { return toUtf8(m_translator->trPrivateMembers()); }
00291     QCString trPrivateSlots()  
00292     { return toUtf8(m_translator->trPrivateSlots()); }
00293     QCString trStaticPrivateMembers()  
00294     { return toUtf8(m_translator->trStaticPrivateMembers()); }
00295     QCString trWriteList(int numEntries)  
00296     { return toUtf8(m_translator->trWriteList(numEntries)); }
00297     QCString trInheritsList(int numEntries)  
00298     { return toUtf8(m_translator->trInheritsList(numEntries)); }
00299     QCString trInheritedByList(int numEntries)  
00300     { return toUtf8(m_translator->trInheritedByList(numEntries)); }
00301     QCString trReimplementedFromList(int numEntries)  
00302     { return toUtf8(m_translator->trReimplementedFromList(numEntries)); }
00303     QCString trReimplementedInList(int numEntries)  
00304     { return toUtf8(m_translator->trReimplementedInList(numEntries)); }
00305     QCString trNamespaceMembers()  
00306     { return toUtf8(m_translator->trNamespaceMembers()); }
00307     QCString trNamespaceMemberDescription(bool extractAll)  
00308     { return toUtf8(m_translator->trNamespaceMemberDescription(extractAll)); }
00309     
00310     QCString trNamespaceIndex()  
00311     { return toUtf8(m_translator->trNamespaceIndex()); }
00312     QCString trNamespaceDocumentation()  
00313     { return toUtf8(m_translator->trNamespaceDocumentation()); }
00314 
00316 // new since 0.49-990522
00318 
00319     QCString trNamespaces()  
00320     { return toUtf8(m_translator->trNamespaces()); }
00321 
00323 // new since 0.49-990728
00325 
00326     QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
00327                                           bool single)  
00328     { return toUtf8(m_translator->trGeneratedFromFiles(compType,single)); }
00329     
00330     
00331     QCString trAlphabeticalList()  
00332     { return toUtf8(m_translator->trAlphabeticalList()); }
00333 
00335 // new since 0.49-990901
00337 
00338     QCString trReturnValues()  
00339     { return toUtf8(m_translator->trReturnValues()); }
00340     QCString trMainPage()  
00341     { return toUtf8(m_translator->trMainPage()); }
00342     QCString trPageAbbreviation()  
00343     { return toUtf8(m_translator->trPageAbbreviation()); }
00344 
00346 // new since 0.49-991003
00348 
00349     QCString trDefinedAtLineInSourceFile()  
00350     { return toUtf8(m_translator->trDefinedAtLineInSourceFile()); }
00351     QCString trDefinedInSourceFile()  
00352     { return toUtf8(m_translator->trDefinedInSourceFile()); }
00353 
00355 // new since 0.49-991205
00357 
00358     QCString trDeprecated()  
00359     { return toUtf8(m_translator->trDeprecated()); }
00360 
00362 // new since 1.0.0
00364 
00365     QCString trCollaborationDiagram(const char *clName)  
00366     { return toUtf8(m_translator->trCollaborationDiagram(fromUtf8(clName))); }
00367     QCString trInclDepGraph(const char *fName)  
00368     { return toUtf8(m_translator->trInclDepGraph(fromUtf8(fName))); }
00369     QCString trConstructorDocumentation()  
00370     { return toUtf8(m_translator->trConstructorDocumentation()); }
00371     QCString trGotoSourceCode()  
00372     { return toUtf8(m_translator->trGotoSourceCode()); }
00373     QCString trGotoDocumentation()  
00374     { return toUtf8(m_translator->trGotoDocumentation()); }
00375     QCString trPrecondition()  
00376     { return toUtf8(m_translator->trPrecondition()); }
00377     QCString trPostcondition()  
00378     { return toUtf8(m_translator->trPostcondition()); }
00379     QCString trInvariant()  
00380     { return toUtf8(m_translator->trInvariant()); }
00381     QCString trInitialValue()  
00382     { return toUtf8(m_translator->trInitialValue()); }
00383     QCString trCode()  
00384     { return toUtf8(m_translator->trCode()); }
00385 
00386     QCString trGraphicalHierarchy()  
00387     { return toUtf8(m_translator->trGraphicalHierarchy()); }
00388     QCString trGotoGraphicalHierarchy()  
00389     { return toUtf8(m_translator->trGotoGraphicalHierarchy()); }
00390     QCString trGotoTextualHierarchy()  
00391     { return toUtf8(m_translator->trGotoTextualHierarchy()); }
00392     QCString trPageIndex()  
00393     { return toUtf8(m_translator->trPageIndex()); }
00394 
00396 // new since 1.1.0
00398     
00399     QCString trNote()  
00400     { return toUtf8(m_translator->trNote()); }
00401     QCString trPublicTypes()  
00402     { return toUtf8(m_translator->trPublicTypes()); }
00403     QCString trPublicAttribs()  
00404     { return toUtf8(m_translator->trPublicAttribs()); }
00405     QCString trStaticPublicAttribs()  
00406     { return toUtf8(m_translator->trStaticPublicAttribs()); }
00407     QCString trProtectedTypes()  
00408     { return toUtf8(m_translator->trProtectedTypes()); }
00409     QCString trProtectedAttribs()  
00410     { return toUtf8(m_translator->trProtectedAttribs()); }
00411     QCString trStaticProtectedAttribs()  
00412     { return toUtf8(m_translator->trStaticProtectedAttribs()); }
00413     QCString trPrivateTypes()  
00414     { return toUtf8(m_translator->trPrivateTypes()); }
00415     QCString trPrivateAttribs()  
00416     { return toUtf8(m_translator->trPrivateAttribs()); }
00417     QCString trStaticPrivateAttribs()  
00418     { return toUtf8(m_translator->trStaticPrivateAttribs()); }
00419 
00421 // new since 1.1.3
00423 
00424     QCString trTodo()  
00425     { return toUtf8(m_translator->trTodo()); }
00426     QCString trTodoList()  
00427     { return toUtf8(m_translator->trTodoList()); }
00428 
00430 // new since 1.1.4
00432 
00433     QCString trReferencedBy()  
00434     { return toUtf8(m_translator->trReferencedBy()); }
00435     QCString trRemarks()  
00436     { return toUtf8(m_translator->trRemarks()); }
00437     QCString trAttention()  
00438     { return toUtf8(m_translator->trAttention()); }
00439     QCString trInclByDepGraph()  
00440     { return toUtf8(m_translator->trInclByDepGraph()); }
00441     QCString trSince()  
00442     { return toUtf8(m_translator->trSince()); }
00443     
00445 // new since 1.1.5
00447 
00448     QCString trLegendTitle()  
00449     { return toUtf8(m_translator->trLegendTitle()); }
00450     QCString trLegendDocs()  
00451     { return toUtf8(m_translator->trLegendDocs()); }
00452     QCString trLegend()  
00453     { return toUtf8(m_translator->trLegend()); }
00454     
00456 // new since 1.2.0
00458     
00459     QCString trTest()  
00460     { return toUtf8(m_translator->trTest()); }
00461     QCString trTestList()  
00462     { return toUtf8(m_translator->trTestList()); }
00463 
00465 // new since 1.2.1
00467 
00468     QCString trDCOPMethods()  
00469     { return toUtf8(m_translator->trDCOPMethods()); }
00470 
00472 // new since 1.2.2
00474 
00475     QCString trProperties()  
00476     { return toUtf8(m_translator->trProperties()); }
00477     QCString trPropertyDocumentation()  
00478     { return toUtf8(m_translator->trPropertyDocumentation()); }
00479 
00481 // new since 1.2.4
00483 
00484     QCString trClasses()  
00485     { return toUtf8(m_translator->trClasses()); }
00486     QCString trPackage(const char *name)  
00487     { return toUtf8(m_translator->trPackage(fromUtf8(name))); }
00488     QCString trPackageList()  
00489     { return toUtf8(m_translator->trPackageList()); }
00490     QCString trPackageListDescription()  
00491     { return toUtf8(m_translator->trPackageListDescription()); }
00492     QCString trPackages()  
00493     { return toUtf8(m_translator->trPackages()); }
00494     QCString trDefineValue()  
00495     { return toUtf8(m_translator->trDefineValue()); }
00496     
00498 // new since 1.2.5
00500     
00501     QCString trBug()  
00502     { return toUtf8(m_translator->trBug()); }
00503     QCString trBugList()  
00504     { return toUtf8(m_translator->trBugList()); }
00505 
00507 // new since 1.2.6
00509 
00510     QCString trRTFansicp()  
00511     { return toUtf8(m_translator->trRTFansicp()); }
00512     QCString trRTFCharSet()  
00513     { return toUtf8(m_translator->trRTFCharSet()); }
00514     QCString trRTFGeneralIndex()  
00515     { return toUtf8(m_translator->trRTFGeneralIndex()); }
00516    
00517     // Translation of the word
00518 
00519     QCString trClass(bool first_capital, bool singular)  
00520     { return toUtf8(m_translator->trClass(first_capital,singular)); }
00521     QCString trFile(bool first_capital, bool singular)  
00522     { return toUtf8(m_translator->trFile(first_capital,singular)); }
00523     QCString trNamespace(bool first_capital, bool singular)  
00524     { return toUtf8(m_translator->trNamespace(first_capital,singular)); }
00525     
00526     QCString trGroup(bool first_capital, bool singular)  
00527     { return toUtf8(m_translator->trGroup(first_capital,singular)); }
00528     QCString trPage(bool first_capital, bool singular)  
00529     { return toUtf8(m_translator->trPage(first_capital,singular)); }
00530     QCString trMember(bool first_capital, bool singular)  
00531     { return toUtf8(m_translator->trMember(first_capital,singular)); }
00532     QCString trGlobal(bool first_capital, bool singular)  
00533     { return toUtf8(m_translator->trGlobal(first_capital,singular)); }
00534 
00536 // new since 1.2.7
00538         
00539     QCString trAuthor(bool first_capital, bool singular)  
00540     { return toUtf8(m_translator->trAuthor(first_capital,singular)); }
00541 
00543 // new since 1.2.11
00545 
00546     QCString trReferences()  
00547     { return toUtf8(m_translator->trReferences()); }
00548 
00550 // new since 1.2.13
00552 
00553     QCString trImplementedFromList(int numEntries)  
00554     { return toUtf8(m_translator->trImplementedFromList(numEntries)); }
00555     QCString trImplementedInList(int numEntries)  
00556     { return toUtf8(m_translator->trImplementedInList(numEntries)); }
00557     
00559 // new since 1.2.16
00561 
00562     QCString trRTFTableOfContents()  
00563     { return toUtf8(m_translator->trRTFTableOfContents()); }
00564 
00566 // new since 1.2.17
00568 
00569     QCString trDeprecatedList()  
00570     { return toUtf8(m_translator->trDeprecatedList()); }
00571     
00573 // new since 1.2.18
00575 
00576     QCString trEvents()  
00577     { return toUtf8(m_translator->trEvents()); }
00578     QCString trEventDocumentation()  
00579     { return toUtf8(m_translator->trEventDocumentation()); }
00580 
00582 // new since 1.3
00584 
00585     QCString trPackageTypes()  
00586     { return toUtf8(m_translator->trPackageTypes()); }
00587     QCString trPackageMembers()  
00588     { return toUtf8(m_translator->trPackageMembers()); }
00589     QCString trStaticPackageMembers()  
00590     { return toUtf8(m_translator->trStaticPackageMembers()); }
00591     QCString trPackageAttribs()  
00592     { return toUtf8(m_translator->trPackageAttribs()); }
00593     QCString trStaticPackageAttribs()  
00594     { return toUtf8(m_translator->trStaticPackageAttribs()); }
00595     
00597 // new since 1.3.1
00599 
00600     QCString trAll()  
00601     { return toUtf8(m_translator->trAll()); }
00602     QCString trCallGraph()  
00603     { return toUtf8(m_translator->trCallGraph()); }
00604 
00606 // new since 1.3.3
00608 
00609     QCString trSearchForIndex()  
00610     { return toUtf8(m_translator->trSearchForIndex()); }
00611     QCString trSearchResultsTitle()  
00612     { return toUtf8(m_translator->trSearchResultsTitle()); }
00613     QCString trSearchResults(int numDocuments)  
00614     { return toUtf8(m_translator->trSearchResults(numDocuments)); }
00615     QCString trSearchMatches()  
00616     { return toUtf8(m_translator->trSearchMatches()); }
00617 
00619 // new since 1.3.8
00621 
00622     QCString trSourceFile(QCString& filename)  
00623     { return toUtf8(m_translator->trSourceFile(filename)); }
00624 
00626 // new since 1.3.9
00628 
00629     QCString trDirIndex()  
00630     { return toUtf8(m_translator->trDirIndex()); }
00631     QCString trDirDocumentation()  
00632     { return toUtf8(m_translator->trDirDocumentation()); }
00633     QCString trDirectories()  
00634     { return toUtf8(m_translator->trDirectories()); }
00635     QCString trDirDescription()  
00636     { return toUtf8(m_translator->trDirDescription()); }
00637     QCString trDirReference(const char *dirName)  
00638     { return toUtf8(m_translator->trDirReference(fromUtf8(dirName))); }
00639     QCString trDir(bool first_capital, bool singular)  
00640     { return toUtf8(m_translator->trDir(first_capital,singular)); }
00641 
00643 // new since 1.4.1
00645 
00646     QCString trOverloadText()  
00647     { return toUtf8(m_translator->trOverloadText()); }
00648 
00650 // new since 1.4.6
00652     
00653     QCString trCallerGraph()  
00654     { return toUtf8(m_translator->trCallerGraph()); }
00655     QCString trEnumerationValueDocumentation()  
00656     { return toUtf8(m_translator->trEnumerationValueDocumentation()); }
00657 
00659 // new since 1.5.4
00661 
00662     QCString trMemberFunctionDocumentationFortran()  
00663     { return toUtf8(m_translator->trMemberFunctionDocumentationFortran()); }
00664     QCString trCompoundListFortran()  
00665     { return toUtf8(m_translator->trCompoundListFortran()); }
00666     QCString trCompoundMembersFortran()  
00667     { return toUtf8(m_translator->trCompoundMembersFortran()); }
00668     QCString trCompoundListDescriptionFortran()  
00669     { return toUtf8(m_translator->trCompoundListDescriptionFortran()); }
00670     QCString trCompoundMembersDescriptionFortran(bool extractAll)  
00671     { return toUtf8(m_translator->trCompoundMembersDescriptionFortran(extractAll)); }
00672     QCString trCompoundIndexFortran()  
00673     { return toUtf8(m_translator->trCompoundIndexFortran()); }
00674     QCString trTypeDocumentation()  
00675     { return toUtf8(m_translator->trTypeDocumentation()); }
00676     QCString trSubprograms()  
00677     { return toUtf8(m_translator->trSubprograms()); }
00678     QCString trSubprogramDocumentation()  
00679     { return toUtf8(m_translator->trSubprogramDocumentation()); }
00680     QCString trDataTypes()  
00681     { return toUtf8(m_translator->trDataTypes()); }
00682     QCString trModulesList()  
00683     { return toUtf8(m_translator->trModulesList()); }
00684     QCString trModulesListDescription(bool extractAll)  
00685     { return toUtf8(m_translator->trModulesListDescription(extractAll)); }
00686     QCString trCompoundReferenceFortran(const char *clName,
00687                                  ClassDef::CompoundType compType,
00688                                  bool isTemplate)  
00689     { return toUtf8(m_translator->trCompoundReferenceFortran(fromUtf8(clName),compType,isTemplate)); }
00690     QCString trModuleReference(const char *namespaceName)  
00691     { return toUtf8(m_translator->trModuleReference(fromUtf8(namespaceName))); }
00692     QCString trModulesMembers()  
00693     { return toUtf8(m_translator->trModulesMembers()); }
00694     QCString trModulesMemberDescription(bool extractAll)  
00695     { return toUtf8(m_translator->trModulesMemberDescription(extractAll)); }
00696     QCString trModulesIndex()  
00697     { return toUtf8(m_translator->trModulesIndex()); }
00698     QCString trModule(bool first_capital, bool singular)  
00699     { return toUtf8(m_translator->trModule(first_capital,singular)); }
00700     QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
00701                                           bool single)  
00702     { return toUtf8(m_translator->trGeneratedFromFilesFortran(compType,single)); }
00703     QCString trType(bool first_capital, bool singular)  
00704     { return toUtf8(m_translator->trType(first_capital,singular)); }
00705     QCString trSubprogram(bool first_capital, bool singular)  
00706     { return toUtf8(m_translator->trSubprogram(first_capital,singular)); }
00707     QCString trTypeConstraints()
00708     { return toUtf8(m_translator->trTypeConstraints()); }
00709 
00710 
00712   private:
00713     Translator *m_translator;
00714     void *m_toUtf8;
00715     void *m_fromUtf8;
00716 
00717 };
00718 
00719 #endif



Generated on Mon Mar 31 10:58:48 2008 by  doxygen 1.5.1