Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TConvertMapToProxy Class Reference

Definition at line 31 of file TContainerConverters.h.

Public Member Functions

 TConvertMapToProxy (TClassStreamer *streamer, Bool_t isPointer, Bool_t isPrealloc)
 Constructor.
 
Bool_t IsValid ()
 
void operator() (TBuffer &b, void *pmember, Int_t size=0) override
 Read a std::map or std::multimap from the TBuffer b and load it into a (stl) collection.
 
- Public Member Functions inherited from TMemberStreamer
 TMemberStreamer (const TMemberStreamer &rhs)
 
 TMemberStreamer (MemberStreamerFunc_t pointer)
 
virtual ~TMemberStreamer ()
 
virtual const TClassGetOnFileClass () const
 
TMemberStreameroperator= (const TMemberStreamer &rhs)
 
virtual void SetOnFileClass (const TClass *cl)
 

Private Attributes

TClassfCollectionClass
 
Bool_t fIsPointer
 
Bool_t fIsPrealloc
 
UInt_t fSizeOf
 

Additional Inherited Members

- Protected Member Functions inherited from TMemberStreamer
 TMemberStreamer ()
 

#include <TContainerConverters.h>

Inheritance diagram for TConvertMapToProxy:
[legend]

Constructor & Destructor Documentation

◆ TConvertMapToProxy()

TConvertMapToProxy::TConvertMapToProxy ( TClassStreamer streamer,
Bool_t  isPointer,
Bool_t  isPrealloc 
)

Constructor.

Definition at line 233 of file TContainerConverters.cxx.

Member Function Documentation

◆ IsValid()

Bool_t TConvertMapToProxy::IsValid ( )
inline

Definition at line 40 of file TContainerConverters.h.

◆ operator()()

void TConvertMapToProxy::operator() ( TBuffer b,
void *  pmember,
Int_t  size = 0 
)
overridevirtual

Read a std::map or std::multimap from the TBuffer b and load it into a (stl) collection.

Reimplemented from TMemberStreamer.

Definition at line 264 of file TContainerConverters.cxx.

Member Data Documentation

◆ fCollectionClass

TClass* TConvertMapToProxy::fCollectionClass
private

Definition at line 35 of file TContainerConverters.h.

◆ fIsPointer

Bool_t TConvertMapToProxy::fIsPointer
private

Definition at line 32 of file TContainerConverters.h.

◆ fIsPrealloc

Bool_t TConvertMapToProxy::fIsPrealloc
private

Definition at line 33 of file TContainerConverters.h.

◆ fSizeOf

UInt_t TConvertMapToProxy::fSizeOf
private

Definition at line 34 of file TContainerConverters.h.

Libraries for TConvertMapToProxy:

The documentation for this class was generated from the following files: