Logo ROOT  
Reference Guide
TContainerConverters.h
Go to the documentation of this file.
1// @(#)root/io:$Id: 9654411c49ffb811aa71b8ed4287acc53909a9a6 $
2// Author: Philippe Canal 11/11/2004
3
4/*************************************************************************
5 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11#ifndef ROOT_TContainerConverters
12#define ROOT_TContainerConverters
13
14#include "TMemberStreamer.h"
15
18class TClassStreamer;
19
25public:
28 void operator()(TBuffer &b, void *pmember, Int_t size=0) override;
29};
30
36
37public:
38 TConvertMapToProxy(TClassStreamer *streamer, Bool_t isPointer, Bool_t isPrealloc);
39 void operator()(TBuffer &b, void *pmember, Int_t size=0) override;
40 Bool_t IsValid() { return fCollectionClass != nullptr; }
41};
42
43#endif
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
Buffer base class used for serializing objects.
Definition: TBuffer.h:43
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition: TClass.h:80
Small helper to read a TBuffer containing a TClonesArray into any valid collection.
TConvertClonesArrayToProxy(TVirtualCollectionProxy *proxy, Bool_t isPointer, Bool_t isPrealloc)
Constructor.
void operator()(TBuffer &b, void *pmember, Int_t size=0) override
Read a TClonesArray from the TBuffer b and load it into a (stl) collection.
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.
TConvertMapToProxy(TClassStreamer *streamer, Bool_t isPointer, Bool_t isPrealloc)
Constructor.