ROOT  6.06/09
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...
 
TContextoperator= (TContext &)
 
void CdNull ()
 Set the current directory to null. More...
 

Private Attributes

TDirectoryfDirectory
 
TContextfPrevious
 Pointer to the previous current directory. More...
 
TContextfNext
 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

TDirectory::TContext::TContext ( TContext )
private

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

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

Definition at line 58 of file TDirectory.h.

TDirectory::TContext::TContext ( )
inline

Definition at line 67 of file TDirectory.h.

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

Definition at line 73 of file TDirectory.h.

TDirectory::TContext::~TContext ( )
inline

Definition at line 81 of file TDirectory.h.

Member Function Documentation

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.

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

Friends And Related Function Documentation

friend class TDirectory
friend

Definition at line 56 of file TDirectory.h.

Member Data Documentation

TDirectory* TDirectory::TContext::fDirectory
private

Definition at line 50 of file TDirectory.h.

Referenced by TDirectory::CleanTargets().

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().

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: