8#ifndef D3PDMAKERREADER_ROOTREADERD3PDBASE_H
9#define D3PDMAKERREADER_ROOTREADERD3PDBASE_H
45 virtual StatusCode
addVariable(
const std::string& name,
46 const std::type_info& ti,
48 const std::string& docstring =
"",
49 const void* defval = 0 );
52 const std::type_info& ti,
54 const std::string& dim,
55 const std::string& docstring =
"",
56 const void* defval = 0 );
59 virtual StatusCode
addMetadata(
const std::string& key,
61 const std::type_info& ti );
66 virtual StatusCode
clear();
78 virtual const std::string&
prefix()
const;
82 void addSTLHeader( std::ostream& out,
const char* name )
const;
unsigned int Dim_t
Currently unimplemented — see design note.
Common interface for the code generator D3PD classes.
virtual StatusCode redim(const Dim_t *ptr)
Function currently not used by the D3PDMaker code.
virtual StatusCode addDimensionedVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &dim, const std::string &docstring="", const void *defval=0)
Function currently not used by the D3PDMaker code.
virtual bool isContainer() const
Get the "isCollection" parameter of the object.
virtual StatusCode addMetadata(const std::string &key, const void *obj, const std::type_info &ti)
Function adding metadata to the D3PD. Not implemented here!
void addSTLHeader(std::ostream &out, const char *name) const
Function adding STL include statements to the header when needed.
virtual void setPrefix(const std::string &prefix)
Set the common prefix of the variables.
virtual const std::string & prefix() const
Get the common prefix of the variables.
virtual StatusCode clear()
Function clearing the D3PD variables. Not implemented here!
RootReaderD3PDBase()
Quite empty constructor.
virtual void setIsContainer(bool isContainer)
Set the "isCollection" parameter of the object.
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Main function for adding a variable to the D3PD.
virtual StatusCode capture()
Function capturing the current value of the D3PD variables. Not implemented here!
ObjectMetadata m_metadata
Object holding the information about the variables.
Block filler tool for noisy FEB information.