ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TDirectory::TContext Class Reference

Definition at line 51 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 <TDirectory.h>

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 61 of file TDirectory.h.

TDirectory::TContext::TContext ( )
inline

Definition at line 70 of file TDirectory.h.

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

Definition at line 76 of file TDirectory.h.

TDirectory::TContext::~TContext ( )
inline

Definition at line 84 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 1237 of file TDirectory.cxx.

Referenced by TContext(), and ~TContext().

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

Friends And Related Function Documentation

friend class TDirectory
friend

Definition at line 59 of file TDirectory.h.

Member Data Documentation

TDirectory* TDirectory::TContext::fDirectory
private

Definition at line 53 of file TDirectory.h.

Referenced by TDirectory::CleanTargets(), TContext(), and ~TContext().

TContext* TDirectory::TContext::fNext
private

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

Definition at line 55 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 54 of file TDirectory.h.

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

Collaboration diagram for TDirectory::TContext:
[legend]

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