Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TCollection.h File Reference
#include "TObject.h"
#include "TIterator.h"
#include "TString.h"
#include "TVirtualRWMutex.h"
#include <cassert>
Include dependency graph for TCollection.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TCollection
 Collection abstract base class. More...
 
class  TIter
 
class  TIterCategory< T >
 
class  TRangeDynCast< T >
 TRangeDynCast is an adaptater class that allows the typed iteration through a TCollection. More...
 
class  ROOT::Internal::TRangeDynCastIterator< Containee >
 Internal help class implmenting an iterator for TRangeDynCast. More...
 
class  ROOT::Detail::TRangeStaticCast< T >
 TRangeStaticCast is an adaptater class that allows the typed iteration through a TCollection. More...
 
class  ROOT::Detail::TTypedIter< Containee >
 TTypedIter is a typed version of TIter. More...
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Detail
 
namespace  ROOT::Internal
 

Macros

#define R__COLLECTION_COLLECTION_READ_LOCKGUARD_NAMED(name, mutex)   (void)mutex
 
#define R__COLLECTION_ITER_GUARD(collection)
 
#define R__COLLECTION_READ_GUARD()
 
#define R__COLLECTION_READ_LOCKGUARD(mutex)   (void)mutex
 
#define R__COLLECTION_WRITE_GUARD()
 
#define R__COLLECTION_WRITE_LOCKGUARD(mutex)   (void)mutex
 
#define R__COLLECTION_WRITE_LOCKGUARD_NAMED(name, mutex)   (void)mutex
 
#define R__FOR_EACH(type, proc)
 

Functions

bool ROOT::Internal::ContaineeInheritsFrom (TClass *cl, TClass *base)
 Return true if 'cl' inherits from 'base'.
 
const TCollectionROOT::Internal::EmptyCollection ()
 Return an empty collection for use with nullptr TRangeCast.
 

Variables

R__EXTERN TVirtualMutexgCollectionMutex
 
const Bool_t kIterBackward = !kIterForward
 
const Bool_t kIterForward = kTRUE
 

Macro Definition Documentation

◆ R__COLLECTION_COLLECTION_READ_LOCKGUARD_NAMED

#define R__COLLECTION_COLLECTION_READ_LOCKGUARD_NAMED (   name,
  mutex 
)    (void)mutex

Definition at line 436 of file TCollection.h.

◆ R__COLLECTION_ITER_GUARD

#define R__COLLECTION_ITER_GUARD (   collection)

Definition at line 127 of file TCollection.h.

◆ R__COLLECTION_READ_GUARD

#define R__COLLECTION_READ_GUARD ( )

Definition at line 126 of file TCollection.h.

◆ R__COLLECTION_READ_LOCKGUARD

#define R__COLLECTION_READ_LOCKGUARD (   mutex)    (void)mutex

Definition at line 435 of file TCollection.h.

◆ R__COLLECTION_WRITE_GUARD

#define R__COLLECTION_WRITE_GUARD ( )

Definition at line 125 of file TCollection.h.

◆ R__COLLECTION_WRITE_LOCKGUARD

#define R__COLLECTION_WRITE_LOCKGUARD (   mutex)    (void)mutex

Definition at line 438 of file TCollection.h.

◆ R__COLLECTION_WRITE_LOCKGUARD_NAMED

#define R__COLLECTION_WRITE_LOCKGUARD_NAMED (   name,
  mutex 
)    (void)mutex

Definition at line 439 of file TCollection.h.

◆ R__FOR_EACH

#define R__FOR_EACH (   type,
  proc 
)
Value:
SetCurrentCollection(); \
type *_NAME3_(obj_,type,proc); \
while ((_NAME3_(obj_,type,proc) = (type*) _NAME3_(nxt_,type,proc)())) \
_NAME3_(obj_,type,proc)->proc
#define _NAME3_(name1, name2, name3)
Definition RConfig.hxx:449
int type
Definition TGX11.cxx:121
static TCollection * GetCurrentCollection()
Return the globally accessible collection.

Definition at line 448 of file TCollection.h.

Variable Documentation

◆ gCollectionMutex

R__EXTERN TVirtualMutex* gCollectionMutex

Definition at line 43 of file TCollection.h.

◆ kIterBackward

const Bool_t kIterBackward = !kIterForward

Definition at line 41 of file TCollection.h.

◆ kIterForward

const Bool_t kIterForward = kTRUE

Definition at line 40 of file TCollection.h.