ROOT  6.06/08
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TDirectory::TContext Class Reference

Definition at line 48 of file TDirectory.h.

Public Member Functions

 TContext (TDirectory *previous, TDirectory *newCurrent)
 
 TContext ()
 
 TContext (TDirectory *newCurrent)
 
 ~TContext ()
 

Private Member Functions

 TContext (TContext &)
 Pointer to the next TContext in the implied list of context pointing to fPrevious. More...
 
TContext & operator= (TContext &)
 
void CdNull ()
 Set the current directory to null. More...
 

Private Attributes

TDirectory * fDirectory
 
TContext * fPrevious
 Pointer to the previous current directory. More...
 
TContext * fNext
 Pointer to the next TContext in the implied list of context pointing to fPrevious. More...
 

Friends

class TDirectory
 

#include <ROOT/TDirectory.h>

+ Collaboration diagram for TDirectory::TContext:

Constructor & Destructor Documentation

§ TContext() [1/4]

TDirectory::TContext::TContext ( TContext &  )
private

Pointer to the next TContext in the implied list of context pointing to fPrevious.

§ TContext() [2/4]

TDirectory::TContext::TContext ( TDirectory *  previous,
TDirectory *  newCurrent 
)
inline

Definition at line 58 of file TDirectory.h.

§ TContext() [3/4]

TDirectory::TContext::TContext ( )
inline

Definition at line 67 of file TDirectory.h.

§ TContext() [4/4]

TDirectory::TContext::TContext ( TDirectory *  newCurrent)
inline

Definition at line 73 of file TDirectory.h.

§ ~TContext()

TDirectory::TContext::~TContext ( )
inline

Definition at line 81 of file TDirectory.h.

Member Function Documentation

§ CdNull()

void TDirectory::TContext::CdNull ( )
private

Set the current directory to null.

This is called from the TContext destructor. Since the destructor is inline, we do not want to have it directly use a global variable.

Definition at line 1241 of file TDirectory.cxx.

§ operator=()

TContext& TDirectory::TContext::operator= ( TContext &  )
private

Friends And Related Function Documentation

§ TDirectory

friend class TDirectory
friend

Definition at line 56 of file TDirectory.h.

Member Data Documentation

§ fDirectory

TDirectory* TDirectory::TContext::fDirectory
private

Definition at line 50 of file TDirectory.h.

Referenced by TDirectory::CleanTargets().

§ fNext

TContext* TDirectory::TContext::fNext
private

Pointer to the next TContext in the implied list of context pointing to fPrevious.

Definition at line 52 of file TDirectory.h.

Referenced by TDirectory::CleanTargets(), TDirectory::RegisterContext(), and TDirectory::UnregisterContext().

§ fPrevious

TContext* TDirectory::TContext::fPrevious
private

Pointer to the previous current directory.

Definition at line 51 of file TDirectory.h.

Referenced by TDirectory::RegisterContext(), and TDirectory::UnregisterContext().


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