Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TDirectory.cxx File Reference
#include <cstdlib>
#include "Strlen.h"
#include "strlcpy.h"
#include "TDirectory.h"
#include "TBuffer.h"
#include "TClassTable.h"
#include "TInterpreter.h"
#include "THashList.h"
#include "TBrowser.h"
#include "TROOT.h"
#include "TError.h"
#include "TClass.h"
#include "TRegexp.h"
#include "TSystem.h"
#include "TVirtualMutex.h"
#include "TThreadSlots.h"
#include "TMethod.h"
#include "TSpinLockGuard.h"
#include <algorithm>
#include <limits>

Functions

 Error ("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
static std::atomic_flag * GetCurrentDirectoryLock ()
 if (name) objname
else if (obj) objname
static TBufferR__CreateBuffer ()
 Fast execution of 'new TBufferFile(TBuffer::kWrite,10000), without having a compile time circular dependency ... alternatively we could (should?) introduce yet another abstract interface.

Variables

 Int_t
const Int_t kMaxLen = 2048
 return

Function Documentation

◆ Error()

Error ( "WriteTObject" ,
"The current directory (%s) is not associated with a file. The object (%s) has not been written." ,
GetName() ,
objname  )

◆ GetCurrentDirectoryLock()

std::atomic_flag * GetCurrentDirectoryLock ( )
static

Definition at line 37 of file TDirectory.cxx.

◆ if() [1/2]

if ( name )

◆ if() [2/2]

else if ( obj )

◆ R__CreateBuffer()

TBuffer * R__CreateBuffer ( )
static

Fast execution of 'new TBufferFile(TBuffer::kWrite,10000), without having a compile time circular dependency ... alternatively we could (should?) introduce yet another abstract interface.

Definition at line 342 of file TDirectory.cxx.

Variable Documentation

◆ Int_t

Initial value:
{
const char *objname = "no name specified"

Definition at line 1432 of file TDirectory.cxx.

◆ kMaxLen

const Int_t kMaxLen = 2048

Definition at line 35 of file TDirectory.cxx.

◆ return

return

Definition at line 1438 of file TDirectory.cxx.