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. More...
Namespaces | |
namespace | Internal |
namespace | RDF |
namespace | VecOps |
Classes | |
struct | CallableTraitsImpl |
Extract types from the signature of a callable object. See CallableTraits. More... | |
struct | CallableTraitsImpl< R(*)(Args...), false > |
struct | CallableTraitsImpl< R(Args...), false > |
struct | CallableTraitsImpl< R(T::*)(Args...) const, false > |
struct | CallableTraitsImpl< R(T::*)(Args...), false > |
struct | CallableTraitsImpl< T, true > |
struct | indices |
struct | is_array_class |
struct | is_array_class< std::array< T, N > > |
struct | is_array_class< std::initializer_list< T > > |
struct | is_array_class< std::vector< T > > |
struct | make_indices_ |
struct | make_indices_impl |
struct | make_indices_impl< First, Step, N, typename std::enable_if<(N > 1 &&N % 2==0)>::type > |
struct | make_indices_impl< First, Step, N, typename std::enable_if<(N > 1 &&N % 2==1)>::type > |
struct | make_indices_impl< First, Step, N, typename std::enable_if<(N==0)>::type > |
struct | make_indices_impl< First, Step, N, typename std::enable_if<(N==1)>::type > |
struct | make_indices_next |
struct | make_indices_next2 |
struct | make_indices_next2< indices< Indices... >, Next, Tail > |
struct | make_indices_next< indices< Indices... >, Next > |
class | TBranchProxy |
Base class for all the proxy object. More... | |
class | TCollectionProxyInfo |
class | TRangeCast |
class | TSchemaRuleSet |
class | TStatusBitsChecker |
Typedefs | |
template<size_t Start, size_t Last, size_t Step = 1> | |
using | make_indices = typename make_indices_< Start, Last, Step >::type |
template<typename T > | |
using | TRangeStaticCast = TRangeCast< T, false > |
TRangeStaticCast is an adapter class that allows the typed iteration through a TCollection. | |
Functions | |
R__ALWAYS_INLINE bool | HasBeenDeleted (const TObject *obj) |
Check if the TObject's memory has been deleted. | |
template<typename T > | |
constexpr bool | HasCallOp (char) |
template<typename T > | |
constexpr auto | HasCallOp (int) -> decltype(&T::operator(), true) |
template<class ArrayL , class ArrayR > | |
bool | operator_equal_impl (ArrayL const &lhs, size_t const lhs_size, ArrayR const &rhs, size_t const rhs_size) |
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.
T | The new type to convert to. |
isDynamic | If true , dynamic_cast is used, otherwise static_cast is used. |
using ROOT::Detail::make_indices = typedef typename make_indices_< Start, Last, Step >::type |
using ROOT::Detail::TRangeStaticCast = typedef TRangeCast<T, false> |
TRangeStaticCast is an adapter class that allows the typed iteration through a TCollection.
This requires the collection to contain elements of the type requested (or a derived class). Any deviation from this expectation will only be caught/reported by an assert in debug builds.
This is best used with a TClonesArray, for other cases prefered TRangeDynCast.
The typical use is:
T | The new type to convert to. |
Definition at line 337 of file TCollection.h.
R__ALWAYS_INLINE bool ROOT::Detail::HasBeenDeleted | ( | const TObject * | obj | ) |
Check if the TObject's memory has been deleted.
obj | The memory to check |
|
constexpr |
Definition at line 32 of file TypeTraits.hxx.
|
constexpr |
Definition at line 31 of file TypeTraits.hxx.