#include "THtml.h"
#include "TDocOutput.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TEnv.h"
#include "TDatime.h"
#include "TStyle.h"
#include "TList.h"
#include <iostream>
#include <fstream>
Go to the source code of this file.
Functions | |
void | scandir (THtml &html, const char *dir, const char *title, TObjLink *toplnk) |
void | AppendLink (TString &links, int id, const TNamed *n) |
void | MakeTopLinks (TString &links, const char *name, const char *title, const char *upLink, const char *upTitle, TObjLink *lnk, const char *dir) |
void | writeHeader (THtml &html, ostream &out, const char *title, const char *relPath="../") |
void | writeTrailer (THtml &html, ostream &out) |
void | writeItem (ostream &out, Int_t numb, const char *ref, const char *name, const char *title, Bool_t isnew) |
void | writeItemDir (THtml &html, ostream &out, TObjLink *lnk) |
void | writeTutorials (THtml &html) |
void | GetMacroTitle (const char *fullpath, TString &comment, Bool_t &compile) |
Bool_t | IsNew (const char *filename) |
Bool_t | CreateOutput_Dir (const char *dir) |
Bool_t | CreateOutput_Tutorial (const char *tut) |
void | MakeTutorials () |
Definition at line 25 of file MakeTutorials.C.
References arrow(), TString::Data(), entry, TString::Format(), n, name, and title.
Referenced by MakeTopLinks().
Bool_t CreateOutput_Dir | ( | const char * | dir | ) |
Bool_t CreateOutput_Tutorial | ( | const char * | tut | ) |
Bool_t IsNew | ( | const char * | filename | ) |
Definition at line 280 of file MakeTutorials.C.
References TSystem::Exec(), fclose(), fopen, Form(), TDatime::GetDay(), TDatime::GetMonth(), TDatime::GetYear(), gSystem, kFALSE, kTRUE, and line.
Referenced by scandir().
void MakeTopLinks | ( | TString & | links, | |
const char * | name, | |||
const char * | title, | |||
const char * | upLink, | |||
const char * | upTitle, | |||
TObjLink * | lnk, | |||
const char * | dir | |||
) |
Definition at line 68 of file MakeTutorials.C.
References AppendLink(), TString::Data(), TString::EndsWith(), TString::Format(), TObjLink::GetObject(), TObjLink::Next(), TObjLink::Prev(), and TNamed::SetNameTitle().
Referenced by scandir(), and writeTutorials().
void MakeTutorials | ( | ) |
Definition at line 450 of file MakeTutorials.C.
References gEnv, gSystem, html(), TSystem::MakeDirectory(), TSystem::OpenDirectory(), TEnv::SetValue(), and writeTutorials().
Definition at line 348 of file MakeTutorials.C.
References BIT, TStyle::BuildStyles(), comment, CreateOutput_Dir(), CreateOutput_Tutorial(), TCollection::Delete(), TSystem::GetDirEntry(), TROOT::GetListOfBrowsers(), TROOT::GetListOfCanvases(), TROOT::GetListOfFiles(), TROOT::GetListOfFunctions(), TROOT::GetListOfGeometries(), GetMacroTitle(), TNamed::GetName(), TObjLink::GetObject(), TNamed::GetTitle(), gROOT, gStyle, gSystem, h, html(), TROOT::IsBatch(), IsNew(), THtml::kCompiledOutput, THtml::kInterpretedOutput, THtml::kNoOutput, THtml::kSeparateProcessOutput, TSystem::MakeDirectory(), MakeTopLinks(), TSystem::OpenDirectory(), TString::ReplaceAll(), TObject::SetBit(), TROOT::SetStyle(), TObject::TestBit(), writeHeader(), writeItem(), and writeTrailer().
Referenced by writeItemDir().
void writeHeader | ( | THtml & | html, | |
ostream & | out, | |||
const char * | title, | |||
const char * | relPath = "../" | |||
) |
Definition at line 110 of file MakeTutorials.C.
References html(), and TDocOutput::WriteHtmlHeader().
Referenced by scandir(), and writeTutorials().
Definition at line 146 of file MakeTutorials.C.
References dir(), TObject::GetName(), TObjLink::GetObject(), TObject::GetTitle(), html(), n, scandir(), and title.
Referenced by writeTutorials().
void writeTrailer | ( | THtml & | html, | |
ostream & | out | |||
) |
Definition at line 122 of file MakeTutorials.C.
References html(), and TDocOutput::WriteHtmlFooter().
Referenced by scandir(), and writeTutorials().
void writeTutorials | ( | THtml & | html | ) |
Definition at line 164 of file MakeTutorials.C.
References TList::AddLast(), TList::FirstLink(), html(), MakeTopLinks(), TObjLink::Next(), TNamed::SetNameTitle(), writeHeader(), writeItemDir(), and writeTrailer().
Referenced by MakeTutorials().