#include "TObject.h"#include "TIterator.h"#include "TString.h"#include "TVirtualRWMutex.h"#include "ROOT/RRangeCast.hxx"#include <cassert>Classes | |
| class | TCollection |
| Collection abstract base class. More... | |
| class | TIter |
| class | TIterCategory< T > |
| class | ROOT::Detail::TRangeCast< T, isDynamic > |
Namespaces | |
| namespace | ROOT |
| namespace | ROOT::Detail |
| Special implementation of ROOT::RRangeCast for TCollection, including a check that the cast target type inherits from TObject and a new constructor that takes the TCollection by pointer. | |
| namespace | ROOT::Internal |
Macros | |
| #define | R__COLL_COND_MUTEX(mutex) |
| #define | R__COLLECTION_ITER_GUARD(collection) |
| #define | R__COLLECTION_READ_GUARD() |
| #define | R__COLLECTION_READ_LOCKGUARD(mutex) |
| #define | R__COLLECTION_READ_LOCKGUARD_NAMED(name, mutex) |
| #define | R__COLLECTION_WRITE_GUARD() |
| #define | R__COLLECTION_WRITE_LOCKGUARD(mutex) |
| #define | R__COLLECTION_WRITE_LOCKGUARD_NAMED(name, mutex) |
| #define | R__FOR_EACH(type, proc) |
Typedefs | |
| template<typename T> | |
| using | TRangeDynCast = ROOT::Detail::TRangeCast<T, true> |
| TRangeDynCast is an adapter class that allows the typed iteration through a TCollection. | |
| template<typename T> | |
| using | ROOT::Detail::TRangeStaticCast = TRangeCast<T, false> |
| TRangeStaticCast is an adapter class that allows the typed iteration through a TCollection. | |
Functions | |
| bool | ROOT::Internal::ContaineeInheritsFrom (TClass *cl, TClass *base) |
| Return true if 'cl' inherits from 'base'. | |
| const TCollection & | ROOT::Internal::EmptyCollection () |
| Return an empty collection for use with nullptr TRangeCast. | |
Variables | |
| externTVirtualMutex * | gCollectionMutex |
| const Bool_t | kIterBackward = !kIterForward |
| const Bool_t | kIterForward = kTRUE |
| #define R__COLL_COND_MUTEX | ( | mutex | ) |
Definition at line 362 of file TCollection.h.
| #define R__COLLECTION_ITER_GUARD | ( | collection | ) |
Definition at line 129 of file TCollection.h.
| #define R__COLLECTION_READ_GUARD | ( | ) |
Definition at line 128 of file TCollection.h.
| #define R__COLLECTION_READ_LOCKGUARD | ( | mutex | ) |
Definition at line 364 of file TCollection.h.
| #define R__COLLECTION_READ_LOCKGUARD_NAMED | ( | name, | |
| mutex ) |
Definition at line 365 of file TCollection.h.
| #define R__COLLECTION_WRITE_GUARD | ( | ) |
Definition at line 127 of file TCollection.h.
| #define R__COLLECTION_WRITE_LOCKGUARD | ( | mutex | ) |
Definition at line 367 of file TCollection.h.
| #define R__COLLECTION_WRITE_LOCKGUARD_NAMED | ( | name, | |
| mutex ) |
Definition at line 368 of file TCollection.h.
| #define R__FOR_EACH | ( | type, | |
| proc ) |
Definition at line 375 of file TCollection.h.
| using TRangeDynCast = ROOT::Detail::TRangeCast<T, true> |
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
The typical use is:
| T | The new type to convert to. |
Definition at line 360 of file TCollection.h.
| externTVirtualMutex* gCollectionMutex |
Definition at line 45 of file TCollection.h.
| const Bool_t kIterBackward = !kIterForward |
Definition at line 43 of file TCollection.h.
Definition at line 42 of file TCollection.h.