/usr/include/root/TClassDocOutput.h is in libroot-html-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | // @(#)root/html:$Id$
// Author: Axel Naumann 2007-01-09
/*************************************************************************
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TClassDocOutput
#define ROOT_TClassDocOutput
#ifndef ROOT_TDocOutput
#include "TDocOutput.h"
#endif
class TDocParser;
class TDocMethodWrapper;
class TClassDocOutput: public TDocOutput {
protected:
enum ETraverse {
kUp, kDown, kBoth // direction to traverse class tree in ClassHtmlTree()
};
Int_t fHierarchyLines; // counter for no. lines in hierarchy
TClass* fCurrentClass; // class to generate output for
TList* fCurrentClassesTypedefs; // typedefs to the current class
TDocParser* fParser; // parser we use
void ClassHtmlTree(std::ostream &out, TClass *classPtr, ETraverse dir=kBoth, int depth=1);
void ClassTree(TVirtualPad *canvas, Bool_t force=kFALSE);
Bool_t CreateDotClassChartIncl(const char* filename);
Bool_t CreateDotClassChartInh(const char* filename);
Bool_t CreateDotClassChartInhMem(const char* filename);
Bool_t CreateDotClassChartLib(const char* filename);
Bool_t CreateHierarchyDot();
void CreateSourceOutputStream(std::ostream& out, const char* extension, TString& filename);
void DescendHierarchy(std::ostream &out, TClass* basePtr, Int_t maxLines=0, Int_t depth=1);
virtual void ListFunctions(std::ostream& classFile);
virtual void ListDataMembers(std::ostream& classFile);
virtual void WriteClassDocHeader(std::ostream& classFile);
virtual void WriteMethod(std::ostream & out, TString& ret,
TString& name, TString& params,
const char* file, TString& anchor,
TString& comment, TString& codeOneLiner,
TDocMethodWrapper* guessedMethod);
virtual void WriteClassDescription(std::ostream& out, const TString& description);
public:
TClassDocOutput(THtml& html, TClass* cl, TList* typedefs);
virtual ~TClassDocOutput();
void Class2Html(Bool_t force=kFALSE);
Bool_t ClassDotCharts(std::ostream & out);
void CreateClassHierarchy(std::ostream& out, const char* docFileName);
void MakeTree(Bool_t force = kFALSE);
friend class TDocParser;
ClassDef(TClassDocOutput, 0); // generates documentation web pages for a class
};
#endif // ROOT_TClassDocOutput
|