#include <TDocDirective.h>
Inheritance diagram for TDocDirective:
Public Member Functions | |
virtual const char * | GetEndTag () const=0 |
virtual void | AddLine (const TSubString &line)=0 |
virtual Bool_t | GetResult (TString &result)=0 |
virtual void | DeleteOutput () const |
ClassDef (TDocDirective, 0) | |
virtual const char * | GetEndTag () const=0 |
virtual void | AddLine (const TSubString &line)=0 |
virtual Bool_t | GetResult (TString &result)=0 |
virtual void | DeleteOutput () const |
ClassDef (TDocDirective, 0) | |
Protected Member Functions | |
virtual void | AddParameter (const TString &, const char *=0) |
TDocDirective () | |
TDocDirective (const char *name) | |
virtual | ~TDocDirective () |
const char * | GetName () const |
void | GetName (TString &name) const |
TDocParser * | GetDocParser () const |
TDocOutput * | GetDocOutput () const |
THtml * | GetHtml () const |
const char * | GetOutputDir () const |
void | SetParser (TDocParser *parser) |
void | SetParameters (const char *params) |
void | SetTag (const char *tag) |
void | SetCounter (Int_t count) |
virtual void | DeleteOutputFiles (const char *ext) const |
virtual void | AddParameter (const TString &, const char *=0) |
TDocDirective () | |
TDocDirective (const char *name) | |
virtual | ~TDocDirective () |
const char * | GetName () const |
void | GetName (TString &name) const |
TDocParser * | GetDocParser () const |
TDocOutput * | GetDocOutput () const |
THtml * | GetHtml () const |
const char * | GetOutputDir () const |
void | SetParser (TDocParser *parser) |
void | SetParameters (const char *params) |
void | SetTag (const char *tag) |
void | SetCounter (Int_t count) |
virtual void | DeleteOutputFiles (const char *ext) const |
Protected Attributes | |
TDocParser * | fDocParser |
THtml * | fHtml |
TDocOutput * | fDocOutput |
TString | fParameters |
Int_t | fCounter |
TDocParser * | fDocParser |
THtml * | fHtml |
TDocOutput * | fDocOutput |
Friends | |
class | TDocParser |
Definition at line 36 of file TDocDirective.h.
TDocDirective::TDocDirective | ( | ) | [inline, protected] |
Definition at line 46 of file TDocDirective.h.
TDocDirective::TDocDirective | ( | const char * | name | ) | [inline, protected] |
Definition at line 47 of file TDocDirective.h.
virtual TDocDirective::~TDocDirective | ( | ) | [inline, protected, virtual] |
Definition at line 49 of file TDocDirective.h.
TDocDirective::TDocDirective | ( | ) | [inline, protected] |
Definition at line 46 of file TDocDirective.h.
TDocDirective::TDocDirective | ( | const char * | name | ) | [inline, protected] |
Definition at line 47 of file TDocDirective.h.
virtual TDocDirective::~TDocDirective | ( | ) | [inline, protected, virtual] |
Definition at line 49 of file TDocDirective.h.
virtual void TDocDirective::AddParameter | ( | const TString & | , | |
const char * | = 0 | |||
) | [inline, protected, virtual] |
const char* TDocDirective::GetName | ( | ) | const [inline, protected, virtual] |
Reimplemented from TNamed.
Definition at line 51 of file TDocDirective.h.
References TNamed::GetName().
Referenced by TDocLatexDirective::AddLine(), TDocMacroDirective::AddLine(), DeleteOutputFiles(), TDocMacroDirective::GetResult(), TDocLatexDirective::GetResult(), and TDocParser::~TDocParser().
void TDocDirective::GetName | ( | TString & | name | ) | const [protected] |
Definition at line 67 of file TDocDirective.cxx.
References TSystem::BaseName(), fCounter, fDocParser, TNamed::fName, TDocParser::GetCurrentClass(), GetHtml(), THtml::GetHtmlFileName(), TNamed::GetTitle(), gSystem, TString::Last(), TString::Length(), name, and TString::Remove().
TDocParser* TDocDirective::GetDocParser | ( | ) | const [inline, protected] |
Definition at line 53 of file TDocDirective.h.
References fDocParser.
Referenced by TDocLatexDirective::AddLine(), TDocMacroDirective::GetResult(), and TDocLatexDirective::GetResult().
TDocOutput* TDocDirective::GetDocOutput | ( | ) | const [inline, protected] |
Definition at line 54 of file TDocDirective.h.
References fDocOutput.
Referenced by TDocMacroDirective::GetResult(), and TDocLatexDirective::GetResult().
THtml* TDocDirective::GetHtml | ( | ) | const [inline, protected] |
Definition at line 55 of file TDocDirective.h.
References fHtml.
Referenced by TDocLatexDirective::CreateLatex(), GetName(), and TDocMacroDirective::GetResult().
const char * TDocDirective::GetOutputDir | ( | ) | const [protected] |
Definition at line 92 of file TDocDirective.cxx.
References TString::Data(), fHtml, and THtml::GetOutputDir().
Referenced by DeleteOutputFiles(), TDocMacroDirective::GetResult(), and TDocLatexDirective::GetResult().
void TDocDirective::SetParser | ( | TDocParser * | parser | ) | [protected] |
Definition at line 145 of file TDocDirective.cxx.
References fDocOutput, fDocParser, fHtml, TDocParser::GetDocOutput(), and TDocOutput::GetHtml().
Referenced by TDocParser::HandleDirective().
void TDocDirective::SetParameters | ( | const char * | params | ) | [protected] |
Definition at line 100 of file TDocDirective.cxx.
References AddParameter(), fParameters, TString::kBoth, kNPOS, TString::Length(), TString::Tokenize(), and value.
Referenced by TDocParser::HandleDirective().
void TDocDirective::SetTag | ( | const char * | tag | ) | [inline, protected] |
Definition at line 60 of file TDocDirective.h.
References TNamed::SetTitle().
Referenced by TDocParser::HandleDirective().
void TDocDirective::SetCounter | ( | Int_t | count | ) | [inline, protected] |
Definition at line 61 of file TDocDirective.h.
References fCounter.
Referenced by TDocParser::HandleDirective().
void TDocDirective::DeleteOutputFiles | ( | const char * | ext | ) | const [protected, virtual] |
Definition at line 48 of file TDocDirective.cxx.
References TString::BeginsWith(), entry, TSystem::FreeDirectory(), TSystem::GetDirEntry(), GetName(), GetOutputDir(), gSystem, TString::Length(), TSystem::OpenDirectory(), and TSystem::Unlink().
Referenced by TDocLatexDirective::DeleteOutput(), and TDocMacroDirective::DeleteOutput().
virtual const char* TDocDirective::GetEndTag | ( | ) | const [pure virtual] |
Referenced by TDocParser::HandleDirective(), and TDocParser::~TDocParser().
virtual void TDocDirective::AddLine | ( | const TSubString & | line | ) | [pure virtual] |
Referenced by TDocParser::HandleDirective().
Referenced by TDocParser::HandleDirective().
virtual void TDocDirective::DeleteOutput | ( | ) | const [inline, virtual] |
Definition at line 75 of file TDocDirective.h.
TDocDirective::ClassDef | ( | TDocDirective | , | |
0 | ||||
) |
virtual void TDocDirective::AddParameter | ( | const TString & | , | |
const char * | = 0 | |||
) | [inline, protected, virtual] |
Definition at line 44 of file TDocDirective.h.
const char* TDocDirective::GetName | ( | ) | const [inline, protected, virtual] |
Reimplemented from TNamed.
Definition at line 51 of file TDocDirective.h.
References TNamed::GetName().
void TDocDirective::GetName | ( | TString & | name | ) | const [protected] |
TDocParser* TDocDirective::GetDocParser | ( | ) | const [inline, protected] |
TDocOutput* TDocDirective::GetDocOutput | ( | ) | const [inline, protected] |
THtml* TDocDirective::GetHtml | ( | ) | const [inline, protected] |
const char* TDocDirective::GetOutputDir | ( | ) | const [protected] |
void TDocDirective::SetParser | ( | TDocParser * | parser | ) | [protected] |
void TDocDirective::SetParameters | ( | const char * | params | ) | [protected] |
void TDocDirective::SetTag | ( | const char * | tag | ) | [inline, protected] |
void TDocDirective::SetCounter | ( | Int_t | count | ) | [inline, protected] |
virtual void TDocDirective::DeleteOutputFiles | ( | const char * | ext | ) | const [protected, virtual] |
virtual const char* TDocDirective::GetEndTag | ( | ) | const [pure virtual] |
virtual void TDocDirective::AddLine | ( | const TSubString & | line | ) | [pure virtual] |
virtual void TDocDirective::DeleteOutput | ( | ) | const [inline, virtual] |
Definition at line 75 of file TDocDirective.h.
TDocDirective::ClassDef | ( | TDocDirective | , | |
0 | ||||
) |
TDocParser [friend] |
TDocParser* TDocDirective::fDocParser [protected] |
Definition at line 38 of file TDocDirective.h.
Referenced by GetDocParser(), GetName(), and SetParser().
THtml* TDocDirective::fHtml [protected] |
Definition at line 39 of file TDocDirective.h.
Referenced by GetHtml(), GetOutputDir(), TDocMacroDirective::GetResult(), and SetParser().
TDocOutput* TDocDirective::fDocOutput [protected] |
TString TDocDirective::fParameters [protected] |
Int_t TDocDirective::fCounter [protected] |
TDocParser* TDocDirective::fDocParser [protected] |
Definition at line 38 of file TDocDirective.h.
THtml* TDocDirective::fHtml [protected] |
Definition at line 39 of file TDocDirective.h.
TDocOutput* TDocDirective::fDocOutput [protected] |
Definition at line 40 of file TDocDirective.h.