ATLAS Offline Software
Loading...
Searching...
No Matches
RootKeyIOHandler.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//====================================================================
6//
7// Package : RootStorageSvc (The POOL project)
8//
9// Author : M.Frank
10//====================================================================
11#ifndef POOL_ROOTSTORAGESVC_ROOTKEYIOHANDLER_H
12#define POOL_ROOTSTORAGESVC_ROOTKEYIOHANDLER_H 1
13
14// Forward declarations
15class TClass;
16class TKey;
17
18namespace pool {
19
28 public:
32 virtual ~RootKeyIOHandler() {}
34 virtual void release();
35
37
46 virtual int write(TClass* cl, const char* knam, const void* obj, int opt, int siz=0) const;
47
49
59 virtual int write(TClass* cl, const char* knam, const char* title, const void* obj, int opt, int siz=0) const;
60
62
68 virtual int read(TKey* key, void** obj) const;
69
71
77 virtual int read(const char* knam, void** obj) const;
78
80
85 virtual int destroy(const char* knam) const;
86 };
87}
88#endif // POOL_ROOTSTORAGESVC_ROOTKEYIOHANDLER_H
virtual int read(TKey *key, void **obj) const
Read object with key.
virtual int read(const char *knam, void **obj) const
Read object with key.
virtual ~RootKeyIOHandler()
Standard Destructor.
virtual void release()
Release object.
RootKeyIOHandler()
Initializing constructor.
virtual int write(TClass *cl, const char *knam, const void *obj, int opt, int siz=0) const
Write object by key: Specification of the object class can considerably speed-up.
virtual int destroy(const char *knam) const
Destroy object with key.
virtual int write(TClass *cl, const char *knam, const char *title, const void *obj, int opt, int siz=0) const
Write object by key: Specification of the object class can considerably speed-up.
pool namespace
Definition libname.h:15