ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions | List of all members
TCollectionProxyFactory Class Reference

TCollectionProxyFactory Interface to collection proxy and streamer generator.

Proxy around an arbitrary container, which implements basic functionality and iteration. The purpose of this implementation is to shield any generated dictionary implementation from the underlying streamer/proxy implementation and only expose the creation functions.

In particular this is used to implement splitting and abstract element access of any container. Access to compiled code is necessary to implement the abstract iteration sequence and functionality like size(), clear(), resize(). resize() may be a void operation.

Author
M.Frank
Version
1.0

Definition at line 79 of file TCollectionProxyFactory.h.

Public Types

typedef TVirtualCollectionProxy Proxy_t
 
typedef const std::type_info & Info_t
 

Static Public Member Functions

static TVirtualCollectionProxyGenEmulatedProxy (const char *class_name, Bool_t silent)
 Generate emulated collection proxy for a given class. More...
 
static TClassStreamerGenEmulatedClassStreamer (const char *class_name, Bool_t silent)
 Generate emulated class streamer for a given collection class. More...
 
static TMemberStreamerGenEmulatedMemberStreamer (const char *class_name, Bool_t silent)
 Generate emulated member streamer for a given collection class. More...
 
static Proxy_tGenExplicitProxy (const ::ROOT::TCollectionProxyInfo &info, TClass *cl)
 Generate proxy from static functions. More...
 
template<class T >
static Proxy_tGenProxy (const T &arg, TClass *cl)
 Generate proxy from template. More...
 
static TGenCollectionStreamerGenExplicitStreamer (const ::ROOT::TCollectionProxyInfo &info, TClass *cl)
 Generate streamer from static functions. More...
 
static TClassStreamerGenExplicitClassStreamer (const ::ROOT::TCollectionProxyInfo &info, TClass *cl)
 Generate class streamer from static functions. More...
 
template<class T >
static TClassStreamerGenClassStreamer (const T &arg, TClass *cl)
 Generate class streamer from template. More...
 
static TMemberStreamerGenExplicitMemberStreamer (const ::ROOT::TCollectionProxyInfo &info, TClass *cl)
 Generate member streamer from static functions. More...
 
template<class T >
static TMemberStreamerGenMemberStreamer (const T &arg, TClass *cl)
 Generate member streamer from template. More...
 

#include <TCollectionProxyFactory.h>

Member Typedef Documentation

typedef const std::type_info& TCollectionProxyFactory::Info_t

Definition at line 86 of file TCollectionProxyFactory.h.

Definition at line 82 of file TCollectionProxyFactory.h.

Member Function Documentation

template<class T >
static TClassStreamer* TCollectionProxyFactory::GenClassStreamer ( const T arg,
TClass cl 
)
inlinestatic

Generate class streamer from template.

Definition at line 116 of file TCollectionProxyFactory.h.

TClassStreamer * TCollectionProxyFactory::GenEmulatedClassStreamer ( const char *  class_name,
Bool_t  silent 
)
static

Generate emulated class streamer for a given collection class.

Definition at line 71 of file TCollectionProxyFactory.cxx.

Referenced by TStreamerInfo::GenEmulatedClassStreamer().

TMemberStreamer * TCollectionProxyFactory::GenEmulatedMemberStreamer ( const char *  class_name,
Bool_t  silent 
)
static

Generate emulated member streamer for a given collection class.

Definition at line 81 of file TCollectionProxyFactory.cxx.

TVirtualCollectionProxy * TCollectionProxyFactory::GenEmulatedProxy ( const char *  class_name,
Bool_t  silent 
)
static

Generate emulated collection proxy for a given class.

Definition at line 63 of file TCollectionProxyFactory.cxx.

Referenced by TStreamerInfo::GenEmulatedProxy().

TClassStreamer * TCollectionProxyFactory::GenExplicitClassStreamer ( const ::ROOT::TCollectionProxyInfo info,
TClass cl 
)
static

Generate class streamer from static functions.

Definition at line 105 of file TCollectionProxyFactory.cxx.

Referenced by GenClassStreamer(), and TStreamerInfo::GenExplicitClassStreamer().

TMemberStreamer * TCollectionProxyFactory::GenExplicitMemberStreamer ( const ::ROOT::TCollectionProxyInfo info,
TClass cl 
)
static

Generate member streamer from static functions.

Definition at line 114 of file TCollectionProxyFactory.cxx.

Referenced by GenMemberStreamer().

TCollectionProxyFactory::Proxy_t * TCollectionProxyFactory::GenExplicitProxy ( const ::ROOT::TCollectionProxyInfo info,
TClass cl 
)
static

Generate proxy from static functions.

Definition at line 90 of file TCollectionProxyFactory.cxx.

Referenced by TStreamerInfo::GenExplicitProxy(), and GenProxy().

TGenCollectionStreamer * TCollectionProxyFactory::GenExplicitStreamer ( const ::ROOT::TCollectionProxyInfo info,
TClass cl 
)
static

Generate streamer from static functions.

Definition at line 97 of file TCollectionProxyFactory.cxx.

Referenced by GenExplicitClassStreamer(), and GenExplicitMemberStreamer().

template<class T >
static TMemberStreamer* TCollectionProxyFactory::GenMemberStreamer ( const T arg,
TClass cl 
)
inlinestatic

Generate member streamer from template.

Definition at line 125 of file TCollectionProxyFactory.h.

template<class T >
static Proxy_t* TCollectionProxyFactory::GenProxy ( const T arg,
TClass cl 
)
inlinestatic

Generate proxy from template.

Definition at line 103 of file TCollectionProxyFactory.h.


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