ATLAS Offline Software
Loading...
Searching...
No Matches
Resplot::Directory Class Reference

#include <Directory.h>

Collaboration diagram for Resplot::Directory:

Public Member Functions

 Directory ()
 Directory (const std::string &n)
virtual ~Directory ()
void push ()
void pop ()
void Write ()
void pwd () const
TDirectory * cwd ()
void disable ()
void restore ()

Protected Attributes

bool m_HAddState
bool m_DAddState
TDirectory * m_Pop
TDirectory * m_Dir

Detailed Description

Definition at line 31 of file Directory.h.

Constructor & Destructor Documentation

◆ Directory() [1/2]

Resplot::Directory::Directory ( )
inline

Definition at line 35 of file Directory.h.

35: m_HAddState(true), m_DAddState(true), m_Pop(NULL), m_Dir(NULL) { }
TDirectory * m_Pop
Definition Directory.h:57
TDirectory * m_Dir
Definition Directory.h:58

◆ Directory() [2/2]

Resplot::Directory::Directory ( const std::string & n)
inline

Definition at line 36 of file Directory.h.

36 :m_HAddState(true), m_DAddState(true), m_Pop(gDirectory), m_Dir(gDirectory->mkdir(n.c_str())) {
37 }

◆ ~Directory()

virtual Resplot::Directory::~Directory ( )
inlinevirtual

Definition at line 39 of file Directory.h.

39{ }

Member Function Documentation

◆ cwd()

TDirectory * Resplot::Directory::cwd ( )
inline

Definition at line 47 of file Directory.h.

47{ return m_Dir; }

◆ disable()

void Resplot::Directory::disable ( )
inline

Definition at line 49 of file Directory.h.

49{ }

◆ pop()

void Resplot::Directory::pop ( )
inline

Definition at line 42 of file Directory.h.

42{ if (m_Pop) m_Pop->cd(); }

◆ push()

void Resplot::Directory::push ( )
inline

Definition at line 41 of file Directory.h.

41{ m_Pop = gDirectory; if (m_Dir) m_Dir->cd(); }

◆ pwd()

void Resplot::Directory::pwd ( ) const
inline

Definition at line 46 of file Directory.h.

46{ m_Dir->pwd(); }

◆ restore()

void Resplot::Directory::restore ( )
inline

Definition at line 50 of file Directory.h.

50{ }

◆ Write()

void Resplot::Directory::Write ( )
inline

Definition at line 44 of file Directory.h.

44{ push(); m_Dir->Write(); pop(); }

Member Data Documentation

◆ m_DAddState

bool Resplot::Directory::m_DAddState
protected

Definition at line 55 of file Directory.h.

◆ m_Dir

TDirectory* Resplot::Directory::m_Dir
protected

Definition at line 58 of file Directory.h.

◆ m_HAddState

bool Resplot::Directory::m_HAddState
protected

Definition at line 54 of file Directory.h.

◆ m_Pop

TDirectory* Resplot::Directory::m_Pop
protected

Definition at line 57 of file Directory.h.


The documentation for this class was generated from the following file: