ATLAS Offline Software
Loading...
Searching...
No Matches
RootObjectMetadata.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: RootObjectMetadata.h 530460 2012-12-13 18:27:24Z krasznaa $
8#ifndef D3PDMAKERREADER_ROOTOBJECTMETADATA_H
9#define D3PDMAKERREADER_ROOTOBJECTMETADATA_H
10
11
12
13// D3PD include(s):
15// STL include(s):
16#include <string>
17
18namespace D3PD {
19
34
35 public:
40
43
45 StatusCode addVariable( const std::string& name,
46 const std::string& type,
47 const std::string& docstring );
48
50 StatusCode checkPrefixes();
51
53 static bool isObjectMetadata( const std::string& name );
54
55 private:
56 // Avoid coverity warning.
58
59 }; // class RootObjectMetadata
60
61} // namespace D3PD
62
63#endif // D3PDMAKERREADER_ROOTOBJECTMETADATA_H
const std::string & name() const
Get the name of the D3PDObject that this object describes.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
This function can be used to save the metadata about a D3PD variable.
ObjectMetadata()
Default constructor.
StatusCode addVariable(const std::string &name, const std::string &type, const std::string &docstring)
Function adding a variable, when the exact type_info is not available.
static bool isObjectMetadata(const std::string &name)
Function guessing if an object with a given name is object metadata.
StatusCode checkPrefixes()
Remove possibly overlooked prefixes in the variable names.
RootObjectMetadata & operator=(const RootObjectMetadata &)
RootObjectMetadata()
Default constructor.
Block filler tool for noisy FEB information.