ROOT » CORE » META » TIsAProxy

class TIsAProxy: public TVirtualIsAProxy


TClass

TIsAProxy implementation class.


Function Members (Methods)

public:
virtual~TIsAProxy()
virtual TClass*operator()(const void* obj)
virtual voidSetClass(TClass* cl)
TIsAProxy(const type_info& typ)
protected:
TIsAProxy&operator=(const TIsAProxy&)
TIsAProxy(const TIsAProxy&)
private:
void*CacheSubType(const type_info*, TClass*)
void*FindSubType(const type_info*) const

Data Members

private:
Atomic_t<TClass*>fClassActual TClass
Atomic_t<Bool_t>fInitInitialization flag
Atomic_t<void*>fLastpoints into fSubTypes map for last used values
Char_tfSubTypes[72]map of known sub-types
Atomic_t<UInt_t>fSubTypesReadersnumber of readers of fSubTypes
Atomic_t<Bool_t>fSubTypesWriteLockTakenTrue if there is a writer
const type_info*fTypeActual typeid of the proxy
Bool_tfVirtualFlag if class is virtual

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TIsAProxy(const std::type_info& typ)
 Standard initializing constructor
~TIsAProxy()
 Standard destructor
void SetClass(TClass* cl)
 Set class pointer
   This method is not thread safe
TClass* operator()(const void* obj)
 IsA callback
void* FindSubType(const type_info* ) const
 See if we have already cached the TClass that correspond to this type_info.
void* CacheSubType(const type_info* , TClass* )
 Record the TClass found for a type_info, so that we can retrieved it faster.
TIsAProxy(const TIsAProxy& )
TIsAProxy& operator=(const TIsAProxy& )