Belle II Software
release-05-01-25
HtmlClassInspector.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Christian Pulvermacher *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <TString.h>
14
#include <TMemberInspector.h>
15
16
namespace
Belle2
{
22
class
HtmlClassInspector :
public
TMemberInspector {
23
public
:
25
static
TString
getClassInfo
(
const
TClass* obj);
27
static
TString
getMemberData
(
const
TObject* obj);
28
30
void
Inspect
(TClass* cl,
const
char
* pname,
const
char
* mname,
const
void
* add)
override
;
31
32
private
:
34
HtmlClassInspector
() { }
35
37
TString
getTable
()
const
;
38
40
static
TString
stripTitle
(TString title);
41
42
TString
m_info
;
43
};
45
}
Belle2::HtmlClassInspector::stripTitle
static TString stripTitle(TString title)
strip comment things
Definition:
HtmlClassInspector.cc:47
Belle2::HtmlClassInspector::HtmlClassInspector
HtmlClassInspector()
Constructor.
Definition:
HtmlClassInspector.h:42
Belle2::HtmlClassInspector::getMemberData
static TString getMemberData(const TObject *obj)
Return table with member data contents.
Definition:
HtmlClassInspector.cc:27
Belle2::HtmlClassInspector::m_info
TString m_info
used to store output.
Definition:
HtmlClassInspector.h:50
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::HtmlClassInspector::Inspect
void Inspect(TClass *cl, const char *pname, const char *mname, const void *add) override
Implementation mostly copied from TDumpMembers.
Definition:
HtmlClassInspector.cc:65
Belle2::HtmlClassInspector::getTable
TString getTable() const
Return finished table.
Definition:
HtmlClassInspector.cc:57
Belle2::HtmlClassInspector::getClassInfo
static TString getClassInfo(const TClass *obj)
Get class name + description from comment after ClassDef().
Definition:
HtmlClassInspector.cc:34
display
include
HtmlClassInspector.h
Generated on Fri Nov 5 2021 03:50:27 for Belle II Software by
1.8.17