ATLAS Offline Software
Loading...
Searching...
No Matches
RootKeyIOHandler.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ROOTSTORAGESVC_ROOTKEYIOHANDLER_H
5#define ROOTSTORAGESVC_ROOTKEYIOHANDLER_H 1
6
7// Forward declarations
8class TClass;
9class TKey;
10
17 public:
21 virtual ~RootKeyIOHandler() {}
23 virtual void release();
24
26
35 virtual int write(TClass* cl, const char* knam, const void* obj, int opt, int siz=0) const;
36
38
48 virtual int write(TClass* cl, const char* knam, const char* title, const void* obj, int opt, int siz=0) const;
49
51
57 virtual int read(TKey* key, void** obj) const;
58
60
66 virtual int read(const char* knam, void** obj) const;
67
69
74 virtual int destroy(const char* knam) const;
75};
76
77#endif
virtual int destroy(const char *knam) const
Destroy object with key.
virtual int read(const char *knam, void **obj) const
Read object with key.
RootKeyIOHandler()
Initializing constructor.
virtual int read(TKey *key, void **obj) const
Read object with key.
virtual ~RootKeyIOHandler()
Standard Destructor.
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.
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 void release()
Release object.